23-01-2013, 03:43 PM
3rd Terminal Examination (1st Semester BTech (CSE, Mechanical) Section-C, IGIT, Sarang
3rd Terminal Examination.docx (Size: 17.77 KB / Downloads: 45)
Q1. There are three boxes. One is labeled "APPLES" another is labeled "ORANGES". The last one is
labeled "APPLES AND ORANGES". You know that each is labeled incorrectly. You may ask me to pick one fruit from one box which you choose. How can you label the boxes correctly?
Q2. Write a function subprogram to return factorials of two positive integers simultaneously called by a main function.
Q3. Write a complete program to find the reverse of a positive integer by writing a recursive function.
Q4. Design a structure for storing the personal information of your friends by considering the fields as name, roll number, mobile number, hostel, room number, semester and branch. Take field length and type of your choice. Write a complete program only to read this structure for 30 friends of your class and print those records.
Q5. Write a program to print the addition of two matrices of floating point values by calling a function subprogram of two matrices as parameters.