Font size
WorksheetsGrade 8 ICT
Total questions: 20
Worksheet time: 15mins
Say is used to convert text to (a)
A loop is used to (a) a block of code at different places in a program
The speak statement is used in BASIC 256 to read an expression aloud
True
False
The say statement is used in BASIC 256 to read a statement
(a)
Repetitive statements such as ‘for’ and ‘while’ are called ______
Loop
Statement
Condition
________ help in understanding the flow of the program and
debugging the program.
Comment
Loop
Say
The _______ statement of the subroutine sends the control back to
where the ______ was called from.
Return , subroutine
Label,goto
Subroutine, goto
When a call is made to the subroutine using return statement, the
program control is transferred to the subroutine.
True
False
A Subroutine is used to repeat a block of code at different places in a
program.
True
False
In the below program, what would be the output?
# left,mid,right,upper,lower
a$=Triangle
print left(a$,3)
a. Tri
b. angle
c. ang
d. gle
In the below program, what would be the output?
a$=Good
print upper (a$)
Good
GOOD
GOod
good
Repetitive statements such as ___and ___are called loop
(a)
(a) statement is used to display text and numbers on the screen.
(a) sign is used to display the output of two statements in same
line.
(a) is the set of rules that specifies the grammar of the
programming language.
The order of arithmetic operations followed by BASIC is called
(a) .
(a) is the statement to retrieve string or numbers that the user
types.
Variables are case sensitive.
True
False
Print “BODMAS: (30+40-5*10)=” + (30+40-5*10)
BODMAS: (30+40-5*10)=20
BODMAS: (30+40-5*10)=10
20
Find the output.
cp$=5000
sp$=4000
loss=cp$-sp$
print loss
Loss
Error
