Colonel Gray High School
If you wish to use the program at home, create a folder called C:\qbasic and download QBasic executable and Help File to that folder.
Task 1 - Understanding the Basics
This document contains basic information regarding Qbasic. Please read the content very carefully and try the examples. You should try to complete about 6-8 pages of the document per period.
After you have read the notes and tried the examples, you may try the assignment. Follow the instructions in each assignment. Please maintain your planning forms for each assignment that you complete as you will be asked to hand this is with your code for classmarks. Please complete these assignment in order. A print of your code and the planning sheet needs to be handed in before you move to the next assignment.
Have a look at this sample use of a subroutine that you can use to structure your program.
Assignment 8 - Optional Challenge
You have been asked to create a Bingo machine that will pick the numbers for the Bingo and display them on the screen one at a time as the Bingo caller requests the next number.
Assignment 9 - Holiday Turkey Cooker
You need to design a program that will calculate the time required to cook a turkey. Note - This values may not be absolutely correct so don't use this to calculate the cooking times for your own turkey.
What you need to do:
Use sub routines for input, calculations, and display
No need to use a planning form
Example: It takes 4 hours and 15 minutes to cook a 22 lbs turkey
Assignment 10 - Calorie Burner
You need to design a program that will calculate the amount of kilometres that a user will have to run for in order to burn off the calories consumed in a certain number of slices of pizza.
calculate the length of distance in kilometres that you would have to run to burn off the calories and display the result. Example:
You would have to run x kilometres to burn off y calories contained in z slice(s) of pizza