MID TERM EXAMINATION SPRING 2025
Program ADP Computer Science Session 2024 - 2026
Code & Subject (Object Oriented Programming)
Semester 2nd Total Marks 30 Time Allowed 1.5 Hours
Registration No. Campus ID
Instructions:
1. Attempt all questions
2. Cutting & overwriting is strictly not allowed
3. Use of mobile phone is strictly prohibited
4. No extra time will be given
QUESTION NO.1: (5*2=10)
Answer the following:
a. Define Encapsulation?
b. Give an example of Structure?
c. How the Objects of class are created? give example.
d. Write the name of Types of Constructors?
e. Write the syntax of Base & Derived class?
QUESTION NO.2: (10)
Define Inheritance, explain types of Access Specifiers with the help of an example program
QUESTION NO.2: (10)
Explain the key Characteristics of Object Programming Language in detail
BEST OF LUCK
Mid Term Examination (Fall 2024) Page 1|1