Midterm Fall 2021 - Objective - MOCK For Summer
Midterm Fall 2021 - Objective - MOCK For Summer
INSTRUCTORS SOLUTION
Air University
Mid Term Examination: Fall 2021
Subject: CE-113 Object Oriented Programming Total Marks: 20
Date: Monday 8th November, 2021 Time Allowed: 25 mins
Course Instructor: Maham Javed, Saba Mumtaz Semester: BEEP, BEEE, BEET -3 B
Name: Reg Number:
Special Instructions:
1. This is a closed book examination. It contains 04 questions spanned over 02 pages.
2. Multiple answers for same question will be considered wrong.
Question # 01: [CLO 01] Marks: 5
Select the correct answer from the following multiple choice questions.
Page 1 of 3
CE-113 Object Oriented Programming Fall 2021
Solution
Public, private, protected (2 marks for all three, 1.5 for two, and 1 for one)
Public members can be accessed anywhere i.e., inside or outside the class. (1)
Private members can be accessed inside the class only (1)
Page 2 of 3
CE-113 Object Oriented Programming Fall 2021
Protected members can be accessed inside the class as well as in the child class. (1)
Page 3 of 3