Easy2 marksExtended Response
AQA GCSE · Question 03 · Programming
Explain one advantage of the structured approach to programming.
Explain one advantage of the structured approach to programming.
How to approach this question
Think about the principles of the structured approach, such as top-down design, modularity, and using control structures (sequence, selection, iteration). Choose one of these principles and explain why it is beneficial for a programmer or a team of programmers.
Full Answer
One advantage is that it improves the readability and maintainability of code. By breaking down a large problem into smaller, self-contained modules or subroutines, the code becomes easier for programmers to understand, debug, and modify without affecting other parts of the program.
The structured approach to programming is a paradigm that emphasizes breaking down a program into a hierarchy of modules or subroutines. This is often combined with using only the three basic control structures: sequence, selection, and iteration.
One key advantage is **improved maintainability**. When code is written in logical, self-contained blocks (modules/functions), it becomes much easier to manage. If a bug needs to be fixed or a feature needs to be updated, a programmer can focus on the relevant module without having to understand the entire program at once. This isolation reduces the risk of introducing new errors into other parts of the code.
Common mistakes
✗ Just stating an advantage without explaining it (e.g., "It's easier").\n✗ Confusing structured programming with other paradigms like object-oriented programming.
Practice the full AQA GCSE Computer Science Paper 1 Python
31 questions · hints · full answers · grading
More questions from this exam
Q01.1Figure 1 shows an algorithm, represented using pseudo-code, which assigns a different value to fo...EasyQ01.2The variable `x` is assigned a value using the statement:
`x ← LEN(state)`
Using Figure 1, what ...EasyQ01.3What is the result of concatenating the contents of the variables `city` and `landmark` in Figure 1?EasyQ01.5The subroutine `POSITION` finds the first position of a character in a string.
For example, `POSI...EasyQ02.1Figure 2 shows an algorithm that uses integer division which has been represented using pseudo-co...Easy
Expert