wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

ict group 3 quiz

Total questions: 11

Worksheet time: 5mins

Name
Class
Date
1.

There are 2 variables x and y which have been assigned the values 2 and 4 respectively. If the x**=y command is there the program performs it what is the value of x and y now ?

a)

x = 18

y = 3

b)

x = 16

y = 4

c)

x = 3

y = 5

d)

x = 2

y = 4

2.

Which of the following input command in python is correct? (variable = m)

a)

m = iput()

b)

input() = m

c)

input(m) =

d)

m = input()

3.

Is the modulus(%) is an arithmetic operator or an assignment operator?

a)

arithmetic operator

b)

assignment operator

4.

The five types of data types are

a)

integer, long integer, float, decimal, string

b)

whole, decimals, true or false, long whole, string

c)

integer, float, long integer, boolean, string

5.

the following value("14.55") is included in which data type?

a)

integer

b)

float

c)

long integer

d)

boolean

6.

Is this the correct icon of python for windows?

a)

yes

b)

no

c)

I don't know

7.

Which of the following print statement is correct? (variable = n)

a)

print n

b)

pint (n)

c)

print ("n")

d)

print (n)

8.

What's the problem with the python program?

a)

the input statement is wrong

b)

the strings of input and print statement are not enclosed in double qoutes

c)

the print statement is wrong

d)

the variables names are incorrect

9.

What's the problem with the program now?

a)

input statement is wrong

b)

the area variable is first in the spelling (area) but while printing it is (areA) and python is case sensitivity

c)

the print statement is wrong

d)

the int word and the bracket should be removed

10.

What should be the output of the program?

a)
b)
c)
d)
11.

How was the quiz?

a)

very good

b)

good

c)

fine

d)

very bad