Structured Approach Advantages (AQA GCSE Computer Science): Quizzes
📚Quizzes
Practise the questions
12 questions from this quiz
ShowHide
Practise the questions
12 questions from this quiz
What are the smaller manageable pieces called in structured programming?
What are the smaller manageable pieces called in structured programming?
Subroutines
What does each module handle in structured programming?
What does each module handle in structured programming?
Specific tasks
What is local scope?
What is local scope?
Variables exist only in their subroutine
Can local variables be accessed by the main program?
Can local variables be accessed by the main program?
No, they cannot
What happens if you try to access a local variable from outside its subroutine?
What happens if you try to access a local variable from outside its subroutine?
Program produces an error
How do subroutines reduce program size?
How do subroutines reduce program size?
Write code once, call when needed
Why is code easier to maintain when broken into subroutines?
Why is code easier to maintain when broken into subroutines?
Each has a clear purpose
How does structured programming speed up testing?
How does structured programming speed up testing?
Test each subroutine individually
What is code reuse in structured programming?
What is code reuse in structured programming?
Using subroutines in multiple programs
What is a function?
What is a function?
Subroutine that returns a value
What is a procedure?
What is a procedure?
Subroutine that returns nothing
How does structured programming help teamwork?
How does structured programming help teamwork?
Different people work on subroutines
