1.

Menu-driven architecture should be done by ________(a) if-else structure(b) switch-case structure(c) stack(d) loop structureThe question was posed to me in an international level competition.The above asked question is from Branching topic in portion MATLAB Programming of MATLAB

Answer»

The CORRECT answer is (b) switch-case STRUCTURE

For EXPLANATION: A Menu implies that we have sections. A switch-case structure offers sections or cases which will be IMPLEMENTED based on the switching value. Hence, this is perfect for a menu-driven architecture.



Discussion

No Comment Found

Related InterviewSolutions