Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

85P.COMP 120 801RL Test 2 wert First Name e what would the penguin sny if the fo

ID: 3705779 • Letter: 8

Question

85P.COMP 120 801RL Test 2 wert First Name e what would the penguin sny if the following code were executed? Last Name ltate mann ponguin say Yes penguin say No b "No c. Yes then "No d. ·No" then-Yes e. None of these 9. What would the penguin say if the following code were executed? penguin say Yes Else penguin say No c. Yes" then "No d. "No" then "Yes e. None of these 10. Which type of structure is used to execute the same set instructions more a. Decision structure b. Sequence structure c. Repetition structure d. e. Do together structure None of these 11. The following loop would execute how many times? Loop index from 0 up to (but not including) 3 times incrementing by 1 a. 1 b. 2 C. 3 d. 4 e. None of these 12. The following loop would execute how many times? Loop 1 times a. 1 b. 2 c. 3 d. 4 e. None of these 13. Which type of instruction will cause a set of instructions to e expression is true? a. If/Else b. Loop c. Repeat d. While e. None of these

Explanation / Answer

ANSWER 8: Option(A)will be correct because if the condition is true.

ANSWER 9: Here option(B) will be correct because if the condition is not true.

ANSWER 10: Here option(C) will be correct.

ANSWER 11: Here also option(C) will be correct because it is incrementing the loop three times and not including the boundary.

ANSWER 12: Here option (A) will be correct.

ANSWER 13: this question is not completely visible please provide the whole photo to answer this you can repost it again.

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote