Understanding Conditionals Quiz 9 (30 MCQs)

Quiz Instructions

Select an option to see the correct answer instantly.

1. How can you use the continue statement in a loop?
2. What happens if you heat water to 100 degrees Celsius in the average altitude?
3. What is the output of the following code:x = 5; if x < 10:print('Less than 10') else:print('10 or more')?
4. What is the main difference between type 1 and type 2 conditionals?
5. How can the second conditional express unreal situations?
6. Complete the sentence:If I were you, I ..... (take) that job.
7. What type of conditional expresses a hypothetical situation in the past?
8. If they had studied, they would have done better. (Second or Third?)
9. Fill in the blank:If they ..... (be) more careful, they wouldn't have made that mistake.
10. Provide a situation where you would use the second conditional.
11. Were it not for the work of archaeologists, we ..... a good understanding of ancient civilizations.
12. What does a 'for' loop do?
13. What is the syntax for a 'for' loop in Python?
14. Identify the error:'If it rains, the ground gets wet.'
15. What does 'break' do in a loop?
16. How do you use a conditional statement in a program?
17. Differentiate between zero and first conditional sentences.
18. Identify the conditional in this sentence:If it rains, we will stay inside.
19. Fill in the blank:If you ..... water to 0 degrees, it freezes.
20. What is the result of the following code:x = 10; if x == 10:print('Equal')?
21. Fill in the blank:If I ..... hard, I will pass the exam.
22. Which of the following sentences is NOT a first conditional?
23. If you touch fire, what happens? (Zero Conditional)
24. True or False:The first conditional is used for situations that are always true.
25. Give an example of a conditional statement.
26. In coding, conditionals tell a computer to do which of the following?
27. What will the following code output:for i in range(3):print(i)?
28. Can you give a real-life example of a zero conditional?
29. Mia asked, "You're coming to the meeting, aren't you?"
30. Identify the first conditional:'If they invite me, I (will go/go).' or 'If you heat water, it boils.'