wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Python Basics

Total questions: 5

Worksheet time: 4mins

Name
Class
Date
1.

Which of the the following is a correct list of data types

a)

Integer, float, boolean, list

b)

Integer, float, string, list

c)

Integer, float, boolean, tuple, dictionary

d)

Integer, float, boolean, set, tuple

e)

All of the above

2.

What are operators

a)

Special symbols that represent computation like ; (+, -,* , /, //, %, *)

b)

They are types of data

c)

They are used to create addition bot

d)

They are used to create multiplication table

3.

Which of the following OPERATORS are matched correctly.

a)

Addition ( + )

Division ( / )

Remainder/Modulo ( / )

Multiplication ( * )

Exponentiation /Raise to power of somthing ( ** )

b)

Addition ( + )

Division ( % )

Remainder/Modulo ( / )

Multiplication ( * )

Exponentiation /Raise to power of somthing ( ** )

c)

Addition ( + )

Division ( / )

Remainder/Modulo ( % )

Multiplication ( * )

Exponentiation /Raise to power of somthing ( ** )

d)

Addition ( + )

Division ( / )

Remainder/Modulo ( % )

Multiplication ( ** )

Exponentiation /Raise to power of somthing ( * )

e)

Addition ( + )

Division ( // )

Remainder/Modulo ( % )

Multiplication ( ** )

Exponentiation /Raise to power of somthing ( * )

4.

What is a loop in python

(a)  

5.

Which of the following is not a type of loop

a)

While loop

b)

For loop

c)

Nested loop

d)

Creative loop