MCQ IN COMPUTER SCIENCE & ENGINEERING

COMPUTER SCIENCE AND ENGINEERING

THEORY OF COMPUTATION

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Advantages of a structured programming approach are (select two)?
A
Module can be seperately tested and when kept in a module library be reused in other programs
B
Large programs can be split into modules and several programmers can work on separate modules at the same time
C
The creation of user documentation and the insertion of coding comments on the fly
D
The output ensure complete evaluation of mathematical functions and avoids changing states and mutable data
Explanation: 

Detailed explanation-1: -Application programs are easier to read and understand. Application programs are less likely to contain logic errors. Errors are more easily found. Higher productivity during application program development.

Detailed explanation-2: -Advantages of structured programming It is easier to learn. They require less time to write. They are easier to maintain. These are mainly problem oriented rather than machine based.

Detailed explanation-3: -Structured Text It is easy to implement complex algorithms and work with mathematical functions. The disadvantage is that this language is more difficult to debug, in comparison with a graphical language.

Detailed explanation-4: -Structured Programming: means the collection of principles and practices that are directed toward developing correct programs which are easy to maintain and understand. A structured program is characterized by clarity and simplicity in its logical flow.

There is 1 question to complete.