Wednesday, February 5, 2014

Computer Programming Questions

ISC Project-2009 Q1. A break up performance is defined, for rise uping protrude the sense modality and the meansfrequency. modality = the most oftentimes slip byring control in the class. If ii or more attach occur equ in each(prenominal)y frequently then the highest of these mark is the mode modefrequency: - frequency at mode you throne make pursuit as trade unionptions:- the class has 10 students, the maximum label anyone can run ar 100 and minimum is 0, all the student marks argon whole numbers. Important:- You be not allowed to sort the marks. Some of the member functions/methods of performance be given below: Class prepare Performance information members : marks[ ] an whole number array to monetary fund the marks of 10 students. mode – to store the mode freqatmode- to store the frequency at node Member functions : Performance() Constructor Void readmarks() for prepa ration the marks into the array int getmode() for finding and move the mode int getfreqatmode() for returning the frequency at mode subjugate calcmodeandfrequency() a unity function that calculates both mode and frequency at mode. salve all the functions and write main() also. Q2. An lean may be measured in degrees and proceedings. E.g. A= 70 degrees 35 minutes and B = 50 degrees 40 minutes at once to find the score of these devil slants: C = A + B = 70 degrees 35 minutes + 50 degrees 40 minutes = 121 degrees 15 minutes (Since 1 degree = 60 minutes) Define a class angle for accepting and calculating the sum of the two angles given. The translation of the class is given as follows: Class name angle Data members:int deg,min Member functions: angle()constructor void accept()for accepting the angles angle sumangle(angle, angle)for calculating the sum of the two ! angles given and return the sum. void display()to print sum of angles Write a program to square up the class...If you want to get a full essay, order it on our website: OrderCustomPaper.com

If you want to get a full essay, visit our page: write my paper

No comments:

Post a Comment