Download Model question papers & previous years question papers
Submit Previous Years University Question Papers
Posted Date: 27 Dec 2007 Posted By:: ashish Member Level: Gold Points: 5 (Rs. 1)
2007 Mangalore University B.C.A Computer Application Object oriented programming C++ Question paper
MODEL QUESTION PAPER
Credit Based Third Semester B.C.A Degree Examination
Object oriented programming C++
Part A: Answer any 10 questions
a) What are the different ways of writing comment lines in C++?
b) What are manipulators? Give two examples?
c) What are symbols needed to specify insertion and extraction operators?
d) What are inline functions? Mention any two advantages?
e) What is enumerated data type? Give an example?
f) Differentiate between break and continue?
g) What are default arguments? Explain?
h) Define the following
B) Data hiding
i). State true or false
A) Multiple initialization is possible in a for loop
B) Multiple inheritances has two derived class and one base class
j). Define a class? Mention its members?
k). List out the operators that cannot be overloaded?
l). What is operator overloading? How many arguments are required in the definition of
an overloaded unary operator?
a) Mention the different types of type conversions? Explain each (5 marks)
b) List out different types of operators in C++? Explain any two (5 marks)
c) What is pre processor directive? Explain its usage in C++ (5 marks)
a) Differentiate with syntax and example nested if and switch (5 marks)
b) Explain the characteristics of object oriented programming? (5 marks)
c). Explain different types of variables used in C++ with an example? (5 marks)
a). Explain any two looping statement with example? (6 marks)
b) Write a C++ program to reverse the number and find the sum of digits (5 marks)
c). What is function overloading? Explain with examples (4 marks)
a). Explain storage classes supported by C++ (5 marks)
b) Program to check whether a number is Prime or not? (5 marks)
c). Explain nested structure with example? (5 marks)
a) what are the characteristics of constructors (5 marks)
b) How do we create class and objects explain with example (5 marks)
c) Define array. How do you pass array to function? Explain with example (5 marks)
a). Create a structure template to store the employee details such as name, employee no, basic pay. Create array of structures in main(). Store and display the details in neat format. (5 marks)
b). Explain how you can access multi word string and multiline string through keyboard?
c) With proper example explain how you can pass and return an object to/from a function?
a) With proper example explain how you can overload binary arithmetic operators?
b) What are the different types of inheritance? Explain multilevel inheritance? (5 marks)
c) What is an abstract base class explain with example (5 marks)
a). Explain with code example, the concept of conversion between basic type to object type? (5 marks)
b) Explain the following access specifiers?
iii) Protected (6 marks)
c) Explain the concept of containership with example (4 marks)
Return to question paper search
Related Question Papers:
and make money from adsense revenue sharing program
Are you preparing for a university examination? Download model question papers
and practise before you write the exam.