Structured Approach Advantages (AQA GCSE Computer Science): Flashcards

📚Flashcards
Structured Approach Advantages
Sign up to keep revising.Create a free account to study more flashcards and track your progress.

Practise the cards

13 cards from this deck

Show

What is the structured approach?

Breaking large programs into smaller, manageable subroutines that handle specific tasks

What are subroutines?

Separate modules that handle specific tasks within a program

What are local variables?

Variables created inside a subroutine with local scope (only exist within that subroutine)

What is local scope?

When variables only exist within their specific subroutine and cannot be accessed from outside

Advantage: Reduces repetition

Write code once as a subroutine, then call it whenever needed

Advantage: Maintainability

Each subroutine has clear purpose, making code easier to read, understand, and fix

Advantage: Development speed

Test subroutines individually; debugging easier as problems are isolated

Advantage: Code reuse

Same subroutine can be used in multiple different programs

What is a function?

A subroutine that performs a task and returns a value

What is a procedure?

A subroutine that performs an action but doesn't return a value

Function vs procedure: key difference?

Functions return values; procedures don't return anything

Team collaboration benefit

Different programmers can work on different subroutines simultaneously

Testing benefit of structured programming

Problems are isolated to specific subroutines, making debugging easier

Join 100,000+ GCSE students studying Flashcards with us.

Select your subjects, and get access to A+ resources today.