CODE OF SUBJECT : SCSJ2154
NAME OF SUBJECT : Object Oriented Programming
YEAR / COURSE : 2 (SCSV/ SCSR/ SCSJ/ SCSB)
TIME : 1 hour 30 minutes
DATE :
VENUE :
INSTRUCTIONS TO THE STUDENTS:
This test book consists of 2 parts:
Part A: 10 Objective Questions 10 marks
Part B: 5 Structured Questions 40 marks
ANSWER ALL QUESTIONS IN THE SPACES ALLOCATED IN THIS TEST BOOK.
Name
Identity card (or matric) Number
Year /Programme
Section
Name of Lecturer
This examination book consists of 17 printed pages including this page.
1
, NR 228 FINAL EXAM LATEST 2023-2024
REAL EXAM QUESTIONS AND CORRECT
ANSWERS(COMPLETEEXAM)/A GRADE
Answer sheet for Part A:
Write all your answers for Part A in the space below.
Name:
Section:
Question No Answer
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
TOTAL
2
, NR 228 FINAL EXAM LATEST 2023-2024
REAL EXAM QUESTIONS AND CORRECT
ANSWERS(COMPLETEEXAM)/A GRADE
PART A – OBJECTIVE QUESTIONS [10 marks]
Part A consists of 10 objective questions. Choose the best answer, and write your answer in the
answer sheet provided in page 2. Each question carries 1 mark.
1. Which of the following class diagram shows aggregation relationship between Car and
Engine class?
A. Car Engine
B. Car Engine
C. Car Engine
D. Car Engine
2. If class Course is composed in class Faculty, which statement is INCORRECT
description of the relationship?
A. Class Course is exclusively owned by class Faculty.
B. Object of class Course is created inside class Faculty.
C. Class Faculty has “is a” relationship with class Course.
D. When an object from class Faculty is destroyed, objects from class Course is
destroyed too.
3. When a class contains an instance of another class, it is known as .
3