This quiz works best with JavaScript enabled. Home > English Grammar > Grammar > Parts Of Speech > Verbs > Moods > Understanding Conditionals – Quiz 10 🏠 Homepage 📘 Download PDF Books 📕 Premium PDF Books Understanding Conditionals Quiz 10 (30 MCQs) Quiz Instructions Select an option to see the correct answer instantly. 1. 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. 2. Formulate a type 0 conditional sentence about water. A) If water is mixed with salt, it boils. B) If water is heated, it evaporates. C) If water is exposed to sunlight, it turns to ice. D) If water reaches 0 degrees Celsius, it freezes. Show Answer Correct Answer: D) If water reaches 0 degrees Celsius, it freezes. 3. Which conditional is used for real situations? A) Third conditional. B) First conditional. C) Second conditional. D) Zero conditional. Show Answer Correct Answer: B) First conditional. 4. What is the output of the following code:x = 0; while x < 3:print(x); x += 1? A) 012. B) 3. C) -1. D) 1.5. Show Answer Correct Answer: A) 012. 5. Match the sentence to its type:A) If you touch a flame, it burns. B) If I go to the party, I will have fun. (1. first coditional, 2. Zero Conditional) A) A:2, B:1. B) A:2, B:2. C) A:1, B:1. D) A:1, B:2. Show Answer Correct Answer: A) A:2, B:1. 6. What is the purpose of the else clause? A) To execute code when the if condition is false. B) To create a loop in a program. C) To execute code when the if condition is true. D) To define a function in Python. Show Answer Correct Answer: A) To execute code when the if condition is false. 7. If Aria studies hard, what will happen? A) If Aria had a car, she would drive to work. B) If Aria studies hard, she will pass the exam. C) If Aria were taller, she would play basketball. D) If it had rained, Aria would have stayed home. Show Answer Correct Answer: B) If Aria studies hard, she will pass the exam. 8. What is the difference between 'while' and 'for' loops? A) The main difference is that 'while' loops are condition-based, while 'for' loops are count-based. B) 'While' loops require a specific number of iterations. C) 'For' loops can only iterate over arrays. D) 'While' loops are faster than 'for' loops. Show Answer Correct Answer: A) The main difference is that 'while' loops are condition-based, while 'for' loops are count-based. 9. Complete the sentence:If it is sunny tomorrow, we ..... (go) to the park. A) Might go. B) Could go. C) Are going. D) Will go. Show Answer Correct Answer: D) Will go. 10. How do you implement a default case in a switch statement? A) Implement a 'catch' block for unmatched cases. B) Leave the switch statement empty for default behavior. C) Use 'default:' followed by the code to execute when no cases match. D) Use 'else' to handle unmatched cases. Show Answer Correct Answer: C) Use 'default:' followed by the code to execute when no cases match. 11. If she were the president, she would change the law. (Second or Third?) A) Third. B) Second. C) First. D) None of the above. Show Answer Correct Answer: B) Second. 12. What is the condition in this statement:If you wake up early, then you can have breakfast? A) Waking up late. B) Skipping breakfast. C) Waking up early. D) Having breakfast. Show Answer Correct Answer: C) Waking up early. 13. Which of the following is a first conditional? 'If you touch a flame, it burns.' or 'If I finish my homework, I will go out.' A) If you heat ice, it melts. B) If I finish my homework, I will go out. C) If I eat too much, I get hungry. D) If it rains, I will stay inside. Show Answer Correct Answer: B) If I finish my homework, I will go out. 14. If I were you, I would apologize. (Second or Third?) A) Fifth. B) Fourth. C) Second. D) First. Show Answer Correct Answer: C) Second. 15. How do you write a basic if statement in Python? A) If condition:do something. B) If (condition) { do something }. C) If:condition then do something. D) If condition do something. Show Answer Correct Answer: A) If condition:do something. 16. Can you use 'unless' in a zero conditional sentence? Give an example. A) 'Unless' is only used in first conditional sentences. B) Yes, you can use 'unless' in a zero conditional sentence. Example:'We go to the park unless it rains.'. C) No, 'unless' cannot be used in a zero conditional sentence. D) Example:'If it rains, we go to the park.'. Show Answer Correct Answer: B) Yes, you can use 'unless' in a zero conditional sentence. Example:'We go to the park unless it rains.'. 17. What is the correct way to write a nested loop? A) For (int i = 0; i < outerLimit; i++) { for (int j = 0; j < innerLimit; j++) // code to execute }. B) For (int i = 0; i < outerLimit; i++) { while (j < innerLimit) { // code to execute }}. C) For (int i = 0; i < outerLimit; j++) { for (int j = 0; j < innerLimit; i++) { // code to execute }}. D) For (int i = 0; i < outerLimit; i++) { for (int j = 0; j < innerLimit; j++) { // code to execute }}. Show Answer Correct Answer: D) For (int i = 0; i < outerLimit; i++) { for (int j = 0; j < innerLimit; j++) { // code to execute }}. 18. Lily is planning her evening. Which of the following sentences is a first conditional? A) If it had snowed, we would have stayed home. B) If I finish my homework, I will watch TV. C) If I were you, I would study more. D) If I had a dog, I would walk it every day. Show Answer Correct Answer: B) If I finish my homework, I will watch TV. 19. Choose the correct option:If I were you, I ..... (would/will) apologize. A) Can. B) Should. C) Might. D) Would. Show Answer Correct Answer: D) Would. 20. If it is sunny, then we can play outside. What is the opposite condition? A) If it is raining, then we can play outside. B) If it is cloudy, then we can play outside. C) If it is not sunny, then we cannot play outside. D) If it is sunny, then we cannot play outside. Show Answer Correct Answer: C) If it is not sunny, then we cannot play outside. 21. How do you iterate over a list using a for loop? A) Foreach item in my list do. B) For each item in my list:. C) For item in my list:. D) For item from my list:. Show Answer Correct Answer: C) For item in my list:. 22. How do you use a while loop to count from 1 to 10? A) If (counter <= 10) { console.log(counter); counter++; }. B) Do { console.log(counter); counter++; } while (counter <= 10);. C) For (counter = 1; counter < 10; counter++) { console.log(counter); }. D) While (counter <= 10) { console.log(counter); counter++; }. Show Answer Correct Answer: D) While (counter <= 10) { console.log(counter); counter++; }. 23. What happens if the condition in a conditional statement is false? A) The code block for the 'true' case executes. B) The program terminates immediately. C) The code block for the 'false' case executes. D) The condition is re-evaluated until it becomes true. Show Answer Correct Answer: C) The code block for the 'false' case executes. 24. Formulate a first conditional sentence about studying for an exam. A) If I study hard, I will pass the exam. B) If I study tomorrow, I will not pass the exam. C) If I don't study, I will fail the exam. D) If I study, I pass the exam. Show Answer Correct Answer: A) If I study hard, I will pass the exam. 25. Which conditional uses 'if' and the present simple? A) Second conditional. B) Third conditional. C) First conditional. D) Zero conditional. Show Answer Correct Answer: C) First conditional. 26. Choose a correct first conditional sentence. A) If it is sunny, I will stay indoors. B) If it rains, I will take an umbrella. C) If it gets cold, I will open the window. D) If it snows, I will wear a coat. Show Answer Correct Answer: B) If it rains, I will take an umbrella. 27. Which keyword is used to create a loop in Python? A) Iterate. B) Repeat. C) Loop. D) For, while. Show Answer Correct Answer: D) For, while. 28. If he had asked me, I would have helped him. (Second or Third?) A) Third. B) Both. C) Neither. D) First. Show Answer Correct Answer: A) Third. 29. Which of the following is NOT a zero conditional? 'If you mix sugar in water, it dissolves.' or 'If I finish my homework, I will watch TV.' A) If it rains, the ground gets wet. B) If I finish my homework, I will watch TV. C) If you heat ice, it melts. D) If you touch fire, it burns. Show Answer Correct Answer: B) If I finish my homework, I will watch TV. 30. Which of the following is NOT a characteristic of first conditional? A) It talks about real or possible situations in the future. B) It talks about imaginary or impossible situations. C) All the above. D) None of the above. Show Answer Correct Answer: B) It talks about imaginary or impossible situations. ← 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