Get premium membership and access revision papers, questions with answers as well as video lessons.

Application Programming Question Paper

Application Programming 

Course:Bachelor Of Science In Information Technology

Institution: Masinde Muliro University Of Science And Technology question papers

Exam Year:2010



FIRST YEAR EXAMINATION FOR THE DEGREE OF BACHELOR OF
SCIENCE IN INFORMATION TECHNOLOGY
APPLICATION PROGRAMMING
DATE: APRIL 2010 TIME: 2 HOURS
INSTRUCTIONS: Answer question ONE and any other TWO questions
QUESTION ONE
a) Define the following terms as used in VB
ii) Dim
iii) Function Procedure
iiii) Event Procedure (6 Marks)
b) Describe the following types of variables
i) Local variables
ii) Module level variables
iii) Public variables (6 Marks)
c) List any three guidelines (rules) to be considered when naming identifiers (3 Marks)
d) Explain the following data types as used in visual basic
i) String
ii) Single
iii) Boolean (3 Marks)
e) Study the following Diagram and answer question that follow
Name the above VB IDE windows from left to right describing each one of them in tabular form. The first one has been done for you
S/No Name Description
1 Toolbox Provides controls for setting up the GUI
environment
(8 Marks)
f) Explain the following features of VB
i.) Menu Editor
ii.) MDI form (4 Marks)
QUESTION TWO
a) List FOUR types of picture files that can be held in a Picture Box. (4 Marks)
b) Differentiate between the following controls
i) Picturebox and Image control
ii) Option button and Check box control (4 Marks)
c) With help of examples explain the following functions
i) Val
ii) CBool (2 Marks)
d) Define the following terms and clearly show how they are declared and initialized:
i) Variable
ii) Constant
iii)Array (6 Marks)
e) Describe the following argument passing mechanisms as used in VB. (4 Marks)
i) Passing by reference
ii)Passing by Value
QUESTION THREE
a) Briefly explain the importance of comments in a program. (4 Marks)
b) Briefly describe any TWO advantages of using sub procedures or functions in a program.(4 Marks)
c) Write a program that accepts money in US dollars through an Input Box function and converts it to Kenya Shillings, through the use of a function named convert. The program should output the Kenya Shilling value through a Message Box function upon the click of a command button.
1 US Dollar = 80 Ksh (8 Marks)
d) List four data properties of the Data Control Object (DAO) (4 Marks)
QUESTION FOUR
a) List any three objects and three events used in VB and explain their functions. (6 Marks)
b) List and briefly describe four flow control constructs supported by Visual Basic. (4 Marks)
c) Briefly explain the difference(s) between design-time and run-time modes in Visual Basic.
(4 Marks)
d) Explain briefly the following events stating one possible use for each.
i) Form Load
ii) KeyPress
iii) Query Unload (6 Marks)
QUESTION FIVE
a) You have confirmed with senior management that the Statement of User Requirements for your project is acceptable and you are now able to proceed to the development stages. Your are
considering the possibility of using Rapid Application Development Techniques (RAD).
List :
i) The advantages of using RAD (10 Marks)
ii) The risks associated with this approach (10 Marks)






More Question Papers


Popular Exams


Mid Term Exams

End Term 1 Exams

End Term 3 Exams

Opener Exams

Full Set Exams



Return to Question Papers