Component Development Question Paper
Component Development
Course:Bachelor Of Science Information Technology
Institution: Kenyatta University question papers
Exam Year:2008
KENYATTA UNIVERSITY
UNIVERSITY EXAMINATIONS 2007/2008
INSTITUTE OF OPEN LEARNING
SUPPLEMENTARY/SPECIAL EXAMINATION FOR THE DEGREE OF BACHELOR OF SCIENCE
INFORMATION TECHNOLOGY
SIT 300: COMPONENT DEVELOPMENT
-------------------------------------------------------------
DATE: Monday 6th October 2008 _ TIME: 3.00pm – 5.00pm
INSTRUCTIONS: Answer question one and any other two questions. All questions
carry 20 marks each.
Question 1
(a) Explain in detail what the objective of registering a component is. [10 marks]
(b) Write a piece of code that shows how to register a component. [10 marks]
Question 2
(a) Briefly explain how components enhance productivity. [5 marks]
(b) Describe how is default handling overridden? Include an example. [5 marks]
(c) Explain how consistency benefits programming projects? [5 marks]
(d) List the advantages of using software components. [5 marks]
Question 3
(a) Briefly explain meaning of overloading a method. [4 marks]
(b) Give an example of overloading a method. [4 marks]
(c) Explain in detail what a property of a component is. [4 marks]
(d) Explain in detail what purpose does a property of a component serve. [4 marks]
(e) Give an example of declaring a property. [4 marks]
Question 4
(a) Explain what information hiding is as used in component programming.[10 marks]
(b) List the differences between private and published levels of visibility.
[10 marks]
Question 5
(a) What is a message handler and what function does it do? [4 marks]
(b) Where is the key word “inherited” used and for what purpose? [4 marks]
(c) Where is the key word “virtual” used and for what purpose? [4 marks]
(d) Briefly explain what polymorphism encapsulation, and inheritance are.[4 marks]
(e) How would you change the visibility of a property? [4 marks]
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