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

PS: please if you don\'t know or have doubt please don\'t respond. this is part

ID: 3653440 • Letter: P

Question

PS: please if you don't know or have doubt please don't respond. this is part of my midterm exam Pss: I beg you don't answer if you are not sure. let me know which one you have doubt 41. The default label is optional in the switch statement. A) True B) False 42. In the switch statement, only one case label can be associated with a set of actions. A) True B) False 43. It is a good programming style to indent dependent statements. A) True B) False 44. It is a good programming style to code the most probable conditions last in a series of nested if statements. A) True B) False 45. In a pretest loop, the end test condition is checked before we start and at the beginning of each iteration. A) True B) False 46. Loop initialization must be completed before the execution of the loop body. A) True B) False 47. The action that causes the loop terminating condition to change is known as loop termination. A) True B) False 48. In an event-controlled loop, an event, such as reading data, changes the loop control expression from true to false. A) True B) False 49. In a counter-controlled loop, we always add to a counter to determine when to terminate the loop. A) True B) False 50. C has only three loop statements. A) True B) False

Explanation / Answer

B B A A B A A A B B