wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Python Quiz

Total questions: 10

Worksheet time: 6mins

Name
Class
Date
1.

Python will evaluate the expressions using the standard ______rule for the Order of calculations.

a)

PEMDES

b)

PMEDAS

c)

PEMDAS

d)

PMDAS

2.

The input( ) function returns the input as a ______

a)

string

b)

Label

c)

Variable

d)

Module

3.

Which method is used to check whether the given number is integer or not

a)

int( )

b)

is_integer( )

c)

float( )

d)

None

4.

The differences between two consecutive integers procduced by the range( ) function is known as_____

a)

int value

b)

float value

c)

step value

d)

None

5.

By which method we can add items later in the empty list

a)

empty.append( )

b)

empty.list.append()

c)

emptylist.append( )

d)

None

6.

The plot( ) function only create____,to actually display it,we have to call____

a)

graph,show( )

b)

points,Show( )

c)

customising,show()

d)

None

7.

The labelling and position of the number in the list is called the (a)   -

8.

In the python program which function helps to calculate the sum of products from the two sets of numbers

a)

most_common( )

b)

counter function

c)

sort( )

d)

zip( )

9.

The _____ function will calculate the sum and length of any list

a)

calculate_Median

b)

calculate_mean

c)

counter function

d)

None

10.

To make the given list in the ascending order we use____method

a)

sort( )

b)

zip( )

c)

len( )

d)

None