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

Part – A

    1. List out the different operators in CPP.
    2. Define an array and write its syntax.
    3. Define Pointer and write its syntax.
    4. Write the syntax of structure and union.
    5. Define constructor and write rule of constructor.
    6. Write the syntax of try, throw statements.
    7. Define polymorphism and modularity.
    8. What is Persistence and encapsulation?
    9. Write applications of Queue?
    10. Define Binary tree.

Part – B

Unit -I

    1. Write the differences between while-loop and do-while loop.
    2. Write a Cpp program to find a given number is prime or Not.
    1. Explain all the data types in Cpp.
    2. Write a Cpp program to implement Fibonacci series.

Unit -II

    1. Write a Cpp program to implement matrix substruction using with functions.
    2. Explain the constructor with program example.
  1. Write a Cpp program to implement factorial of a given number using Recursive.

Unit -III

    1. Define polymorphism. Describe its types.
    2. Write an example program for Hybrid Inheritance.
  1. Define Multiple Inheritance? And write a suitable example program to Implement it.

Unit -IV

  1. Define Template. And write an example program for function template.
  2. Describe in detail about standard object Libraries.

Unit -V

  1. Write a Cpp program for implement a Queue using an array.
  2. Write a Cpp program for implementing bubble sort.

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.