TAB

One of the works done by our Robotics and Machine Learning division,
SELF-LEVELING QUADCOPTER
Arduino based Quadcopter.
Self-leveling is acheived by the aligning the quadcopter using the readings from the gryo as well as the accelerometer.
A four channel RC transmitter is used to control the movement of the quadcopter when in flight. Kindly subscribe to our YouTube Channel and stay tuned.

Thursday 14 April 2016

PRACTICE PROBLEM 6

I realize you will have problems given that you do not have the code now on.I would like to encourage all of you to try code the solution on your own.

PLEASE LEAVE THE PROBLEMS THAT YOU FACE IN THE COMMENTS. I WILL TRY TO HELP YOU OUT.


1.MATRIX:
->user defined exception class called mismatchDimension which contains a function "error_Msg()" to print the error message
->define get function to take the inputs(i.e. row,col,element array)
->define check_Sparse to count the number of zeroes in the matrix and return value accordingly.
->define add function that adds content of two matrices,provided their dimensions are similar.
2.AC_BINARY TREE
->define leftChild and rightChild functions to return the 2*i+1 th and 2*i +2th elements.
->define isFull and is Empty to check for the corresponding conditions no_Of_Ele==capacity and no_Of_Ele==0
3.STUDENT GRADING
->It is to be solved using userdefined exception classes (negException and moreException)
->compute average and allot grade using else if ladder.
->call all the functions in the try block and catch the objects to display the corresponding exception.
4.COUNT
->It is to be solved using userdefined exception classes (negException and moreException)
->compute average and allot grade using else if ladder.
->call all the functions in the try block and catch the objects to display the corresponding exception.
5.GENERIC BOX
->It is to be solved using userdefined exception classes (negException and moreException)
->compute average and allot grade using else if ladder.
->call all the functions in the try block and catch the objects to display the corresponding exception.

IMPORTANT NOTICE

There will be a drastic change in the type of posts on this blog from now onwards.
I will only be giving explanation of the questions and the procedure to tackle the problem.