wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

QBASIC

Total questions: 10

Worksheet time: 6mins

Name
Class
Date
1.

Identify which out of the following is not a valid QBASIC Statement

a)

LET

b)

INPUT

c)

PRINT

d)

SET

2.

What is the output of the given code in QBASIC

a)

10 5

b)

5 10

c)

10 15

d)

15 10

3.

What is the extention of a QBASIC Program

a)

.exe

b)

.bas

c)

.cpp

d)

.py

4.

The QBASIC Statement for accepting the values from the user:-

a)

LET

b)

PRINT

c)

REM

d)

INPUT

5.

Which out of the following is a valid variable to hold the text in QBASIC.

a)

LET

b)

$S

c)

S$

d)

SS

6.

Statement in QBASIC to clear the output screen

a)

CLS

b)

CLEAR

c)

CLEAR SCREEN

d)

CLRSCR

7.

LET a = 5

IF a MOD 2 = 1 THEN

PRINT a + 1

ELSE

PRINT a - 1

END IF

a)

6

b)

4

c)

5

d)

3

8.
a)

1-iv, 2-iii, 3-v, 4-i, 5-ii

b)

1-iii, 2-iv, 3-ii, 4-v, 5-i

c)

1-v, 2-i, 3-iv, 4-ii, 5-iii

d)

1-ii, 2-v, 3-i, 4-iii, 5-iv

9.

Which of these do you use to finish a program?

a)

QUIT

b)

END

c)

STOP

d)

ENDPRGRM

10.

QBasic was developed by which company?

(a)