Reusable Program Components (OCR A-Level Computer Science): Quizzes
📚Quizzes
Practise the questions
12 questions from this quiz
ShowHide
Practise the questions
12 questions from this quiz
What are reusable program components?
What are reusable program components?
Pre-built code used multiple times
Which of these is an example of a reusable program component?
Which of these is an example of a reusable program component?
Libraries and modules
How do reusable components provide efficiency?
How do reusable components provide efficiency?
They use pre-existing solutions instead of writing from scratch
What maintainability benefit do reusable components offer?
What maintainability benefit do reusable components offer?
Updates apply to all areas using it
How do reusable components enable faster development?
How do reusable components enable faster development?
Reduce time on coding and testing
Why do reusable components improve code quality?
Why do reusable components improve code quality?
Tested components reduce bugs
What is an example of a reusable mathematical component?
What is an example of a reusable mathematical component?
A sqrt() function in a math library
What does parameterisation mean for reusable components?
What does parameterisation mean for reusable components?
Use parameters for flexibility
What does generalisation mean when creating reusable components?
What does generalisation mean when creating reusable components?
Avoid hardcoding values
What is a drawback of creating reusable components?
What is a drawback of creating reusable components?
Takes more time initially
How can highly reusable components become problematic?
How can highly reusable components become problematic?
They can become complex
What is the overengineering mistake?
What is the overengineering mistake?
Making components too generic or flexible
