NEW
Font size
S
M
L
XL
Worksheets12G 2021
Total questions: 7
Worksheet time: 4mins
Name
Class
Date
1.
int x=7 is an example code of
a)
INTEGER
b)
FLOAT
c)
CHARACTER
d)
BOOLEAN
2.
bool x=false;
a)
integer
b)
character
c)
boolean
d)
float
3.
When the function does not return any
data
a)
integer
b)
void
c)
fraction
d)
character
4.
When the function returns data of type
integer
1, 2, 0, 300, 201
a)
fraction
b)
‘void’
c)
character
d)
integer
5.
When the function returns data as
fractions
1.2, 0.9, 3.11, 3.09
a)
fraction
b)
integer
c)
character
d)
Boolean data
6.
When the function returns data as
characters
Z, name
...
a)
character
b)
Boolean data
c)
fraction
d)
‘void’
7.
When the function returns data of type
Boolean
true, false
1, 0
a)
‘void’
b)
integer
c)
fraction
d)
Boolean data
Reset
