How To Exam?

a knowledge trading engine...


Mangalore University 2007 B.C.A Computer Application Object oriented programming C++ - Question Paper

Saturday, 26 January 2013 12:15Web

MODEL ques. PAPER
Credit Based 3rd Semester B.C.A Degree exam
October/November
(New Syllabus)
Object oriented programming C++
BCA 304
Part A: ans any 10 ques.

1)
a) What are the various ways of writing comment lines in C++?
b) What are manipulators? provide 2 examples?
c) What are symbols needed to specify insertion and extraction operators?
d) What are inline functions? Mention any 2 advantages?
e) What is enumerated data type? provide an example?
f) Differentiate ranging from break and continue?
g) What are default arguments? Explain?
h) describe the subsequent
A) Polymorphism
B) Data hiding
i). State actual or false
A) Multiple initialization is possible in a for loop
B) Multiple inheritances has 2 derived class and 1 base class
j). describe a class? Mention its members?
k). List out the operators that cannot be overloaded?
l). What is operator overloading? How many arguments are needed in the definition of
an overloaded unary operator?

Part B:

Unit 1

2)
a) Mention the various kinds of kind conversions? discuss every (5 marks)
b) List out various kinds of operators in C++? discuss any 2 (5 marks)
c) What is pre processor directive? discuss its usage in C++ (5 marks)
Or
a) Differentiate with syntax and example nested if and switch (5 marks)
b) discuss the characteristics of object oriented programming? (5 marks)
c). discuss various kinds of variables used in C++ with an example? (5 marks)

Unit 2

3.
a). discuss any 2 looping statement with example? (6 marks)
b) Write a C++ program to reverse the number and obtain the sum of digits (5 marks)
c). What is function overloading? discuss with examples (4 marks)
Or
4
a). discuss storage classes supported by C++ (5 marks)
b) Program to check whether a number is Prime or not? (5 marks)
c). discuss nested structure with example? (5 marks)

Unit 3

5.
a) elaborate the characteristics of constructors (5 marks)
b) How do we create class and objects discuss with example (5 marks)
c) describe array. How do you pass array to function? discuss with example (5 marks)


Or
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). discuss how you can access multi word string and multiline string through keyboard?
(5 marks)
c) With proper example discuss how you can pass and return an object to/from a function?
(5 marks)

Unit 4

6
a) With proper example discuss how you can overload binary arithmetic operators?
(5 marks)
b) elaborate the various kinds of inheritance? discuss multilevel inheritance? (5 marks)
c) What is an abstract base class discuss with example (5 marks)
Or
a). discuss with code example, the concept of conversion ranging from basic kind to object type? (5 marks)
b) discuss the subsequent access specifiers?
i) Private
ii) Public
iii) Protected (6 marks)
c) discuss the concept of containership with example (4 marks)



( 0 Votes )

Add comment


Security code
Refresh

Earning:   Approval pending.
You are here: PAPER Mangalore University 2007 B.C.A Computer Application Object oriented programming C++ - Question Paper