BIT 2105 APPLICATION PROGRAMMING KCA Past Paper

UNIVERSITY EXAMINATIONS: 2012/2013
EXAMINATION FOR THE BACHELOR OF SCIENCE IN
INFORMATION TECHNOLOGY
BIT 2105 APPLICATION PROGRAMMING
DATE: AUGUST, 2013 TIME: 2 HOURS
INSTRUCTIONS: Answer Question ONE and Any Other TWO Questions

QUESTION ONE (COMPULSORY 30 MARKS)
a) Describe the 3 steps used when creating an application using VB. (6 Marks)
b) In Visual Basic.net, there are 2 types of constants. Describe them using examples
(6 Marks)
c) Describe the quickest way to reset the VB IDE layout. (4 Marks)
d) Describe the VB’s Intellisense feature and explain how its accessed (5 Marks)
e) Discuss the printing PrintAction options when printing a form using VB.net. (6Marks)
f) Differentiate Between A Text Box And A Masked Text Box (3Marks)
QUESTION TWO ( 20 MARKS)
a) Explain how procedures are named in VB, using an example. (6 Marks)
b) Differentiate between the following controls
i) maskedtextbox and richtextbox control
ii) Option strict and option explicit (4 Marks)
c) With help of examples explain the following functions
(i) Globalization.NumberStyles.Number (2 Marks)
(ii) ToUpper ( 2 Marks)
(d) Define the following terms and clearly show how they are declared and initialized:
i) Variable
ii) Constant
iii) Array (6 Marks)
QUESTION THREE (20 MARKS)
(a) Describe the Input-Process-Output model for programming as applied in VB.net,
indicating tools used at each stage (9 Marks)
(b) Briefly describe any TWO advantages of using sub procedures or functions in a
program. (5 Marks)
c) Describe three different ways of declaring variables in VB (6 Marks)
QUESTION FOUR ( 20 MARKS)
(a) List any 3 objects and 3 events used in VB and explain their functions. (6 Marks)
(b) List and briefly describe 4 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 ( 20 MARKS)
(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 :
a) the advantages of using RAD (10 Marks)
b) the risks associated with this approach (10 Marks)
(Total 20 Marks)

(Visited 100 times, 1 visits today)
Share this:

Written by