Sunday, August 26, 2012

Mechanical gui experiment

GUI & DBM

LIST OF PRACTICALS


1.      Write a program using VB to make a calculator.

2.      Create a visual basic project that will either convert U. S. dollars into a foreign currency or convert a foreign currency into U. S. dollars.
                  The foreign currencies and their U. S. dollar equivalents are:
                  1 U. S. dollar = 0.6 British pounds
                                            1.4 canadian dollars
            Dutch guilders
6.8 Frech francs
2.0 German marks
2000 Italian lira
100 Japanese yen
9.5 Mexican pesos
1.6 Swiss francs
            Your project should include two option buttons within a frame, to select either U. S. to foreign conversion or foreign to U. S. conversion. Nine additional option buttons should be placed within another frame to select the particular foreign currency. Use a text box to specify a given amount of money in the source currency, and another text box to display the equivalent amount of money in the target currency. Include an appropriate set of labels for each conversion type.

3.      Write a Visual basic program to perform the following task.
i)                   Reverse a string.
ii)                Determine whether the given string is palindrome or not.
iii)              Find out whether given no is prime.
iv)              Find the Largest three

4.      Write a Visual basic program to perform the following task.
i)                   Find the power of a given number.
ii)                Determine that weather a given number is Armstrong.
iii)              Display the table of a given number
iv)              Arithmetic operations.

5.      Create a visual basic alarm clock that utilizes the timer control. Use option buttons to turn the alarm on and off. Specify the wake-up time using a text box.




6.      Write a visual basic program that will rearrange a list of names into alphabetical order. To do so, enter the names into a one-dimensional string array, with each element represent one complete name. The list of names can then be alphabetized in the same manner that a list of numbers is rearranged from smallest to largest.

7.      Create a visual basic project that will allow the user to select the name of a country from a list and then display the corresponding capital, and vice versa.

No comments:

Post a Comment

Lecture PPTs of MIS , Module 4 to Module 6

 Module 4 Social Computing (SC): Web 3.0 , SC in business-shopping, Marketing, Operational and Analytic CRM, E-business and E-commerce B2B B...