0% found this document useful (0 votes)
171 views2 pages

6014 Question Paper

1. The document is an exam for the subject "Object Oriented Concepts and Programming". It contains instructions and 4 questions assessing various concepts related to object-oriented programming in C++. 2. Question 1 has two parts - part A asks to define or describe short concepts and part B contains multiple choice questions. Question 2 asks short answer questions awarding 3 marks each. Question 3 asks longer answer questions awarding 5 marks each. Question 4 asks two longer answer questions with examples awarding 5 marks each. 3. The questions assess concepts related to data abstraction, inheritance, polymorphism, constructors, operator overloading, streams and file I/O in C++. Students are required to define terms

Uploaded by

rahulgupta32005
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
171 views2 pages

6014 Question Paper

1. The document is an exam for the subject "Object Oriented Concepts and Programming". It contains instructions and 4 questions assessing various concepts related to object-oriented programming in C++. 2. Question 1 has two parts - part A asks to define or describe short concepts and part B contains multiple choice questions. Question 2 asks short answer questions awarding 3 marks each. Question 3 asks longer answer questions awarding 5 marks each. Question 4 asks two longer answer questions with examples awarding 5 marks each. 3. The questions assess concepts related to data abstraction, inheritance, polymorphism, constructors, operator overloading, streams and file I/O in C++. Students are required to define terms

Uploaded by

rahulgupta32005
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Seat No:_______________ Enrollment No:_______________

PARUL UNIVERSITY
FACULTY OF IT & COMPUTER SCIENCE
BCA Winter 2023–24 Examination
Semester: 03 Date: 27/10/2023
Subject Code: 05101203 Time: 2hr:30min
Subject Name: Object Oriented Concepts and Programming Total Marks: 60
Instructions:
1. All questions are compulsory.
2. Figures to the right indicate full marks.
3. Make suitable assumptions wherever necessary.
4. Start new question on new page.

Q.1 Answer the followings. CO PO Bloom’s


Taxonomy
A. Answer / Define the following in short. (05)
1. Define Data Abstraction. 1 3 2
2. What is a friend class? 1 2 3
3. What is Scope Resolution Operator? 2 1 3
4. Briefly explain multi-level inheritance. 1 2 4
5. What is a stream? 1 1 3

B. Multiple choice type questions/ Give the sentence true or false. (10)
(Each of 01 marks)
1. OOPs follow ‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐ approach during program design. 1 1 3
[A] top down [B] bottom ‐up [C] both a & b [D] none of
these

2. ‐‐‐‐‐‐ is the smallest or the atomic elements of a language. 1 2 3


[A] Identifiers [B] Literals [C] Keywords [D] Tokens

3. Which of the following is not a valid relational operator? 1 1 2


[A] == [B] => [C] >= [D] >=

4. The same function name having different tasks 2 2 4


[A] Function overloading
[B] Constructor overloading
[C] Polymorphism
[D] Operator overloading

5. Which of the following is not a type of constructor? 2 1 2


[A] Copy constructor
[B] Friend constructor
[C] Default constructor
[D] Parameterized construct

6. The function that act as an interface to base & derived 2 2 4


class
[A] function overloading
[B] virtual function
[C] constructor
[D] friend Function

Page 1 of 2
7. Constructor is executed when _____. 1 1 3
[A] an object is created
[B] an object is used
[C] a class is declared
[D] an object goes out of scope.

8. The functions declared inside the class is known as ‐‐‐‐‐‐‐‐ 2 2 3


[A] Data members
[B] Library functions
[C] Member functions
[D] User defined functions

9. Which function is in the istream class 1 1 2


[A] get() [B] put() [C] write [D] cout

10. The function contain in the ios class to set flags. 2 2 3


[A] width() [B] precision() [C] fill() [D] setf()

Q.2 Answer the followings. (3 Marks Questions.) (Any Five) (15)


1. What are the operators available in C++? 2 1 3
2. What are the Stream manipulators? 2 1 2
3. What are the differences between data type struct and data type 2 1 3
class in C++?
4. Describe the syntax of the single inheritance in C++. 1 1 4
5. What is polymorphism? Write types of polymorphism. 1 1 5
6. Describe the major parts of a C++ Program. 1 1 5
Q.3 Answer the following. (5 Marks Questions)(Any three) (15)
1. What is virtual function? Give the rules for virtual functions. 2 5 4
2. What is Inheritance? Explain different types of Inheritance. 1 4 3
3. What is a stream? How do the I/O facilities in C++ differ form 2 4 4
that in C?
4. Describe the classes for file stream operations. Explain various 3 4 5
file mode parameters in C++.

Q.4 Answer the following in detail.


A. Explain the basic characteristics of object oriented programming (05) 1 4 5
B. What is Constructor? Describe the types of Constructor each with an (05) 4 2 4
Example.
OR
B. Explain Unary and Binary Operator overloading with rules and (05) 2 5 4
example.

Page 2 of 2

You might also like