Conditionals Quiz 53 (30 MCQs)

Quiz Instructions

Select an option to see the correct answer instantly.

1. What would be printed when the following code is run?float damage = 5.0f; float health = 3.0f; int lives = 3; health-= damage; if (health <= 0.0f && lives <= 1)\{ print("Out of lives."); lives ..... ; \} else if (health <= 0.0f && lives == 2)\{ print("Only one life left!"); lives ..... ; \} else\{ print( ..... lives + '' lives left."); \}
2. In a mixed conditional, which part of the sentence refers to the present and which part refers to the past?
3. Unless James starts studying right now, I ..... his videogame away.
4. Choose first conditional or second conditional based on the situation.You often run into James. Your sister wants to contact him.Which do you say?
5. What is the purpose of the 'else if' statement in programming?
6. I ..... you a postcard if I go to Paris.
7. What would the value of x be after the following code is run?int x = 0; if (x > 0)\{ x++; \} else if (x < 0)\{ x ..... ; \} else\{ x *= 10; \}
8. Fill in the blank with the correct verb form:If we ..... earlier, we would have caught the bus.
9. Yates (a) wouldn't have been able to cut the rope if he (b) ..... a penknife.
10. If I ..... that concert last Sunday, we wouldn't be enjoying it now.
11. If I ..... (work) harder at school, I wouldn't need to take extra lessons now.
12. If she ..... to Greenland, she ..... some igloos.
13. Complete the second conditional with the correct verb tense:If I had more time, I ..... (visit) my friend.
14. If the world ..... in 24 hours, what ..... ?
15. Completa las siguientes oraciones con el phrasal verb correcto:f. The car broke down, so we had to ..... a mechanic. (call in / call off / call on)
16. What does inversion mean?
17. If I were the president, I ..... many changes.
18. Jim isn't home right now. If he were at home right now, I ..... him.
19. If she had left earlier, she ..... the train.
20. If they ..... the news, they might have known.
21. Jake ..... a pay increase when he finishes the management course.
22. Listening. Listen to a radio show. Then read the statements and decide if they are True or False. 1. Bruno's mother believes that if we walk under a ladder, we will have bad luck.
23. The zero conditional is used for things that:
24. I overate last night, so I couldn't sleep well. If I (eat) so much, I (have) a sweet sleep.
25. I'll lend you my laptop ..... you promise to return it.
26. Completa las siguientes oraciones con el phrasal verb correcto:c. We need to ..... the old furniture to make space for the new one. (get rid of / get along with / get through)
27. If they ..... on holiday in June, the weather ..... better.
28. Identify the third conditional sentence:If he had listened to her advice, he wouldn't be in trouble now.
29. If I ..... closer to the cinema, I would go more often.
30. What type of If Conditional Sentence is 'He'd have studied at university if he had passed the entrance exam. But he didn't'?