
QBasic Fundamentals

Quiz
•
Computers
•
8th Grade
•
Medium
Arjun Khatiwada
Used 1+ times
FREE Resource
9 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of using variables in QBasic?
To create animations in the program
To store and manipulate data within a program.
To add colors to the program
To make the program run faster
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What are the different data types supported in QBasic?
Integer, Single, Double, String, Boolean, Date
Text, Float, Char, Boolean, Date
Number, Decimal, Text, Boolean, Date
Integer, Float, String, Boolean, Date
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can you take user input in QBasic?
INPUT statement
PRINT statement
READ statement
LET statement
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What command is used for displaying output in QBasic?
OUTPUT
SHOW
DISPLAY
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the syntax for the IF-THEN-ELSE statement in QBasic?
IF condition THEN statement1 ELSE statement2
IF condition THEN statement1 ELSEIF statement2
IF condition THEN statement1 ELSEIF statement3
IF condition THEN statement4 ELSE statement5
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you use the SELECT CASE statement in QBasic?
You can use the SELECT CASE statement in QBasic to execute different blocks of code based on the value of a variable or expression.
The SELECT CASE statement in QBasic is used to create loops
The SELECT CASE statement in QBasic can only be used for mathematical operations
You cannot use the SELECT CASE statement in QBasic
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of using loops in QBasic?
To repeat a block of code multiple times
To change the background color of the console window
To display a message on the screen
To calculate the square root of a number
8.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you exit a loop prematurely in QBasic?
STOP
END
BREAK
EXIT DO, EXIT FOR, or EXIT WHILE
9.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the STEP keyword in QBasic?
To print the output of a program
To specify the increment or decrement value in a FOR...NEXT loop.
To end a program
To define a new variable
Similar Resources on Wayground
10 questions
Boolean Operators

Quiz
•
6th - 9th Grade
11 questions
Scratch Quiz ADVANCED

Quiz
•
5th - 8th Grade
10 questions
Python

Quiz
•
8th Grade
9 questions
Coding Concept

Quiz
•
7th - 8th Grade
14 questions
Hour of Code ESL

Quiz
•
6th - 8th Grade
13 questions
Scratch

Quiz
•
8th Grade
14 questions
Conditionals in JavaScript

Quiz
•
7th - 8th Grade
11 questions
Entrepreneurship Vocab

Quiz
•
7th - 8th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
18 questions
Company Logos

Quiz
•
6th - 8th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade