wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

CLASS 8 COMPUTER REVISION

Total questions: 11

Worksheet time: 8mins

Name
Class
Date
1.

What is the extension of a python file

a)

.pp

b)

.py

c)

.pt

2.

……………. cloud service that can be accessed by any user with an internet connection.

a)

Public

b)

Private

3.

When number of iterations is not known beforehand we may use this .................loop

a)

foor

b)

while

4.

x=5

while x<10:

    x=x+2

print(x)

a)

10

b)

11

c)

12

d)

13

5.

What is the answer to this expression, 22%3 is

a)

7

b)

1

c)

0

d)

5

6.

Which is the correct operator for power  xyx^y  

a)

x^y

b)

x**y

c)

x^^y

d)

None of these

7.

What is the output of this expression, 3*1**3

a)

27

b)

9

c)

3

d)

1

8.

is Python case sensitive when dealing with identifiers?

a)

yes

b)

no

c)

machine dependent

d)

none of these

9.

is python is platform independent

a)

yes

b)

no

10.

What is the result of following Program in python3

a=10

b=20

c=a+b

print("Sum is"+c)

a)

Sum 30

b)

Sum is 30

c)

error

d)

30

11.

What is the result of following Program in python3

for i in range(1,4):

print(i)

if(i==2):

break;

a)

1

b)

1

2

c)

1

2

3

4

d)

error