Search Header Logo

QBASIC Programming Challenge

Authored by Kishan Pun

Computers

10th Grade

Used 1+ times

QBASIC Programming Challenge
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a variable in QBASIC?

A variable in QBASIC is a named storage location that holds a value.

A variable in QBASIC is a command that executes code.

A variable in QBASIC is a type of function.

A variable in QBASIC is a graphical interface element.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Name three data types available in QBASIC.

Character

Float

DateTime

Integer, String, Boolean

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of an IF statement in control structures?

To create loops in code execution.

To store data in memory.

The purpose of an IF statement is to control the flow of execution based on a condition.

To define a variable in programming.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you create a loop in QBASIC?

Use DO...LOOP to create loops in QBASIC.

Use REPEAT...UNTIL to create loops in QBASIC.

Use LOOP...END to create loops in QBASIC.

Use FOR...NEXT or WHILE...WEND to create loops in QBASIC.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What command is used to take user input in QBASIC?

INPUT

GET

READ

SHOW

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you display output to the screen in QBASIC?

Use the PRINT statement.

Utilize the SHOW statement.

Use the DISPLAY command.

Employ the OUTPUT function.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the difference between a procedure and a function in QBASIC?

A function is only used for mathematical calculations; a procedure is not.

A procedure is always faster than a function in execution.

A procedure does not return a value; a function does.

A procedure can return multiple values; a function cannot.

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?