Monday, November 30, 2015

Punjabi University OOPS Using C++ BCA 2008 Question Paper

Punjabi University Question Paper
Course: BCA
OBJECT ORIENTED PROGRAMMING (USING C++)
Time allowed: 3 Hours
Max. Marks: 90

Study Materials Description : 2008 Punjabi University B.C.A Computer Application Object Oriented Programming (Using C++) Question Paper 2008 of BCA 2nd Year of Punjab University Question paper

ATTEMPT FIVE QUESTIONS IN ALL, SELECTING TWO QUESTIONS EACH FROM SECTION - A AND SECTION – B SECTION C IS COMPULSORY.

SECTION - A

1. Differentiate between

(a) Procedural Analysis and Object oriented analysis.

(b) Data encapsulation and Data Inheritance. (9,9)

2.(a) What are pre-processor directives? Explain their use with the help of an example.

(b) Explain the structure of an object oriented C++ program.

(c) Explain the use of function main(). (7,7,4)

3. (a) Define a class "ACCOUNT". Include following members:

Data Members: Name of Depositor, Account No., Type of Account, Balance Amount.

Member Function: To assign initial values, deposit amount, with draw after checking balance, To display name and balance. Write main Program to test the program for 10 customers.

(b) What are array of objects ? Explain with example with detail. (12,6)

4.(a) Differentiate between Pass By Value and Pass By Reference.

(b) What are different types of function declarations? How will you declare a function outside the class?

(c) Explain copy constructor with the help of an example. (6, 6, 6)


SECTION – B

5. (a) What is function overloading? Write a program in c++ which has a Function add that is able to concatenate two strings, if values passed Are strings and can perform addition, if values are numbers.

(b) Explain inline functions and also create one. (12, 6)

6. (a) What are abstract classes? Explain their use.

(b) How can protected members of a class become inheritable?

(c) Explain the concept of nested classes. (6, 6, 6)

7. Differentiate between

(a) Private & Public Inheritance

(b) Stacks and Queues

(c) Multiple and multilevel inheritance

8. (a)What is linked list? What are its advantages and disadvantages ?

(b) Write a program to create a linked list and perform-

(i) Insertion – at the beginning, at the end and in between

(ii) Deletion – at given position

(iii)Display elements.

SECTION – C

9. (a) What is data hiding?

(b) Explain input and output streams.

(c) Explain scope resolution operator.

(d) What are destructors? Give example.

(e) What is operator overloading?

(f) Differentiate between single and multiple inheritances.

(g) What are base and derived classes?

(h) What are various methods to traverse a tree?

(i) Explain the concept of a class. (9*2=18)


Share This
Previous Post
Next Post

B.E Civil Engineer Graduated from Government College of Engineering Tirunelveli in the year 2016. She has developed this website for the welfare of students community not only for students under Anna University Chennai, but for all universities located in India. That's why her website is named as www.IndianUniversityQuestionPapers.com . If you don't find any study materials that you are looking for, you may intimate her through contact page of this website to know her so that it will be useful for providing them as early as possible. You can also share your own study materials and it can be published in this website after verification and reviewing. Thank you!

0 comments:

Pen down your valuable important comments below

Search Everything Here