Data types
Variable
operators
Miscellaneous
logic
100

What is the data type of decimal numbers

float

100

What is a variable

Variable is something whose value can be changes

100

What's the operator for modulus

%

100

What does this mean

import math

importing a math library in your program 

100

What does the symbols for comment?

#

200

What's the data type of a variable?

a=400.56

float

200

which one are valid variable names?

_sa_area

&sa_area


_sa_area

200

What's the operator for integer division

//

200

What is a round function

rounding the float variable to specific decimal places

200

What is the meaning of double quotes

Display single line as the output

300

what are the basic data types 

int,float and string

300

In Python, a variable may be assigned a value of one type, and then later assigned a value of a different type:

True or False

True

300

What's the output of this

a=21/2

b=21%2

c=21//2

10.5,1,10

300

What's the value of this expression?

2+3*10+10%2*10

32

300

What is string concatenation

the process of appending one string to the end of another string

400

correct or incorrect?

a=20.3

print("The value of a is"+str(a))

correct

400

What's the type function used for ?

to tell the data type of a variable

400

what's the output of this?

20+10*3-(15-7)+27//2

55

400

What's the value of this expression?

118+2+10*19*(10+10)*2%2

120

400

What's the output of this?

name="100"

print("The value of the name is", +name)

The value of the name is 100

500

what's the output of this?

a=int(123.45)

b=12.3

print(a+b)

135.3

500

x=100

y=x

print(y)

100

500

What arithmetic operators do we have in python

+,-,*,**,/,//,%

500

What's the output of this?

a=200.34

b=20.034

print(a==b)

False

500

What's the output?

a=100

b=200

print(a>=b)

False

M
e
n
u