Anna University Computer Programming Model Test Paper

Anna University Computer Programming Model Test Paper

FIFTH SEMESTER- COMPUTER PROGRAMMING

PLOYMER TECONOLOGY

 

Time: 3 Hours                                                                                          Max. Marks: 100

Answer all the Questions                                                                          Part A  (10 x 2 = 20 marks)

1.Evaluate the expression 2+3*3-7+10-5/4+3 Using operator precedence.

2.What are the storage classes available in c language?

3.Compare while and Do – While loop with examples?

4.Compare break, continue, and goto statement?

5.What is pointer? Explain with example?

6.What is class and object?

7.List out any four advantages using DBMS?

8.What is SQL? Explain its uses?

9.List out any four applications of computer graphics?

10.What is mean by coordinate system?

 

Part B (16 x 5 = 80 marks)

11. Explain various control structures in c language with syntax and examples?           (16)

 

12.a) Explain the characteristics of Object Oriented Programming?                                  (16)

OR

12.b)i)  Explain friend functions with examples?                                                                   (4)

ii)  Explain Virtual Functions with examples?                                                                 (5)

iii)  What is function overloading and over riding? Give examples.                                 (7)

 

13.a) What are the various types of inheritance that are possible in C++ language? Give examples.                                                                                                                    (16)

OR

13.b) What is mean by templates? Give examples? What are the advantages of using templates? Compare function overloading with function templates?                                   (16)

 

14.a)Explain Normalized tables with suitable examples.                                                   (16)

OR

14.b)i)  Explain various components of DBMS.                                                                    (10)

ii)  What is JOINS in DBMS? Give examples? What are the advantages using JOINS?

(6)

15.a)i)  Explain the following terms in 2D transformation with matrix representation.        (10)

(a)Translations                 (b)Rotations.

 

ii)  Explain curve fitting                                                                                                   (6)

OR

15.b)    Explain Beziar UNISURF surface batches with examples.                                      (16)

 

—–

Leave a Comment