Get premium membership and access revision papers, questions with answers as well as video lessons.
Got a question or eager to learn? Discover limitless learning on WhatsApp now - Start Now!

Object Oriented Programming I Question Paper

Object Oriented Programming I 

Course:Bachelor Of Science In Information Technology

Institution: Kca University question papers

Exam Year:2009



UNIVERSITY EXAMINATIONS: 2008/2009
SECOND YEAR EXAMINATION FOR THE DEGREE OF BACHELOR OF
SCIENCE IN INFORMATION TECHNOLOGY
BIT 2108: OBJECT ORIENTED PROGRAMMING I
DATE: AUGUST 2009 TIME: 2 HOURS
INSTRUCTIONS: Answer question ONE and any other TWO questions
QUESTION ONE (COMPULSORY)
(a) Explain the following terms as used in object technology
(i) Message passing
(ii) Methods
(iii) Object
(iv) Polymorphism
(4 Marks)
(b) Differentiate between class and structure as used in C++. (4 Marks)
(c) With appropriate example describe what is function overloading (4 Marks)
(d) Briefly explain the following terms as used in inheritance:
(i) Derived class
(ii) Single inheritance
(iii) Multiple inheritance
(iv) Hierarchical inheritance
(v) Abstract class
(5 Marks)
(e) Explain what exception handling is and, how it is implemented in C++. (3 Marks)
2
(f) Describe the following
(i) Object Oriented Analysis (3 Marks)
(ii) Object Oriented Design (3 Marks)
(g) Outline application area of the following
(i) Namespace
(ii) Function Overriding
(4 Marks)
QUESTION TWO
(a) Explain the role-played by pointer in memory management, how is this achieved? (5 Marks)
(b) Write a program using reference variables as arguments to swap the values of a pair of integers.
(7 Marks)
(c) With an example explain how virtual function achieves run time polymorphism. (8 Marks)
QUESTION THREE
(a) With a valid example, explain how ADT are created. (3 Marks)
(b) Describe how abstraction is achieved when using class object to implement systems. (3 Marks)
(c) Describe code reuse as used in application development. (2 Marks)
(d) Differentiate between multiple and hierarchical inheritance. (2 Marks)
(e) Explain how classes achieve code hiding and code reuse in a program. Write a program to help
explain your answer. (10 Marks)
QUESTION FOUR
(a) Explain your understanding of object orientation. (3 Marks)
(b) What is object technology? (2 Marks)
(c) Briefly outline Four major advantages of object orientation. (8 Marks)
(d) Outline four main feature of object oriented programming language (OOP) give three examples of
OOPL (7 Marks)
3
QUESTION FIVE
KCA University is pleased with your outstanding performance in information technology courses
especially in programming. As such they would like to hire your services and attach you to library.
(a) Write a program to capture details of available and new books. (10 Marks)
(b) Rewrite the program in 5(a) and include the following
(i) Book borrowing
(ii) Book return
(iii) Display a list of available books
(10 Marks)
NOTE Marks will be awarded for use of class(es) and object in part 5(b)






More Question Papers


Popular Exams



Return to Question Papers