You are on page 1of 5

Term- Work PROGRAMMING IN VISUAL LANGUAGE Question 1: Write a program in Visual Basic to change the background color of form

by clicking on command button and also set the default color through the command button. Question 2: Write a program in Visual basic to design simple calculator. Question 3: Write a program in Visual Basic to show various operators like-?*, #, [range], IS etc. Question 4: Write a program in Visual basic to find whether a given character is a vowel or not. Display the result in a message box. Question 5: Write a program in Visual basic to check if user is eligible for voting or not. Question 6: Write a program in visual basic to find the factorial of a number. Question 7: Write a program in Visual basic to show week days using select case. Question 8: Design an application that accepts an item name for the user and add it to a list box. If text box is empty then an error message should appear in the message box. After addition of an item to a list box the text box should be empty. Question 9: Design an application to allow a user to set alarm time, then at the scheduled time the alarm should ring.

Question 10: Develop an application for sports club membership. When the user clicks a command button to calculate membership cost, his/her age and number of years he/she has been the member of sports club is asked. Depending on the values entered; calculate the membership cost as per the following calculations. PAST MEMBERSHIP IN MEMBERS AGE CATEGORY COST YEARS <2 Years 600 INR <18 Years Junior >=2 Years 400 INR <10 Years 1200 INR 19 Years-49 Years Senior >=10 Years 900 INR <10 Years 800 INR Otherwise Veteran >=10 Years 500 INR Question 11: Write a program in Visual Basic to find a text and then replace it by the given text in a sentence. Question 12: Write a program to count the number of words in a given sentence. Question 13: Create an application that offers various food items to select from and a mode payment. The total amount should be displayed on clicking the Bill command button, and the bill should appear in a message box. Question 14: Write a program in Visual Basic to show the following loops: Do While Loop Do Loop While Do Until Loop

Do Loop Until While Wend Question 15: Using MouseDown event, write a Visual Basic application to identify whether the right button or the left button is clicked. Question 16: Write a function to check whether given number is a prime or not. If number is a prime; return True otherwise False. Question 17: Develop an application to change the font and color of the string in a text box, and the form should be designed like the given screenshot:

Question 18: Design an application to display traffic light. The light should display for around 5 seconds and the yellow light should be on for approximately 2 seconds. Question 19: Design a greeting application that wishes GOOD MORNING or GOOD NOON, GOOD AFTERNOON or GOOD EVENING depending upon the current time of the days. This application should also tell about how many months are left for the university exams to come. Question 20:Add a class module tat will perform the following functions Reverse s string Determine whether the gven string is a palindrome or not. Question 21: Desin and code an appliation having Menu Bar using MDI form.

Question 22: Create a VB FRONT END to SAMPLE database that contains a table namely CUSTOMER with the follwing structure:CUSTOMER(CUSTNO,FIRSTNAME,ADDRESS,CITY,STATE,ZIPCODE) the Main form hould contain a list of customer names genrated from the customer table. when a use selects a name from the list , the labels should be updated with the relevent informations on the customer including all the fields

Question 23:WAP to change the shape of object as per the options selected by the user from the option button.

Question 24:Write the steps to connect the form to the MS Access with the help of data object. Also write appropriate code to display the output as follows. The program should be able to add, save & delete the contents from the database.

Question 25: WAP to use the entire given common dialog controls in a single program:ShowOpen Open dialog box ShowSave Save As dialog box ShowColor Color dialog box ShowFont Font dialog box ShowPrinter Printer dialog box Question 26: Create a VB application to enter any number from the users repeatedly and count how many of them are even and odd. Question 27: Design and Create an activeX control and use it in another application. Question 28: WAP in VB to display the date, time, month, day and year in the given format by using timer control.

Question 29: Design and code an application for Control Array at run time. Question 30: Design and code an application for dynamic array that accepts a array for the user and add it to a list box. Preserve the values by selecting check box.

Question 31: WAP to show the use of horizontal scroll bar to change the background color of the text box when we scroll it and vertical scroll bar to change the foreground color of the text box or label box when we scroll it. Question 32: Create an application to display Image file kept in different folders in the system. The application should allow the user to navigate in the folders and list all image file(*.bmp) when ever a image file is selected it should get that picture displayed in an image box. Question 33: Store some country names and their capitals. Ask the user to select a country and its capital from given two lists. If the match is correct, display Correct answer, otherwise display error message and tell the correct answer. Note: 1. Last date of submission of the term work : 10 DEC, 2011.

2. Color of the binding should be Light Blue. 3. Term Work File must contain the Cover page and Index etc.

Subject Teacher
Anupama Mishra

HOD(Dept. of Computer Application)

You might also like