Course Code : CST-104

Course Title : Visual Programming

Assignment Number : ADIT(1)-104/TMA/07

Maximum Marks : 10

Last Date of Submission : 25TH April, 2007

Question 1: Create a program that accepts input from the user (a birth date) and calculates the persons age. Your program should display the calculation three ways: exact age (years months and days {eg: You are 21 years, 2 months and 16 days old, today}), just years, total days.

Question 2: Develop a VB project that maintains a list of book categories. Use a ComboBox control (Simple combo – Style 1) to display the book categories. The user may add a new book type to the list, remove a book type from the list, or clear the book list.

Question 3: Create a program simulating a traffic light.

Question 4: Write a program that uses an attractive form to a multiple-choice quiz. Include at least ten questions, each with four possible answers. Store the questions and answers in arrays. The form should display each question and its four possible answers. The user chooses an answer by clicking on a command button in front of that response. The user should be informed immediately whether the answer is correct. Then a new question is presented. The user should have the option of pressing a quit command button to stop the quiz.

Course Code : CST-104

Course Title : Visual Programming

Assignment Number : ADIT(1) -104/Project/07

Maximum Marks : 15

Last date of Submission : 25th April, 2007

This is a Project Assignment. Answer the following question. Assumptions can be made wherever necessary.

Question 1: Design a Visual Basic application to automize a gas agency by taking necessary considerations regarding the new connections, waiting list, bill processing for the gas cylinders, stock maintenance and other features. Give a brief documentation of the project.