Q: Why is proper design important instead of coding with it?
-
A
Secure design can solve all the software security problems.
-
B
Design removes the need for documentation in the source code.
-
C
Coding is expensive, and design allows trials without implementing.
-
D
Design prevents coding errors.
C
Answer:
C
Explanation:
Proper design is crucial because it allows for the exploration and evaluation of solutions to potential problems without the need to write actual code, which can be time-consuming and costly. Through design, various architectural decisions, functionalities, and components can be planned, refined, and iterated upon before any implementation begins. This makes it easier to catch potential issues early in the process, which can save both time and resources later on. While coding with a design may prevent coding errors and help avoid some security concerns, its primary advantage lies in enabling developers to map out the overall solution and understand how different components will interact. Coding directly without a design can lead to errors, rework, and inefficiencies, making it more expensive and prone to flaws.
Related Topic:
Share Above MCQ