Object Oriented Programming (Cisy 210) (Bbit 223) 1St Trimester 2015 Question Paper
Object Oriented Programming (Cisy 210) (Bbit 223) 1St Trimester 2015
Course:Bachelor Of Business Information Technology
Institution: Kenya Methodist University question papers
Exam Year:2015
Object oriented programming (CISY 210) (BBIT 223) 1ST TRIMESTER 2015
KENYA METHODIST UNIVERSITY
END OF 1'st 'TRIMESTER 2015 (FT) EXAMINATION
FACULTY : COMPUTING & INFORMATICS
DEPARTMENT : COMPUTER SCIENCE
UNIT CODE : CISY 210/BBIT 223
UNIT TITLE : OBJECT ORIENTED PROGRAMMING
TIME : 2 HOURS
INSTRUCTIONS
Answer question One (Compulsory) and any other Two questions.
Question One (30 marks)
Define the following terms as used in OOP
(5 marks)
Structured programming
Object oriented programming
Applets
Stand-alone application programs
Describe the three forms of inheritance with examples.
(6 marks)
What are the unique advantages of object oriented programming paradigm.
(5 marks)
Describe the basic structure of Java language with a program example.
(8 marks)
Write a Java program that demonstrates your understanding of method overriding.
(6 marks)
Question Two (15 marks)
Explain the following OOP concepts.
(5 marks)
Objects
Abstraction
Inheritance
Polymorphisms
Write a brief note on the following:
Classes
(2 marks)
Methods
(2 marks)
Interface
(2 marks)
Explain the following JDK tools used in Java.
(4 marks)
Javac
Java
Jdb
Java doc
Question Three (15 marks)
"Write once; run anywhere (WORA) is a slogan used by Java programmers. Explain what this slogan means.
(2 marks)
Explain the five states of a thread with illustrations.
(5 marks)
Explain the five types of separators used in OOP.
(5 Marks)
Outline the rules to be followed when naming an identifier in OOP.
(3 marks)
Question Four (15 marks)
Explain the function of the following codes as used in exception handling.
The "try" block
(2 marks)
The "catch" block
(2 marks)
Write a Java source code to demonstrate exception handling.
(4 marks)
Outline the steps to be followed when creating a package
(3 marks)
Differentiate between the following concepts
(4 marks)
Method overloading and method overriding
Constructor and destructor
More Question Papers
Exams With Marking Schemes
Popular Exams
Mid Term Exams
End Term 1 Exams
End Term 3 Exams
Opener Exams
Full Set Exams
Return to Question Papers