CPP Imp QP
CPP Imp QP
Sc (Computer Science)
Paper : PROGRAMMING IN C++
SHORT ANSWER QUESTIONS:
Unit - I:
Unit - II:
Unit - I:
Unit - II:
11. Define a Class & Object. Explain how an object is created with suitable
example.
12. What is a Constructor? Explain different types of constructors with
examples.
13. Explain the usage of Array of objects.
14. What is Function Overloading? Explain it with suitable program.
15. What is Constructor Overloading? Explain how to implement it with a
suitable program.
16. Explain the purpose of Friend function & class with suitable example.
17. Explain the importance of Inline functions with example program.
18. Write a program to show the usage of Static data members and
functions.
19. What is an Operator overloading? Write a program to overload an
unary operator (unary minus
or ++ or --).
20. What is an Operator overloading? Write a program to overload an
Binary operator (Arithmetic
Operator or Relational Operator).
21. Write a program to overload Binary operator using Friend function.
Unit - III:
Unit - IV:
9. (a) What is searching? Explain the concept of binary search with an example
program.
12. (a) Write about object oriented exception handling with classes.