Terry E Snyder Jr
&  
RemoteWebs.com  

Computer & Web Solutions

Support, Design, and more...
| | |
December 23rd, 2024 1:03:19 PM

QBASIC Test #1

  1. T/F QBASIC when written once will work the same on all computer platforms.
  2. T/F QBASIC was designed for fast computation with major mathematical formulas built into the language.
  3. T/F The PRINT statement prints output one the printer and the screen at the same time.
  4. If you have a loop program you must the following condition(s) to make the loop work correctly.
    1. Must have a termination value.
    2. Must use the variable I.
    3. Must end with the statement NEXT I.
    4. Many use Real, Integer, and Boolean values inside the loop.
    5. 1 and 4
    6. All of the above.
  5. Which of the following are the steps that all programming languages must do.
    1. Input, Clean, Code.
    2. Code, Output, Make work.
    3. Input, Process, Output.
    4. Think, Plan, Review.
    5. Plan, Code, Troubleshoot
  6. T/F Print zones only work with LPRINT.
  7. Which of the following charters are used in the PRINT zone.
    1. ;
    2. ,
    3. *
    4. /
    5. 1 and 2
    6. None of the above
  8. What QBASIC statement will allow the computer to receive information from the keyboard.
    1. GIVEME
    2. INPUT
    3. GETDATA
    4. READ
    5. READLN
  9. Which of the following variable(s) are string or character input.
    1. STRING
    2. STRINGS
    3. STRING$
    4. STRINGS$
    5. 1 and 2
    6. 3 and 4
    7. All of the above
  10. Write a program that will add up 20 numbers and give you the sum and mean as output.
  11. 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.
  12. 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).
  13. 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.
Google
 
Web www.terryesnyderjr.com
www.remotewebs.com

Page Updated on August 23, 2020 22:47

www.terryesnyderjr.com Copyright 2000-2024©