Programming & Object Structures (C++) – May 2011

Part – A

    1. Define the pointer and list the uses of pointer.
    2. What is difference between structures union ?
    3. Define the abstraction and encapsulation.
    4. What is difference between function overloading and virtual functions
    5. Write the rules for friend function.
    6. Write the 5-pre defined string functions.
    7. Write the syntax of default catch statement.
    8. List the at least five predefined file functions.
    9. What is difference between single linked list and double linked list ?
    10. 1Define the circular queue with example. .

Part – B

Unit -I

    1. Explain the different data types in C++ with their syntax and example.
    2. Explain the different types of operators in C++.
    1. Write a C++ program to demonstrate the call by value and call by reference.
    2. Write a C++ program of given number is polyindrum (or) not.

Unit -II

    1. Explain the scope of variable with example program.
    2. Explain the structure and union with example.
  1. What is File ? Why files are used to store the data ? Write a C++ program to read and write the data from files.

Unit -III

    1. Write a C++ program to generate the telephone bill.
    2. What is function overloading ? Write a C++ program to demonstrate the function overloading.
    1. Explain the try – catch with suitable C++ program.
    2. What is operator overloading ? Write a C++ program of matrix addition using operator overloading concept.

Unit -IV

  1. Explain the inheritance and how constructors can work in the multilevel inheritance give example program.
  2. What is polymorphism ? What are the different types ? Write C++ program of. virtual functions.

Unit -V

  1. What is binary tree ? Explain the binary tree construction with suitable example.
  2. Write a binary search tree algorithm and explain the operations of stacks and queue.

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.