wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

QBASIC For Grade 6

Total questions: 45

Worksheet time: 45mins

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.

Statement in QBASIC to clear the output screen

a)

CLS

b)

CLEAR

c)

CLEAR SCREEN

d)

CLRSCR

8.

Which of these do you use to finish a program?

a)

QUIT

b)

END

c)

STOP

d)

ENDPRGRM

9.
What is a program?
a)
A set of instructions to be carried out by a computer
b)
The person writing a program
c)
A hacking tool for websites
10.
What is a programming language?
a)
A Language of computers
b)
A Language in which instructions are given to computer
c)
Binary numbers
11.
What is BASIC?
a)
An early programing language
b)
A operating system
c)
Desktop system
12.
What does BASIC stand for?
a)
Beginners All-purpose Symbolic Instruction Code
b)
Beginning Advanced symbol Instruction Code
13.
What does REM in QBASIC do?
a)
Gives a remark in the program
b)
displays something to the screen
c)
takes input from the user
14.
What does PRINT in QBASIC do?
a)
Displays something to the screen
b)
Gives a remark in the program
c)
Takes input from the user
15.
What does INPUT in QBASIC do?
a)
Displays something to the screen
b)
Gives a remark in the program
c)
Takes input from the user
16.
What does LET in QBASIC do?
a)
Displays something to the screen
b)
Gives a remark in the program
c)
Declares a variable
17.
What is a variable?
a)
Displays something to the screen
b)
Gives a remark in the program
c)
A letter representing some value
18.
What does the command REM stand for?
a)
Remark
b)
Remake
c)
Remove
19.

Numeric Constants are assigned to -------

a)

Numeric Variables

b)

Numeric Constants

c)

None of the Above

20.

Alphanumeric variables always end with a -------.

a)

Semi - colon (;)

b)

Dollar sign ($)

c)

Hash (#)

21.

Variables always begin with -----------.

a)

Number

b)

Alphabet

c)

Constant

22.

--------- constants are always enclosed in double quotes.

a)

String

b)

Alphanumeric Constants

c)

Both 1 & 2

23.

Comma is not allowed while writing ------- constants.

a)

Numeric

b)

Alphanumeric

c)

None of the above

24.

Data can be divided into two

a)

Constants

b)

Variables

c)

Both 1 & 2

25.

Numeric constants can be divided into ----------

a)

Two

b)

Three

c)

Four

26.

--------- change their values at the time of the execution of the program.

a)

Numeric

b)

Variable

c)

Both 1 & 2

27.

The appropriate variable for "Understanding Information Technology" is

a)

B$

b)

B

c)

None of the above

28.

A45 is a valid numeric variable.

a)

True

b)

False

29.

A+B is not a valid alphanumeric variable.

a)

True

b)

False

30.

Special characters are used in variables.

a)

True

b)

False

31.

Numeric constants are stored in numeric variable.

a)

True

b)

False

32.

Decimals are not allowed in numeric constants.

a)

True

b)

False

33.

it belongs to __________ level programming language

a)

higher

b)

high

c)

lower secondary

d)

secondary

34.

what does CLS stand for?

a)

company leisure screen

b)

clear screen

c)

clean screen

d)

custom screen

35.

QBASIC is a version of

a)

BASIC

b)

POWER BASIC

c)

VISUAL BASIC

d)

GWBASIC

36.

The character set in QBasic is

a)

string,numeric,hash

b)

numeric,letters,special chacarters

c)

alphabet,numbers,numerics

d)

command, statement,print

37.

x=5

a)

is numeric constant

b)

is alphabet constant

c)

is algebraic constant

d)

is string constant

38.

an example of a string constant is

a)

"123"

b)

-7

c)

4rs

d)

5/6

39.

QBasic is a a ___________language.

a)

First

b)

system

c)

complier

d)

programming

40.

For executing a program, click on_____menu.

a)

file

b)

view

c)

run

d)

debug

41.

Every_______ has some rules of syntax, grammar and spelling.

a)

language

b)

Program

c)

character

d)

word

42.

Let statement is _______.

a)

Executable

b)

Non- executable

43.

Which of the following is not a conditional statement?

a)

GO TO

b)

IF .......THEN

c)

LET

d)

FOR......NEXT

44.

LET statement is a type of______.

a)

Declaration statement

b)

Assignment statement

c)

INPUT/OUTPUT statement

d)

Control Statement

45.

GOTO statement is a type of______.

a)

Declaration statement

b)

Assignment statement

c)

INPUT/OUTPUT statement

d)

Control Statement