QBasic Fundamentals

QBasic Fundamentals

8th Grade

9 Qs

quiz-placeholder

Similar activities

QBASIC Recap

QBASIC Recap

8th Grade

10 Qs

Grade 7 Test

Grade 7 Test

6th - 8th Grade

8 Qs

Email Etiquette

Email Etiquette

8th - 9th Grade

10 Qs

Graphics in Qbasic

Graphics in Qbasic

6th - 8th Grade

9 Qs

Week 5 Quizziz

Week 5 Quizziz

6th - 8th Grade

12 Qs

Python Beginners Week 6

Python Beginners Week 6

3rd - 12th Grade

13 Qs

Artificial Intelligence Quiz Online

Artificial Intelligence Quiz Online

8th Grade - University

10 Qs

Computer Software

Computer Software

6th - 11th Grade

10 Qs

QBasic Fundamentals

QBasic Fundamentals

Assessment

Quiz

Computers

8th Grade

Medium

Created by

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

PRINT

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