|
QBASIC Test #1
- T/F QBASIC when written once will work the same on all computer platforms.
- T/F QBASIC was designed for fast computation with major mathematical
formulas built into the language.
- T/F The PRINT statement prints output one the printer and the screen
at the same time.
- If you have a loop program you must the following condition(s) to
make the loop work correctly.
- Must have a termination value.
- Must use the variable I.
- Must end with the statement NEXT I.
- Many use Real, Integer, and Boolean values inside the loop.
- 1 and 4
- All of the above.
- Which of the following are the steps that all programming languages
must do.
- Input, Clean, Code.
- Code, Output, Make work.
- Input, Process, Output.
- Think, Plan, Review.
- Plan, Code, Troubleshoot
- T/F Print zones only work with LPRINT.
- Which of the following charters are used in the PRINT zone.
- ;
- ,
- *
- /
- 1 and 2
- None of the above
- What QBASIC statement will allow the computer to receive information
from the keyboard.
- GIVEME
- INPUT
- GETDATA
- READ
- READLN
- Which of the following variable(s) are string or character input.
- STRING
- STRINGS
- STRING$
- STRINGS$
- 1 and 2
- 3 and 4
- All of the above
- Write a program that will add up 20 numbers and give you the sum
and mean as output.
- Write a program that will allow a person to enter an amount of money
and the program will calculate the sales tax on the product of 6% and
give the sales tax and the total amount to be payed as output.
- Write a program that will prompt the users to enter the miles that
they are going to travel and it will display the miles they will travel
the kilometers (1 mile = 1.6km).
- Write a program that will allow a person to enter their name and
phone number and then print out their name and phone number on the
printer.
|