Sei sulla pagina 1di 2

Bachelor of Computer Application (BCA) Semester 2 BC0037 Object Oriented Programming Using C++ 4 Credits (Book ID: B0681)

81) Assignment Set 1 (40 Marks)

Answer all questions: 08 x 05 = 40 1. Explain Object and class in OOP language.. And explain the key features of OOP.

For Complete Solved SMU Assignment @ 2000 Rs Email: mba8182@gmail.com Ph: 09873669404
2. Write a suitable program to show the example of nested if statement. 3. What is function overloading? Write a c++ program to implement a function overloaded. 4. Explain the scope and visibility of variables in c++ functions. 5. Discuss the constructors and Destructors with suitable example. 6. Write a program to demonstrate do while statement in c++.. 7. What do you mean by operator overloading? Illustrate with suitable example for overloading Unary operators. 8. Write a program to illustrate the implementation of inheritance with example your own.

Bachelor of Computer Application (BCA) Semester 2 BC0037 Object Oriented Programming Using C++ 4 Credits (Book ID: B0681) Assignment Set 2 (40 Marks)

Answer all questions: 08 x 05 = 40 1. Explain about polymorphism. Explain its significance.

For Complete Solved SMU Assignment @ 2000 Rs Email: mba8182@gmail.com Ph: 09873669404
2. What is an inheritance? Explain different types of inheritance. 3. Write a c++ program to implements the relational operator overloading for the distance class. 4. Create a class String which stores a string value. Overload ++ operator which converts the characters of the string to uppercase (toupper() library function of ctype.h can be used) 5. Write a note on Overloading of binary operators. 6. What is a virtual function? Explain it with an example. 7. Explain different access specifiers in a class. 8. Write a program in c++ to read a 3X2 matrix and find smallest number in that matrix.

Potrebbero piacerti anche