wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

qbasic

Total questions: 71

Worksheet time: 36mins

Name
Class
Date
1.

qbasic was developed in the (a)  

2.

qbasic was developed in the (a)  

3.

qbasic was developed in the (a)  

4.

data type of "number" is

a)

numeric constant

b)

numeric variable

c)

alphanumeric constant

d)

alphanumeric variable

5.

maximum length of numeric data

a)

256

b)

2

c)

8

d)

255

6.

the string variable must end with (a)   sign

7.

every program should logically terminate with

a)

end

b)

stop

c)

quit

d)

exit

8.

maximum length of a string constant is

a)

255

b)

8

c)

24

d)

266

9.

_______ operator checks if all conditions are true

a)

AND

b)

OR

c)

NOT

10.

(a)   operator negates the result

11.

__________ are words that have special meaning which was previously assigned for performing specific tasks

a)

reserved words

b)

pre-defined words

c)

special words

d)

command words

12.

(a)   can change their value during execution.

13.

__________ is not a part of the string

a)

double quotations

b)

brackets

c)

special characters

14.

string should be enclosed within

a)

brackets

b)

double quotations

c)

single quotations

d)

dollar sign

15.

qbasic was developed by __________ and ________

a)

John kemeny

b)

thomas kurtz

c)

dennis ritchie

d)

niklaus wirth

16.

function key used to run the program

a)

F5

b)

F2

c)

F4

d)

F8

17.

Which of the following is non-executable statements ?

a)

REM

b)

END

c)

LET

d)

PRINT

18.

Which of the following statement used to print a blank line?

a)

PRINT

b)

PRINT BLANK

c)

PRINT NEXTLINE

d)

PRINT NEW

19.

Abbreviation of REM is

a)

remind

b)

remember

c)

remarks

d)

recommend

20.

(a)   is a optional assignment statement

21.

Statement used to format the output

a)

locate

b)

tab

c)

print

d)

run

22.

total number of rows , total number of columns in the monitor

a)

50 , 20

b)

80,25

c)

125, 225

d)

25, 80

23.

separator used to get the zone-wise display

a)

,

b)

;

c)

:

d)

"

24.

option used to come out of qbasic

a)

file -> close

b)

file -> exit

c)

file -> quit

d)

file -> new

25.

_________ statement should be followed by ________ statement to enable formatted display.

a)

PRINT , LOCATE

b)

LOCATE , PRINT

c)

REM , PRINT

d)

LET , PRINT

26.

Monitor screen is divided into (a)   zones

27.

combination of constants and variables connected by operators

a)

sentence

b)

expressions

c)

program

d)

statement

28.

which of the following is at the top of the hierarchy

a)

*

b)

( )

c)

^

d)

-

29.

We write programs using

a)

programming language

b)

machine languages

c)

tamil

d)

hindi

30.

_______ is the process of giving information to a computer to perform a specific task.

a)

Program

b)

Language

c)

Programming

d)

None of the above

31.

Program is a set of instructions given to the computer to complete ___________.

a)

program

b)

programmer

c)

language

d)

particular task

32.

Program is a set of instructions given to the computer to complete ___________.

a)

program

b)

programmer

c)

language

d)

particular task

33.

Program is a set of instructions given to the computer to complete ___________.

a)

program

b)

programmer

c)

language

d)

particular task

34.

What are binary digits?

a)

1s and 0s

b)

1s

c)

0s

d)

natural numbers

35.

Language understood by computer is ____________ .

a)

high level language

b)

translator

c)

machine language

d)

interpreter

36.

A high level language uses _____________ .

a)

binary codes

b)

simple human words and phrases

c)

machine languages

d)

interpreter

37.

Pascal, C, Java are _________

a)

low level language

b)

machine language

c)

high level language

d)

none of the above

38.

Pascal is a machine language.

a)

True

b)

False

39.

High level language also called as

a)

object code

b)

machine code

c)

high code

d)

source code

40.

Machine language is also called as ____________ .

a)

object code

b)

source code

c)

high level language

d)

compiler

41.

I am a special program and I convert the source program to object program. Who am I?

a)

Translator

b)

machine

c)

robo

d)

none of the above

42.

_____________ checks the entire user - written program and translates the complete program into the machine language.

a)

Interpreter

b)

Compiler

c)

Composer

d)

system

43.

_________ converts the high level language program line by line, to machine language.

a)

Compiler

b)

source program

c)

object program

d)

Interpreter

44.

__________ produces an error list for the entire program at the end.

a)

Interpreter

b)

Compiler

c)

Translator

d)

All of the above

45.

______ gives error for the particular line before executing the next line. The errors must be rectified before proceeding to the next line.

a)

Compiler

b)

Translator

c)

Interpreter

d)

All of the above

46.

An _______ is a step by step procedure to solve a particular problem.

a)

Algorithm

b)

Interpreter

c)

Compiler

d)

None of the above

47.

Algorithms usually written in _________ language.

a)

machine

b)

tamil

c)

human

d)

greek and latin

48.

Algorithm is a precedent to writing the actual program.

a)

True

b)

False

49.

Clear understanding and knowing the background of the problem is not necessary while writing an algorithm.

a)

False

b)

True

50.

Good algorithm should receive _________ from user.

a)

inputs

b)

output

c)

calculation

d)

none of the above

51.

Every step in algorithm should be __________ .

a)

complex

b)

delicate

c)

sensitive

d)

clear and accurate

52.

Every algorithm and flowchart should give desired _____.

a)

input

b)

output

c)

error

d)

complexity

53.

Good algorithm should be ______ independent.

a)

machine

b)

human

c)

language

d)

flowchart

54.

Incomplete loops can be given in algorithm.

a)

True

b)

False

55.

A ____________ can be defined as a diagrammatic representation of the sequence of steps.

a)

algorithm

b)

flowchart

c)

high level language

d)

machine level language

56.

Flowchart is drawn using ____________.

a)

line alone

b)

trees

c)

figures

d)

shapes / symbols

57.

Flowchart is easier to understand at a glance.

a)

True

b)

False

58.

What does terminal symbol denote?

a)

start alone

b)

Starting and finishing steps

c)

finishing alone

d)

none of the above

59.

________ symbol denotes data to be entered and information that is to be displayed.

a)

Input / output symbol

b)

Input alone

c)

Output alone

d)

Calculation

60.

________ symbol denotes data to be entered and information that is to be displayed.

a)

Input / output symbol

b)

Input alone

c)

Output alone

d)

Calculation

61.

What is the name of rectangle shape in flowchart?

a)

Process symbol

b)

Input symbol

c)

Connector symbol

d)

Output symbol

62.

I am used for decision making. Who am I?

a)

Input symbol

b)

Decision symbol

c)

Processing symbol

d)

Output symbol

63.

What is given inside decision symbol?

a)

Input

b)

Condition

c)

Output

d)

Calculation

64.

___________ is used to connect different parts of a flowchart.

a)

connector

b)

input

c)

output

d)

processing

65.

Arrows are used to indicate the __________.

a)

inputs

b)

outputs

c)

logic flow of process

d)

decision

66.

Flowcharts can have open ends.

a)

True

b)

False

67.

What is given inside decision symbol?

a)

Input

b)

Output

c)

condition

d)

connector

68.

What symbol is this?

a)

Connector

b)

Input

c)

Output

d)

Decision

69.

_________________ is used to connect different parts of a flow chart ?

a)

Condition

b)

Output

c)

Connector

d)

Input

70.

Arrows are used to indicate the _________.

a)

Input

b)

Output

c)

Decision

d)

Logic flow od process

71.

Flow chart can have open ends.

a)

True

b)

False