0% found this document useful (0 votes)
20 views1 page

Koe064 Object Oriented Programming

This document outlines the structure and content of the BTECH (SEM VI) Theory Examination for Object Oriented Programming, scheduled for 2023-24. It includes various sections with questions covering topics such as Aggregation, Encapsulation, modeling principles, programming paradigms, and C++ programming tasks. Students are required to attempt all sections and demonstrate their understanding of object-oriented concepts through written responses and programming examples.
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)
20 views1 page

Koe064 Object Oriented Programming

This document outlines the structure and content of the BTECH (SEM VI) Theory Examination for Object Oriented Programming, scheduled for 2023-24. It includes various sections with questions covering topics such as Aggregation, Encapsulation, modeling principles, programming paradigms, and C++ programming tasks. Students are required to attempt all sections and demonstrate their understanding of object-oriented concepts through written responses and programming examples.
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/ 1

Printed Page: 1 of 1

Subject Code: KOE064


0Roll No: 0 0 0 0 0 0 0 0 0 0 0 0 0

BTECH
(SEM VI) THEORY EXAMINATION 2023-24
OBJECT ORIENTED PROGRAMMING
TIME: 3 HRS M.MARKS: 100

Note: 1. Attempt all Sections. If require any missing data; then choose suitably.
SECTION A
1. Attempt all questions in brief.
a. Explain the terms Aggregation and Composition. 02
b. Describe the term Encapsulation with suitable example. 02
c. Define generosity. 02
d. Explain the importance of modeling. Also, explain its principles. 02
e. Mention the names of two procedure-oriented programming languages. 02
f. List the features of object-oriented programming language. 02
g. Write a program in C++ to check whether the number is prime or not. 02
h. Define the use of typedef. 02
i. Explain the three access specifiers. 02
j. In C++ by default _________ access modifier is used. 02
SECTION B

2
2. Attempt any three of the following:

13
90
a. Explain the importance of modeling? Also, Explain its principles. 10

2.
_2

b. Differentiate between Activity & Sequence Diagrams with the help of suitable diagrams. 10

24
c. Differentiate between Procedural and Object-Oriented Programming paradigm. 10
P1

5.
d. (i) Write a C++ program to demonstrate the concept of Polymorphism. 10
4E

(ii) Differentiate between macros and Inline functions with suitable examples.

.5
e. Illustrate the use of namespace in C++ with an example. Also, write a Program in C++ to 10
17
P2

demonstrate the concept of keyword enum in C++


|1
SECTION C
Q

3. Attempt any one part of the following:


AM

a. What is Data Abstraction? How it is different from encapsulation?Explain with proper 10


example.
b. Explain different types of diagrams in UML along with example of each. 10
3
:1

4. Attempt any one part of the following:


22

a. Design a Use case diagram for Restaurant. 10


b. Define the purpose of a State Machine Diagram. Also draw State Machine Diagram for Playing 10
9:

Cricket Match.
24

5. Attempt any one part of the following:


a. Explain the process of combining three Models (Class, Use Case, and Interaction) into object- 10
20

oriented analysis and design.


b. Explain the advantages and disadvantages of SA/SD and JSD in comparison to Object-Oriented 10
n-

Analysis and Design?


Ju

6. Attempt any one part of the following:


3-

a. Explain the concept of constructors in C++. Discuss different types of constructors. Give 10
example of each.
|1

b. What do you understand by a static member function of a class? Discusstheir characteristics 10


Give an example where you can justify the use of static member functions.
7. Attempt any one part of the following:
a. What is operator overloading? Differentiate between overloading of binary operator using 10
friend function and without using friend function.
b. Explain the concept of Inheritance, types & its features with example. 10

1|Page
QP24EP1_290 | 13-Jun-2024 9:22:13 AM | 117.55.242.132

You might also like