wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

6th standard qbasic

Total questions: 71

Worksheet time: 36mins

Name
Class
Date
1.

________ is pictorial representation of a program

a)

Flowchart

b)

algorithm

c)

diagram

d)

graph

2.

_____ is the language suited for beginners

a)

Basic

b)

java

c)

machine language

d)

object code

3.

The Intelligence Quotient (IQ) of a computer is ______

a)

zero

b)

infinite

c)

100

d)

10

4.

________ is used to indicate the flow of logic.

a)

Arrow

b)

line

c)

equal to

d)

statements

5.

The method of giving every command in the form of 0’s and 1’s is ______

a)

Machine Language

b)

Numbers

c)

Assignment

d)

High level language

6.

____________ translates and executes the program line by line.

a)

Interpreter

b)

Compiler

c)

Program

d)

qbasic

7.

_________ is a very powerful language that has become very popular, especially for internet programming.

a)

JAVA

b)

PASCAL

c)

QBASIC

d)

C

8.

The __________ is the symbol used to denote the starting and finishing steps of a flowchart.

a)

Terminal symbol

b)

Starting symbol

c)

Ending symbol

d)

Process symbol

9.

Algorithm forms a foundation for the user to write ______ in any language.

a)

programs

b)

paragraph

c)

output

d)

essay

10.

The translated program in machine language is known as _____

a)

Object code

b)

Source program

c)

high level language

d)

interpreter

11.

The string variable may end with ___

a)

$

b)

#

c)

.

d)

" "

12.

The maximum length of a string constant is ___ characters.

a)

255

b)

256

c)

4

d)

8

13.

Data type of “CHETTINAD” is ____________

a)

String constant

b)

string variable

c)

numeric

d)

alphabets

14.

Special character not allowed in Numeric constant is_______

a)

,(comma)

b)

;(semicolon)

c)

.(dot)

d)

-(hypen)

15.

_____is the operator which negates the result.

a)

NOT

b)

AND

c)

OR

d)

None of the above

16.

The length of the variable name should not exceed ______.

a)

40

b)

42

c)

12

d)

36

17.

^ is an _____operator.

a)

Arithmetic

b)

Logical

c)

Relational

d)

Addition

18.

______is the combination of constants and variables connected by operators.

a)

Expression

b)

Constant

c)

Variable

d)

Statement

19.

The value of the expression 7*4/2+5-2^3 is ____.

a)

11

b)

10

c)

5

d)

0

20.

PNR/100—its equivalent QBASIC expression is ______.

a)

P*N*R /100

b)

P/N*R*100

c)

R/P*N*100

d)

N/P*R*100

21.

_____Option is used to come out of QBASIC.

a)

File→Exit

b)

File->save

c)

File->quit

d)

File->edit

22.

______Key is used to delete a character to the left of the cursor.

a)

Back space

b)

Delete

c)

Space bar

d)

Enter

23.

Abbreviation of REM is ______.

a)

Remarks

b)

Result

c)

Remember

d)

Remain

24.

_____is the Optional assignment statement.

a)

LET

b)

DIM

c)

REM

d)

None of the above

25.

Every QBASIC program should be terminated with _____.

a)

END

b)

QUIT

c)

EXIT

d)

HALT

26.

______is the Separator used to get the zone-wise display.

a)

,(comma)

b)

.(dot)

c)

;(semicolon)

d)

-(hyphen)

27.

_____Statement is used to control the vertical display.

a)

Print

b)

Input

c)

Let

d)

Dim

28.

_____Statement is used to format the output.

a)

Locate

b)

Print

c)

Find

d)

Seek

29.

Function key _____is used to run the program.

a)

F5

b)

ALT+F5

c)

CTRL+F5

d)

F7

30.

The normal screen has a dimension of ________.

a)

25 rows/80 columns

b)

80 rows/25 columns

c)

23 rows/80 columns

d)

25 rows/85 columns

31.

The INPUT statement is used to accept the data values from the _____device and store it in the memory variable.

a)

input

b)

display

c)

print

d)

output

32.

If the values entered by the user do not match the variables given in the INPUT statement the error message displayed is ______.

a)

Redo from start

b)

Just Start

c)

Undo from start

d)

erase

33.

_____statement is used to assign a value to a variable during the execution of the program.

a)

INPUT

b)

OUTPUT

c)

DISPLAY

d)

LET

34.

____is the character used to suppress the marks in the input with message.

a)

Comma

b)

Semicolon

c)

Dot

d)

Hyphen

35.

Input prompt is ____.

a)

?

b)

,

c)

;

d)

.

36.

_____Statement is particularly very useful for conversational mode of programming.

a)

INPUT

b)

OUTPUT

