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

empt.php?attempt-8836908 if a multi-way selection structure has 5 conditions how

ID: 3702583 • Letter: E

Question

empt.php?attempt-8836908 if a multi-way selection structure has 5 conditions how many levels of nesting does it have? Note: one control structure nested inside another counts as one level of nesting 0 Select one: O a. 0 O b. 1 c. 4 O d. 5 O e. If you think it depends on whether there is a final else block or not, select this option If two conditions in a multi-way selection structure are NOT mutually exclusive which of their statement blocks wil execute if the conditions are both true on given execution of the structure? 0Select one: O a. Neither because it's a compile error O b. Only the first in textual order O c. Only the last in textual order O d. Both statement blocks will execute O e. If you think not enough information has been given to answer the question, select this option

Explanation / Answer

Answer:- The answer of first question is 4 which is right.

now coming to the next question,

In this question answer d will be right that both statement will execute. In question given that both the condition is not mutuallly exclusive so the both the condition will be true and hence the both statement block will be execute.