ae
MULTIMEDIA UNIVER
Y OF KENYA
FACULTY OF COMPUTING AND INFORMATION TECHNOLOGY
UNIVERSITY EXAMINATIONS 2021/2022
FIRST YEAR SECOND SEMESTER EXAMINATIONS FOR THE DEGREE OF
BACHELOR OF SCIENCE IN COMPUTER TECHNOLOGY / BACH
SCIENCE IN INFORMATION TECHNOLOGY
BIT 2104/ 1CS 2104: OBJECT ORIEN’
ED PROGRAMMING 1
DATE: 13'" APRIL 2022
INSTRUCTIONS:
ANSWER YOUR QUESTIONS IN ANSWER BI
ANSWER QUESTION ONE [COMPULSORY]
QUESTIONS.
QUESTION ONE (THIRTY MARKS)
a) Differentiate between Structured Programming and Object Oriented Programming
languages giving two example of each (4 Marks)
b) Explain three benefits of object oriented programming paradigm (6 marks)
c) Consider the code given below if its output is:
12 16 ©2024
15200-2530
18 24 30-36
for (int isstart;i<-end;it+)
for (int j=first;j