Quiz: Using Subprograms to Improve Maintainability
OCR GCSE J277 Computer Science specification
Ready to start this lesson?
Sign in to track your progress. 11 steps including 9 interactive questions.
Sign In to Start LearningStudents also studied
Browse allSteps in this lesson (11)
Building on what you've learned about defensive design and maintainability, let's test your knowledge of using subprograms to make code easier to manage.
What is the main purpose of a subprogram in programming?
Start the lesson to answer this multiple choice question
Which of the following are benefits of using subprograms? (Select all that apply)
Start the lesson to answer this multi-select question
A {{blank0}} is a block of code that can be reused multiple times and often performs a specific {{blank1}}.
Start the lesson to answer this fill in the blank question
Match the items on the left with their correct pairs on the right
Start the lesson to answer this matching question
A function processes 5 items per second. How many items will it process in 12 seconds?
Start the lesson to answer this math equation question
Match the items on the left with their correct pairs on the right
Start the lesson to answer this code completion question
Match the items on the left with their correct pairs on the right
Which of the following is an example of a subprogram?
Start the lesson to answer this multiple choice question
What can a subprogram improve? (Select all that apply)
Start the lesson to answer this multi-select question
Subprograms can take {{blank0}} as input and return {{blank1}} as output.
Start the lesson to answer this fill in the blank question
Want to Learn More?
Get personalised lessons, quizzes, and instant feedback from your AI tutor.
Explore More Topics