DIT 0303 : DESKTOP APPLICATION PROGRAMMING Past Paper

W1-2-60-1-6
JOMO KENYATTA UNIVERSITY OF AGRICULTURE AND TECHNOLOGY
UNIVERSITY EXAMINATIONS 2016/2017
YEAR ONE SEMESTER TWO EXAMINATIONS FOR THE DIPLOMA IN INFORMATION TECHNOLOGY
DIT 0303 : DESKTOP APPLICATION PROGRAMMING
DATE: DECEMBER 2016 TIME: 1.30 HOURS
INSTRUCTIONS: ANSWER QUESTION ONE [COMPULSORY] AND ANY OTHER TWO QUESTIONS

QUESTION ONE [COMPULSORY]
1. Outline any five major features of visual basic programming language [5 marks]

2. (a) Differentiate between the following types of programming languages giving an example for each [9 marks]
(i) Compiled language
(ii) Interpreted language
(iii) Intermediate language
(b) Classify visual basic as either of the three above giving your justification [2 marks]
3. Write a visual basic code to find the sum of two numbers and display the result on message box. [4 marks]

QUESTION TWO
(a) For each of the following user interface elements, explain two design specifications for a good user experience [8 marks]
(i) Windows
(ii) Layout
(iii) Text
(iv) Dialog box
(b) Write the code to display each of the following in VB
(i) Check box
(ii) Button
(iii) List box
(iv) Combo box [8 marks]
(c) Write the VB syntax for declaring a multidimensional array and set array element values [4 marks]

QUESTION THREE
(a) Discuss the different data types used in visual basic [10 marks]
(b) Write a code to find the factional of numbers from 1 to 15. [10 marks]

QUESTION FOUR
(a) Differentiate between the following concepts as used in VB.
(i) Function and method
(ii) IDE Vs SDK
(iii) Class and Object [12 marks]
(b) Write a VB code for a button click event, to find out the odd or even number and display on a message box. [8 marks]

QUESTION FIVE
(a) Write the VB code to display and provide the functionality of the below interface

(b) Describe the following aspects as commonly mentioned in VB programming
(i) Multiple document interface
(ii) NET framework [8 marks]

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

Written by