This quiz works best with JavaScript enabled. Home > Grammar > Parts Of Speech > Verbs > Moods > Understanding Conditionals – Quiz 11 🏠 Homepage 📘 Download PDF Books 📕 Premium PDF Books Understanding Conditionals Quiz 11 (25 MCQs) Quiz Instructions Select an option to see the correct answer instantly. 1. Were it not for the work of archaeologists, we ..... a good understanding of ancient civilizations. A) Would have never had. B) Wouldn't have. C) Would never have had. D) Would had had. Show Answer Correct Answer: B) Wouldn't have. 2. What does a 'for' loop do? A) A 'for' loop is used to define functions in programming. B) A 'for' loop only runs once regardless of the sequence. C) A 'for' loop iterates over a sequence or range, executing a block of code multiple times. D) A 'for' loop creates a new variable each time it runs. Show Answer Correct Answer: C) A 'for' loop iterates over a sequence or range, executing a block of code multiple times. 3. What is the syntax for a 'for' loop in Python? A) For variable in sequence:. B) For (variable:sequence). C) For variable in sequence[]. D) For variable in (sequence). Show Answer Correct Answer: A) For variable in sequence:. 4. Identify the error:'If it rains, the ground gets wet.' A) The statement implies certainty where there may be exceptions. B) It suggests that rain is the only cause of wet ground. C) The statement is a conditional statement with no errors. D) The statement is a universal truth without exceptions. Show Answer Correct Answer: A) The statement implies certainty where there may be exceptions. 5. What does 'break' do in a loop? A) The 'break' statement pauses the loop. B) The 'break' statement skips the current loop entirely. C) The 'break' statement exits the loop. D) The 'break' statement continues to the next iteration. Show Answer Correct Answer: C) The 'break' statement exits the loop. 6. How do you use a conditional statement in a program? A) Use 'try' to catch errors in conditions. B) Use 'if' to check a condition, followed by code to execute if true; use 'else' for alternative code. C) Use 'for' to loop through conditions. D) Use 'switch' to handle multiple conditions. Show Answer Correct Answer: B) Use 'if' to check a condition, followed by code to execute if true; use 'else' for alternative code. 7. Differentiate between zero and first conditional sentences. A) First conditional:'If you freeze water, it melts.'. B) Zero conditional:'If I study, I will pass the exam.'. C) Zero conditional:'If it rains, it pours.'. D) Zero conditional:'If you heat water, it boils.' First conditional:'If it rains, I will take an umbrella.'. Show Answer Correct Answer: D) Zero conditional:'If you heat water, it boils.' First conditional:'If it rains, I will take an umbrella.'. 8. Identify the conditional in this sentence:If it rains, we will stay inside. A) We will stay inside. B) If it rains. C) It rains. D) If we stay inside. Show Answer Correct Answer: B) If it rains. 9. Fill in the blank:If you ..... water to 0 degrees, it freezes. A) Boil. B) Cool. C) Freeze. D) Heat. Show Answer Correct Answer: B) Cool. 10. What is the result of the following code:x = 10; if x == 10:print('Equal')? A) Equal. B) Equal to 10. C) 10. D) Not Equal. Show Answer Correct Answer: A) Equal. 11. Fill in the blank:If I ..... hard, I will pass the exam. A) Studies. B) Studying. C) Studyed. D) Study. Show Answer Correct Answer: D) Study. 12. Which of the following sentences is NOT a first conditional? A) If it rains, we will stay home. B) If you study, you will pass the test. C) If I had a pet, I would take care of it. D) If she calls, I will answer. Show Answer Correct Answer: C) If I had a pet, I would take care of it. 13. If you touch fire, what happens? (Zero Conditional) A) You become invisible. B) You get burned. C) You fly away into the sky. D) You feel warm and cozy. Show Answer Correct Answer: B) You get burned. 14. True or False:The first conditional is used for situations that are always true. A) The first conditional is used for hypothetical situations. B) The first conditional is used for past situations. C) False. D) True. Show Answer Correct Answer: C) False. 15. Give an example of a conditional statement. A) If I study hard, then I will fail the test. B) If the sun sets, then it will be dark. C) If I eat too much, then I will be hungry. D) If it rains, then the ground will be wet. Show Answer Correct Answer: D) If it rains, then the ground will be wet. 16. In coding, conditionals tell a computer to do which of the following? A) How to do it. B) To do it faster. C) When to do it. D) Where to do it. Show Answer Correct Answer: C) When to do it. 17. What will the following code output:for i in range(3):print(i)? A) 012. B) 3. C) 1.5. D) -1. Show Answer Correct Answer: A) 012. 18. Can you give a real-life example of a zero conditional? A) If you water plants, they will grow. B) If it rains, the ground get wet. C) If you heat ice, it melts. D) If you freeze water, it turns to ice cream. Show Answer Correct Answer: C) If you heat ice, it melts. 19. Mia asked, "You're coming to the meeting, aren't you?" A) Aren't you. B) You're coming. C) To the meeting. D) Coming to the meeting. Show Answer Correct Answer: A) Aren't you. 20. Identify the first conditional:'If they invite me, I (will go/go).' or 'If you heat water, it boils.' A) If it rains, the ground is wet. B) If they invite me, I will go. C) If they invite me, I go. D) If you heat water, it will boil. Show Answer Correct Answer: B) If they invite me, I will go. 21. Which of the following sentences is an example of zero conditional? A) B) If you heat ice, it melts. B) If I eat too much, I will feel sick. C) You will get a better job if you study English. D) If it snows, I will go skiing. Show Answer Correct Answer: A) B) If you heat ice, it melts. 22. How do you check if a number is even using a conditional statement? A) If (number % 2 === 0) \{ // number is even \}. B) If (number == 2) \{ // number is even \}. C) If (number / 2 == 0) \{ // number is even \}. D) If (number % 2 !== 0) \{ // number is odd \}. Show Answer Correct Answer: A) If (number % 2 === 0) \{ // number is even \}. 23. True or false:A conditional statement must have all the following:If, then, else A) False. B) True. C) All the above. D) None of the above. Show Answer Correct Answer: A) False. 24. Formulate a type 0 conditional sentence about water. A) If water reaches 0 degrees Celsius, it freezes. B) If water is exposed to sunlight, it turns to ice. C) If water is mixed with salt, it boils. D) If water is heated, it evaporates. Show Answer Correct Answer: A) If water reaches 0 degrees Celsius, it freezes. 25. Which conditional is used for real situations? A) Third conditional. B) Zero conditional. C) First conditional. D) Second conditional. Show Answer Correct Answer: C) First conditional. ← PreviousNext →Related QuizzesVerbs QuizzesParts Of Speech QuizzesUnderstanding Conditionals Quiz 1Understanding Conditionals Quiz 2Understanding Conditionals Quiz 3Understanding Conditionals Quiz 4Understanding Conditionals Quiz 5Understanding Conditionals Quiz 6Understanding Conditionals Quiz 7Understanding Conditionals Quiz 8 🏠 Back to Homepage 📘 Download PDF Books 📕 Premium PDF Books