Conditionals Quiz 54 (25 MCQs)

Quiz Instructions

Select an option to see the correct answer instantly.

1. 5) It is used to talk about things in the future that are probably not going to be true and to talk about something in the present which is impossible because it's not true.
2. The 3rd conditional is used for?
3. It expresses real or very likely possibilities
4. When would you want to use an if statement?
5. If he ..... (study) regularly, he would not fail the exam.
6. The third conditional is used for:
7. What is a "Nested If" in programming?
8. Tediane would pass her exams if she ..... harder. (study)
9. Define zero conditionals.
10. Which sentence is in the normal conditional form?
11. ..... , I wouldn't ask for more.
12. If you had told me earlier, I ..... more prepared today.
13. If I move / I'll move to Boston, I live / I'll live on Main Street.
14. Why do we use Type 1 conditionals?
15. If you ..... the key, the car starts.
16. If she ..... (be) more diligent during her internship six months ago, she ..... (receive) a full-time offer.
17. We form Conditional 1 like this:If + Present Simple-will + base form
18. What is the purpose of the 'elif' statement in Python?
19. A function in Java is defined as follows: "'javaint multiply(int x, int y) \{ return x * y;\} "'Which of the following calls will return 20?
20. In p5js editor, what happens if none of the conditions in an if-else if-else statement are true?
21. What will the following program print when run?number ..... one = 5number ..... two = 10if number ..... one == 5:print(1)elif number ..... one > 5:print(2)elif number ..... two < 5:print(3)elif number ..... one < number ..... two:print(4)elif number ..... one != number ..... two:print(5)else:print(6)
22. My classmates ..... the homework today if they finish it.
23. Which of the following best describes the key difference between second and third conditionals?
24. Which logical operator is used to combine two conditions in p5js editor?
25. If you are older 18, what would it print?if (age >= 18) \{ Console.WriteLine("You are eligible to vote."); \} else \{ Console.WriteLine("You are not eligible to vote."); \}