QBasic Programming Test Practice

1) (DICE1000.BAS) Write a program to roll 3 dice 1000 times.  Count how many times each total  (3 - 18) is rolled and display results when finished.

3    12 times
4    42 times
5   104 times  etc.

2) Most websites ask you to type your password twice whenever you reset it to avoid accidental misspelling.  Simulate that interface (PASSWORD.BAS) by asking the user to type their password twice.  Feedback is either "Your password has been reset" or The passwords don't match".

3) Create the flag that Mr Hotz is Displaying on the projector

VB

Create a rocket program that shows a rocket on the launchpad, counts down from 10 to 1, says Blastoff and the rocket moves up the screen