How To Exam?

a knowledge trading engine...


Annamalai University 2008-2nd Year B.Sc Computer Science " 631 OBJECT ORIENTED PROGRAMMING USING C++ " (PART – III — -IX 6608 - Question Paper

Monday, 11 March 2013 11:05Web


-2-

-2-

 

                  7.          Write a C++ program to sort n numbers using function templates.

                   8.         Explain class templates.

                   9.         Write a C++ program to modify any element from the single linked list.

               10.         Discuss elementary linked list function.

 

(3 20 = 60)

 
 


SECTION B

Answer any THREE Questions.

All questions carry equal marks.

 

              11.          Explain the basic control structures.

              12.          Explain operator overloading using a friend function with a sample C++ programme.

              13.          Discuss about inheritance. Write a C++ program to implement banking information system using multilevel inheritance.

              14.          What do you mean by macros? Differentiate macros from templates.

              15.          Explain stack and its implementation with a sample programme.

 

~~~~~~~~~~~

 

 

Register Number: 6608

 

Name of the Candidate:

 

B.Sc. DEGREE EXAMINATION - 2008

(computer science)
second year

(PART III Paper-IX)

631. OBJECT ORIENTED PROGRAMMING USING C++
(
Elective New Regulation)

Dec.) (Time: 3 Hours

Maximum: 100 Marks

(8 5 = 40)

 
 


SECTION A

Answer any EIGHT Questions.

All questions carry equal marks.

 

                  1.          Why do we need scope resolution operator? Explain with simple program.

                  2.          Explain the types of operators in C++.

                  3.          Why do we need inline function? Write a C++ program to print the square of the numbers from 1 to 10 using inline.

                  4.          Explain array of objects with example program.

                  5.          Explain pointers to base and derived classes.

                  6.          Explain command-line arguments with simple C++ program.


( 0 Votes )

Add comment


Security code
Refresh

Earning:   Approval pending.
You are here: PAPER Annamalai University 2008-2nd Year B.Sc Computer Science " 631 OBJECT ORIENTED PROGRAMMING USING C++ " (PART – III — -IX 6608 - Question Paper