c)

ASSIGNMENT

d)

RELATIONAL

37.

Input cannot store the _____value in a numeric variable.

a)

string

b)

constant

c)

numeric

d)

integer

38.

In an Input statement, while entering string values without commas, they need not be enclosed within _____quotations.

a)

double

b)

single

c)

dot

d)

comma

39.

Optional part in IF…THEN is ____.

a)

ELSE

b)

ELSE IF

c)

END

d)

STEP

40.

If the condition is ____, control is transferred to the next line following the IF…THEN statement.

a)

FALSE

b)

TRUE

c)

None of the above

41.

If a program requires a large number of repetitions, it involves the usage of a lot of _____ variable.

a)

Counter

b)

Iteration

c)

Repeat

d)

Constant

42.

FOR A = 1 TO 3, the _____is represented by A.

a)

Control variable

b)

Loop variable

c)

Constant variable

d)

Index variable

43.

Next is used to _____the value of the control variable.

a)

increment

b)

decrement

c)

addition

d)

reduction

44.

If the initial and final values are same, it executes the FOR loop for _____.

a)

1 time

b)

2 times

c)

0 time

d)

3 times

45.

In FOR…NEXT loop, ____is optional.

a)

Step

b)

Increment

c)

decrement

d)

looping

46.

IF..THEN..ELSE is called as ____statement.

a)

control

b)

looping

c)

assignment

d)

end

47.

Logical operators that can be used in IF...Then. Else statement are ___, ___, ___.

a)

AND,OR,NOT

b)

AND,NOT,LET

c)

AND,OR,DIM

d)

DIM,LET,PRINT

48.

Operator used to join two or more relational expressions or comparison statements is ______.

a)

Logical operator

b)

Relation operator

c)

Assignment operator

d)

decision operator

49.

PRINT LEN (“CHETTINAD VIDYASHRAM”) returns __.

a)

20

b)

19

c)

22

d)

26

50.

_____ function has 3 arguments.

a)

MID$ ( )

b)

MID( )

c)

MIDDLE( )

d)

MIDDLE$( )

51.

In _____ function, the extraction is the same as the order of entry of the characters.

a)

Right$ ( )

b)

RIGHT( )

c)

RIGHTF( )

d)

LEFT$( )

52.

_____ function has no effect on a positive number.

a)

ABS ( )

b)

ABSOLUTE( )

c)

AB( )

d)

ABS$( )

53.

FIX ( ) returns the value of digits to the ____of the decimal point.

a)

Left

b)

Right

c)

center

d)

middle

54.

______help to evaluate complex mathematical operations in a very quick and efficient manner.

a)

Mathematical functions

b)

English

c)

Assignment

d)

Printing

55.

A ____can be used in any place where an expression is valid.

a)

Function

b)

Decision

c)

Looping

d)

Inputing

56.

Pre –written, built in instructions are called as _____.

a)

Library function

b)

Assignment function

c)

Use defined function

d)

None of the above

57.

A function always returns ______.

a)

a value

b)

more than one value

c)

no value

d)

two values

58.

MID$(“Chettinad”,5,4) returns ____.

a)

tina

b)

ttin

c)

Chet

d)

inad

59.

____refers to the number of cells to be reserved in the memory.

a)

Size

b)

space

c)

location

d)

bits

60.

An array must be defined only ___in the program.

a)

once

b)

2

c)

3

d)

none of the above

61.

By default, all the cells of a numeric array will hold the value ____.

a)

Zero

b)

One

c)

Two

d)

None of the above

62.

If in a DIM statement, more than one array is declared, they should be separated by ____.

a)

Comma

b)

Semicolon

c)

Dot

d)

Hyphen

63.

The data items of an array should be _____.

a)

homogenous

b)

heterogeneous

c)

simple

d)

mixed

64.

When DIM is not used, the size of the array is ____.

a)

11

b)

10

c)

12

d)

15

65.

DIM refers to _____.

a)

Dimension

b)

Difference

c)

Dimin

d)

Dilute

66.

____is the number that identifies a particular element in any array.

a)

Subscript

b)

Superscript

c)

Index

d)

print

67.

The DIM statement should be placed at the _____of the program.

a)

beginning

b)

end

c)

anywhere

d)

last

68.

A subscript of an array must be ____.

a)

+ve

b)

-ve

c)

0

d)

any value

69.

An ____is a collection of related elements under a common name.

a)

Array

b)

For Loop

c)

IF Then

d)

For Loop Step

70.

____statement specifies the size and type of an array.

a)

DIM

b)

LET

c)

INPUT

d)

REM

71.

Input cannot store the _____value in a numeric variable.

a)

string

b)

constant

c)

numeric

d)

integer