Programming & Object Structures (C++) – April 2014

Part – A

    1. Mention the data types and their sizes in C++.
    2. Define function and its prototype
    3. Define pointer and its usage / importance.
    4. Define as array and structure with their syntax.
    5. Define constructor and destructor with their respective syntax.
    6. Write the importance of throw and catch statements in C++.
    7. Define abstraction and encapsulation.
    8. Differentiate between function template and class template.
    9. Mention the all applications of stack.
    10. Mention the tree travelling techniques.

Part – B

Unit -I

    1. Explain all the control statements in C++ with their respective syntax.
    2. Explain in detail about structure of a C++ program.
    1. Write a C++ program to find a given number is palindrome or not
    2. Write a C++ program by using 4 arithmetic operators.

Unit -II

    1. Write a C++ program to implement matrix addition by using with functions.
    2. Differentiate between arrays and structures.
  1. Write a C++ program to implement the factorial of a given number using recursion.

Unit -III

    1. Define inheritance. And explain its all types with appropriate syntax.
    2. Write notes on exception handling.
  1. Define polymorphism. And explain in detail about its types with program examples.

Unit -IV

  1. Write short notes on the following:
    1. Modularity
    2. Concurrency
    3. Templates
    1. Write a C++ program an abstract class.
    2. Write notes on multiple inheritance.

Unit -V

  1. Construct a binary search tree with following keys (35, 15, 65, 55, 75, 25, 5, 10, 3).
    1. Write notes on representation of graph.
    2. Write a C++to create a queue using lists.

Attention : This exam questions are converted from the real exam paper to a digital text format by using an OCR Software that may made some mistakes, I reviewed it many times to correct it, But may still there some errors that I missed or misspelled, So if you detect an error or mistake PLEASE report by adding a comment or contact me.