Question Paper of Principals of Computer Programming And Problem Solving 2007 of MCA First Semester of Annamalai University

M.C.A. DEGREE EXAMINATION, 2007
( SECOND SEMESTER )
( PAPER - VIII )

210. PRINCIPLES OF COMPUTER PROGRAMMING AND PROBLEM SOLVING

May

Time : 3 Hours
Maximum : 100 Marks

Answer any FIVE questions.
All questions carry equal marks. (5 × 20 = 100)

1. (a) Explain the different steps in problem solving , using computers. (10)

(b) What is algorithm ? Explain with suitable example. (10)

2. (a) Explain how efficiency of an algorithm is measured. (10)

(b) Write a brief note on the data types available in PASCAL. (10)

3. (a) Write a brief note on the I/O statements available in PASCAL.(10)

(b) Write a program in Pascal to find the sum of all numbers between 1 and n using REPEAT... UNTIL loop structure.(10)

4. What are procedures in PASCAL ? How does it differ from function ? State the rules for defining and calling a procedure. (20)

5. (a) What is recursion ? Write a PASCAL program to compute the factorial of a number using recursion. (10)

(b) Write a brief note on top down program design. (10)

6. Write a PASCAL program, using files to define a record and store employee particulars and prepare the pay - roll. Assume suitable fields and conditions for preparing pay - roll. (20)

7. (a) Write a brief note on documentation.(10)

(b) Explain maintenance and programming support environment. (10)

8. (a) Discuss about exception handling. (10)

(b) What are the systematic guidelines for program ? Explain in detail. (10)

Post a Comment

Previous Post Next Post