0% found this document useful (0 votes)
3 views2 pages

Visual Basic Programming

The document is an exam paper for Visual Programming at Sphereshine College, covering various topics including toolbox features, form methods, user controls, label properties, and programming tasks in Visual Basic. It includes questions on advantages of visual programming, control prefixes, declaration types, textbox properties, hardware considerations, and GUI features. Additionally, it requires the creation of specific Visual Basic programs for user input and volume calculation.

Uploaded by

lukujuliannah
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views2 pages

Visual Basic Programming

The document is an exam paper for Visual Programming at Sphereshine College, covering various topics including toolbox features, form methods, user controls, label properties, and programming tasks in Visual Basic. It includes questions on advantages of visual programming, control prefixes, declaration types, textbox properties, hardware considerations, and GUI features. Additionally, it requires the creation of specific Visual Basic programs for user input and volume calculation.

Uploaded by

lukujuliannah
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

SPHERESHINE COLLEGE

END TERM EXAM


MARCH SERIES 2026
VISUAL PROGRAMMING
1. Outline the function of each of the following tool box features in Visual Basic (6marks)
(i) Pointer
(ii) Frame
(iii) Ole
2. Outline four methods used in a form (4marks)
3. Outline four controls that may enable the user to make choice in a list in VB (4marks)
4. Explain the use of the following label properties as used in VB programming (3marks)
5. Write a visual basic program that would allow a user to enter a string through a use of text
box. The program should then display the string on a list box control and the total number of
items entered in a list box control. Attack the code to a command button. (8marks)

List Command
Text box List
box button
box

6. State the advantages of visual programming (4marks)


7. List four controls used in visual programming other than form (4marks)
8. Write a program in Visual Basic that would calculate the volume of a cube given that the
height is 20, length is 45 and width is 35. The program should then display the results on a form.
Attach the form to a command button. (8marks)
9. Write the prefix of each of the following controls (6marks)
(i) command button (iv) combo box
(ii) label (v) time
(iii) check box (vi) option button
10. Differentiate between Implicit declaration and Explicit declaration as used in VB (4marks)
11. Give the function of the textbox control properties as used in VB (8marks)
(a) Autosize
(b) Locked
(c) Multiline
(d) Read only
12. Explain three hardware consideration to be made when installing VB program (6marks)
13. Describe each of the following Graphical user interface features of a Visual Basic program
(6marks)
(i) Project Window
(ii) Form Window
(iii) Property window
14. Explain two properties of a text box control that must be set to enable it interact with a
database file in a visual basic program (4marks)

You might also like