COMPUTER PROGRAMMING FUNDAMENTALS
WHAT IS PROGRAMMING
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
TRUE
|
|
FALSE
|
|
Either A or B
|
|
None of the above
|
Detailed explanation-1: -Modular programs are comparatively easy to debug because their decoupled nature isolates individual components for a quick unit test. Also, in integration testing the problem may be localised and rectified in an efficient manner.
Detailed explanation-2: -Structured programming (sometimes known as modular programming) is a programming paradigm that facilitates the creation of programs with readable code and reusable components.
Detailed explanation-3: -Modular Programming minimizes the risks of ending up with programming errors and also makes it easier to spot errors, if any. This is because the errors can be narrowed down to a specific function or a sub-program.
Detailed explanation-4: -Modular programming usually makes your code easier to read because it means separating it into functions that each only deal with one aspect of the overall functionality. It can make your files a lot smaller and easier to understand compared to monolithic code.