BIT2105  APPLICATION PROGRAMMING.

UNIVERSITY EXAMINATIONS: 2018/2019
EXAMINATION FOR THE DEGREE OF BACHELOR OF SCIENCE IN
INFORMATION TECHNOLOGY/BUSINESS INFORMATION
TECHNOLOGY/APPLIED COMPUTING
BIT2105 APPLICATION PROGRAMMING
FULL TIME/PART TIME/DISTANCE LEARNING
DATE: APRIL, 2019 TIME: 2 HOURS
INSTRUCTIONS: Answer Question One & ANY OTHER TWO questions.

QUESTION ONE (30 MARKS) COMPULSORY
(a) Explain the following terms as used in VB
(i) Container controls
(ii) Event driven programming
(iii) Component tray
(iv) Code window
(v) Lasso method
5Marks
(b) Differentiate between the name and text properties of controls in vb.net 4Marks
(c) Briefly describe the terms below
(i) Class
(ii) Menu strip
(iii) Tool Tip 6Marks
(d) Differentiate between a check box and a Radio button 4Marks
(e) VB has two different types of constants describe them using examples 4 Marks
f) Describe the use of Globalization enumeration in VB.net using examples to illustrate
5 Marks
QUESTION TWO (20 MARKS)
a) Design the interface and write a program in VB.net that can be used to calculate the balance
(change) to be given back to a customer after purchasing goods in store. The purchase should
include at least 5 items.
15 Marks
b) Differentiate between a group box and a picture box 5 Marks

QUESTION THREE (20 MARKS)
(a) i) Describe the term option explicit as used in VB.net 2 Marks
ii) Expand the following statements in full and explain their use
a) TotalSalesDecimal += SaleAmountDecimal 3Marks
b) CountInteger -= 1 3Marks
b) Describe the for loop used in VB.net 4 Marks
(c) Define a module. Visual Basic stores code in three different modules. List and explain these
modules. 8 Marks
QUESTION FOUR (20MARKS)
a) using an example to illustrate explain how you can code a button and a menu to perform the
same function 4 Marks
b) Briefly explain the importance of a good UI in a program. 4 Marks
d) Briefly describe any TWO advantages of using an IDE in programing 4 Marks
e) Describe the three control constructs used in VB.net 6 Marks
f) Explain the use of hot keys in VB .net 2 Marks
QUESTION FIVE (20 MARKS)
a) Using examples to illustrate differentiate between the Parse method and the Globalization
enumeration as used in vb.net 6 Marks
b) Using vb.net to illustrate describe the input –process- output model of programming
9 Marks
c) Explain why you would prefer using the VB.net intelligence for typing code to an ordinary
text editor 5 Marks

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

Written by