Nalanda Open University 2010 M.C.A Computer Aplications Master of Computer Application Part–I, –I (Problem Solving & Programming) Annual , - Question Paper
Master of Computer Application Part–I, Paper–I (Problem Solving & Programming)
Annual Examination, 2010
IN ALAIN DA OPEN UNIVERSITY Master of Computer Application Part-I, Paper-1 (Problem Solving & Programming)
Annual Examination, 2010
Full Marks : 80 Time : 3 Hours.
Answer any Five Questions.
Ali questions carry equal marks.
1. Draw flowchart anti write a program in C to find the largest element in a 3 x 3 matrix.
2. What do vou understand bv function prototype'? Write a program in 'C to calculate the cube of a given integer using the function prototype.
3. Write down an algorithm ami write a program in C to sort a given list of numbers bv bubble sort.
4. What are the various storage classes in 'C' ? Give examples of each. Also explain the requirement of linking a compiled file.
5. Differentiate between a structure and a union. Give the syntax of both. Illustrate each with the help of an example.
6. Write a program to create a file of records, read the records and Print the same.
7. Draw a flowchart and write a program using C to convert a decimal number to its hexadecimal equivalent.
8. What are the precautions that must bo taken care of to use macros in C ? Design a macro to find the product of n numbers .
9. Draw a corresponding flowchart and write a program in C to print the output in the following format:
1 12 12 3 12 3 4 12 3 4 5 12 3 4 5 6
10. What do vou understand bv a decision control statement? Give an example in the form of a program in C to illustrate the use of 'if-then-else' and 'switch-ca.se' in a menu-driven program.
* * *
Attachment: |
Earning: Approval pending. |