Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

Class VIII

Ch- 7 & 8 Worksheet


1) A number with or without decimal point is a …Numeric………
constant.
2) ‘ 1@123’ is an example of ……String……………. Constant.
3) Mathematical operations cannot be performed on …String………
constants.
4) Age% is a ……Numeric……………. Variable.
5) A…variable……………….. is a place in the computer memory
which stores data temporarily.
6) Grade$ is a ……string……………. Variable.
7) Keywords …………………… be used as variable.( can/cannot).
8) The result of AND operator is ……True………….. when both the
expressions are TRUE.
9) The result of OR operator is ……True………….. when any of the
expressions is TRUE.
10) What will be the result of following expression :-
A> B AND A<>C (if A= 2, B= 3, C= -2)
i. TRUE ii. FALSE
11) The default value of STEP is ……1………… in For Loop.
12) Answer the following questions on the basis of given code:-
FOR COUNT=1 TO 5
PRINT COUNT
NEXT COUNT
What is the Variable name, Initial value , Final value and
STEP value in the code?
Ans. Variable name – COUNT
Initial value- 1
Final value- 5
STEP - 2

You might also like