Programming in C++

Take This Test

Section A

Marks: 2 Each

1) Define briefly Object Oriented Programming.
2) Define briefly Polymorphism.
3) Define briefly Library Routines.
4) Define briefly Visibilty Modifiers.
5) Define briefly Recursion.
6) Define Pointer.
7) Define Nested Class.
8) Define Inline functions.
9) Define Stream classes.
10) Define Destructor

Section B

Marks : 1 Each
1) The preprocessor directive always ends with ___________ character.
2) A void function does not have :
3) The main() function is always :
4) Which is not a visibility modifier?
5) Precedence determines which operator :
6) One of the relational operator is :
7) The standard output stream, which refers to the computer screen is called:
8) C++ can be used as a procedural as well as object oriented language
9) Having more than one function with the same name is called :
10) An array name is a :
11) You invoke a function with function :
12) Recursive function :
13) a[7] will access the ___________ element in array.
14) Sorting data means arranging in ______________ order.
15) __________ variables remain in memory until the statement block ends.

Section C

Marks : 5 each
1) Briefly discuss procedural and OOP languages.
2) Explain the use of switch statement with an example.
3) Write a program to find the sum of series:
1 + (1/2) + (1/3) + (1/4) + ......... + (1/n)
4) What is a macro and how is it different from a preprocessor?
5) What is a header file? What is the purpose of using these files?
6) Explain recursion with example of fibonnacci series.
7) What is the difference between array of pointers and pointer to arrays? Explain.
8) What is meant by operator overloading? List the C++ operators that cannot be overloaded.
9) How constructors and destructors are inherited? Explain with example.
10) Write a program to implement matrix operations - addition, multiplication and transpose with classes.

Take This Test

Also check these Programming Languages test papers, these are one of most attempted test paper in this category.

Popular Programming Languages Papers

Object Oriented Programming
This is a simple test paper on Object Oriented Programming techniques. Try to be very precise in yo...
Design Pattern Definitions - 2
Identify design pattern and list their players and corresponding items (from diagram).
Design Pattern Definitions