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

Part – A

    1. What are the different data types in C++ programming language?
    2. Write the structure’s, syntax and definition with example.
    3. Define the Encapsulation and give example of Encapsulation programming language.
    4. Explain the rules of constructer with syntax.
    5. Define the Queue and stack with example
    6. Write the different types of operators.
    7. Define the Function and write its syntax.
    8. Define the Inheritance and write the syntax of Multiple Inheritance.
    9. Define the object and glass with syntax.
    10. Define the Binary tree with suitable example.

Part – B

Unit -I

    1. Explain the control statements with syntax and examples.
    2. Write a C++ program to reverse the number.
    1. Write a C++ program to demonstrate the given number is odd (or) even.
    2. Write a C++ program to demonstrate inline function concept.

Unit -II

    1. Write a C++ program to demonstrate reading and writing of file.
    2. Explain the 5-pre defined file functions in C++ programming language.
    1. Explain the function concept with example program (includes, declaration, definition and fraction call)
    2. Write a C++ recursion program for factorial.

Unit -III

    1. Explain class — instance variable of class with suitable example program.
    2. Explain the copy constructor with example program.
  1. Explain the exception handling Key words with examples.

Unit -IV

  1. Discuss in detail about Inheritance with example programs.
  2. Explain the templates with example programs.

Unit -V

  1. What is Hashing? What are the Hash functions, explain with examples.
  2. What is Graph? Explain the methods of. Graphs representation with suitable examples.

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.