|
Download Model question papers & previous years 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 October/November (New Syllabus) Object oriented programming C++ BCA 304 Part A: Answer any 10 questions
1) 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 A) Polymorphism 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?
Part B:
Unit 1
2) 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) Or 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)
Unit 2
3. 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) Or 4 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)
Unit 3
5. 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)
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). Explain how you can access multi word string and multiline string through keyboard? (5 marks) c) With proper example explain how you can pass and return an object to/from a function? (5 marks)
Unit 4
6 a) With proper example explain how you can overload binary arithmetic operators? (5 marks) 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) Or a). Explain with code example, the concept of conversion between basic type to object type? (5 marks) b) Explain the following access specifiers? i) Private ii) Public iii) Protected (6 marks) c) Explain the concept of containership with example (4 marks)
Return to question paper search
|
|
|
|
|
|
|
|
Related Question Papers:
|
Categories
|
|
Submit Previous Years University 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.
|
|