FACULTY OF APPLIED SCIENCE
AUGUST EXAMINATIONS 2009
VISUAL PROGRAMING CONCEPTS AND DEVELOPMENT
INSTRUCTIONS TO CANDIDATES
Answer all questions from section A and any 2 from section B. Each question carries 25 marks
Explain any four advantages of using Visual Programming as compared to Commandline Programming for application development.
With the aid of examples explain the following types of programming errors; i) Logic errors,
ii) Syntax errors.
iii) Run-time errors.
Define the following terms as used in Visual Programming
Write a program that implements the interface shown above and should be able to perform the following functions:
When the Reverse button is clicked, a word that the user inputs in the TextBox is reversed.When the Palindrome button is clicked, the program states wether the word that the user inputs in the TextBox is a palindrome or not.
Explain the following terms used in object models:
Explain what is meant by “VB.NET implements single inheritance”
Write code snippet of two classes showing the concept of inheritence, use UML diagrams to express yourself.
Define the following terms;
Write a VB.NET program that reads the contents of an input file and displays them on the console. The file name is to be specified by the user through the Input Box.
What are the advantages and disadvantages of using the Implicit declaration as compared...