This page requires a JavaScript-enabled browser
Instructions on how to enable your browser are contained in the help file.
Chapter 11 Control Statements - 2
1.
Name the error that you can find in the statement. PRINT "ENTER YOUR % MARKS"; M.
a) Execution
b) None
c) Logical
d) Syntax
2.
To produce sound of frequency F and duration T, the syntax is
a) SOUND TF
b) SOUND FT
c) SOUND T, F
d) SOUND F,T
3.
The default value of the increment specified by STEP in FOR-NEXT loop is ____________.
a) Zero
b) 1
c) -1
d) 10
4.
ON-ERROR GOTO statement is used to detect:
a) Logical Error
b) Logical and Syntax Error
c) Execution Error
d) Syntax Error
5.
Loops are particularly useful in programs containing ____________ statements
a) READ-DATA
b) Restore
c) None
d) Input
6.
Which of the following is a multiple choice statement:
a) ON-ERROR GOTO
b) IF-THEN ELSE
c) ON-GOTO
d) FOR-NEXT
7.
If________ is inserted at the end of line of PRINT statement, it will cause printing in 5 zones.
a) Colon
b) Comma
c) Semi colon
d) Full stop
8.
To stop execution of the program press _______________
a) Ctrl + B keys
b) End Key
c) Alt + Break Keys
d) Ctrl + Break keys
9.
_________ loop is used when the number of iterations is not known in advance.
a) ON-GOTO
b) WHILE-WEND
c) WHILE-END
d) FOR-NEXT
10.
In the absence of ELSE in IF-THEN-ELSE statement, control transfers automatically to _________ statement:
a) End
b) Next executable
c) Previous
d) None of the above
This is more feedback!
This is the feedback!