wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

python quiz

Total questions: 29

Worksheet time: 16mins

Name
Class
Date
1.

arithmetic operators performs equations

a)

false

b)

true

2.

selection is a process of making decisions

a)

false

b)

true

3.

decision-making is not an essential part of problem-solving

a)

false

b)

true

4.

logical operators determine the truth value of combined conditions

a)

false

b)

true

5.

evaluation is not necessary in decision-making processes

a)

true

b)

false

6.

bitwise operators do not manipulate individual bits of their operands

a)

false

b)

true

7.

conditional statements are used to perform different actions based on different conditions

a)

false

b)

true

8.

iteration is not the repetition of a process

a)

false

b)

true

9.

feedback is crucial for effective decision-making

a)

true

b)

false

10.

loops are used to execute a block of code multiple times

a)

true

b)

false

11.

relational operators compare the relationship between values

a)

true

b)

false

12.

Do conditional loops require a termination condition to stop executing?

a)

true

b)

false

13.

Can decision trees be used to support decision-making processes?

a)

true

b)

false

14.

Is it true that unary operators operate on a single operand?

a)

true

b)

false

15.

data type is

(a)  

16.

Do switch statements allow for multiple conditions to be checked simultaneously?

a)

true

b)

false

17.

Is it true that modulus operators provide the remainder of a division operation?

a)

true

b)

false

18.

Can arrays store multiple values of different data types in most programming languages?

a)

false

b)

true

19.

Do bitwise shift operators change the bit pattern of the operand?

a)

true

b)

false

20.

Is recursion a method of solving problems by breaking them down into smaller, manageable sub-problems?

a)

true

b)

false

21.

Do comparison operators return a boolean value?

a)

true

b)

false

22.

what is variables

a)
Variables are mathematical equations
b)
Variables are used for styling web pages
c)
Variables are containers for storing data values.
d)
Variables are a type of computer virus
23.

Are variables used to store information in a program?

a)

true

b)

false

24.

Can functions return multiple values in most programming languages?

a)

true

b)

false

25.

Is it true that constants are similar to variables but their values cannot be changed once set?

a)

true

b)

false

26.

Is the use of ternary operators a shorthand for if-else statements?

a)

true

b)

false

27.

Do logical 'AND' operators return true if both operands are true?

a)

true

b)

false

28.

Is polymorphism a feature that allows methods to do different things based on the object calling them?

a)

true

b)

false

29.

what performs equations

(a)