wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

python math

Total questions: 10

Worksheet time: 8mins

Name
Class
Date
1.

multiplication of x and y

a)

x * y

b)

sqrt(x)

c)

exp(x)

d)

pow(x,y)

2.

-11.0//3 =

a)

-4.0

b)

-4

3.

remainder of x/y

a)

cmp(x,y)

b)

x % y

c)

x / y

d)

sqrt(x)

4.

sum of x and y

a)

x ** y

b)

abs(x)

c)

x + y

d)

x % y

5.

factorial of the number X

a)

math.copysign(X, Y)

b)

math.factorial(X)

c)

math.fmod(X, Y)

d)

math.log(X, [base])

6.

the logarithm of X over the base base.

a)

math.cos(X)

b)

abs(x)

c)

math.log(X, [base])

d)

sqrt(x)

7.

9.0//2.0 =

a)

4

b)

4.0

8.

If values of two operands are not equal, then condition becomes true.

a)

!=

b)

<

c)

>=

d)

<=

9.

division of x by y

a)

x / y

b)

x % y

c)

x ** y

d)

sqrt(x)

10.

the inverse cosine of X. In radians.

a)

math.cos(X)

b)

math.asin(X)

c)

math.acos(X)

d)

math.sin(X)