Unit 4 CMU coding academy test Questions And Answers |Graded A+
Which of the functions is called when z = 12? if (z < 12): drawPolygon(z) elif (z == 12): sayHi() else: drawOval('yellow') a. drawOval b. sayHi c. drawPolygon d. None - ️️b. Which of the following is true about if-elif-else statements? a. After using if, an elif can be added as an additional test. b. The bodies of multiple elif's can run. c. You can use an elif without an if. d. Code in an else body runs if all the tests before it were True. - ️️a. Which of the following results in a call to onKeyPress?
Geschreven voor
- Instelling
- Unit 4 CMU coding academy
- Vak
- Unit 4 CMU coding academy
Documentinformatie
- Geüpload op
- 6 maart 2024
- Aantal pagina's
- 4
- Geschreven in
- 2023/2024
- Type
- Tentamen (uitwerkingen)
- Bevat
- Vragen en antwoorden
Onderwerpen
-
unit 4 cmu coding academy test
Ook beschikbaar in voordeelbundel