1

How do you use a library in Python?

2

What does the range(5) function produce?

3

What is a list in Python?

4

Which of the following is NOT a valid list operation?

5

What is the main purpose of testing a program?

6

Which symbol is used to access an item from a list in Python?

7

How many times does the inner loop run for each single run of the outer loop in a nested loop?

8

What is the purpose of debugging?

9

What is debugging in Python programming?

10

Why do we use libraries in Python?

11

Which of the following is a valid Python list?

12

What does the else block do in an if-else statement?

13

What is the correct way to declare a multi-line comment in Python?

14

Which of the following is an IDE for Python?

15

What happens if a while loop condition is always true?

16

Which tool helps to run a Python program step by step to find errors?

17

Which statement about nested loops is true?

18

What does len() return when applied to a list?

19

Which of the following is the correct way to start a Python program?

20

What is a nested if statement?

21

What is testing in Python?

22

What does the following code do? my_list = [1, 2, 3]; my_list[0] = 5

23

What is the purpose of testing in Python?

24

Which statement is used to check a condition in Python?

25

How is a list created in Python?