Quiz

Quiz: Thinking Ahead - Anticipating Inputs, Outputs, and Edge Cases

OCR H446 Computer Science Specification

Ready to start this lesson?

Sign in to track your progress. 11 steps including 9 interactive questions.

Sign In to Start Learning
11 Steps9 Questions

Students also studied

Browse all

Steps in this lesson (11)

1
Text

Building on what you've learned about computational thinking and abstraction, let's test your knowledge of anticipating inputs, outputs, and edge cases!

2
Multiple ChoiceInteractive

Which term describes the data a program receives to process?

Start the lesson to answer this multiple choice question

3
Multi-SelectInteractive

Which of the following are examples of edge cases? (Select all that apply)

Start the lesson to answer this multi-select question

4
Fill in the BlankInteractive

The {{blank0}} of a program is the result it produces after processing the {{blank1}}.

Start the lesson to answer this fill in the blank question

5
MatchingInteractive

Match the items on the left with their correct pairs on the right

Start the lesson to answer this matching question

6
Math EquationInteractive

A program supports integers between 0 and 100 inclusive. How many valid inputs are possible?

Start the lesson to answer this math equation question

7
Code CompletionInteractive

Match the items on the left with their correct pairs on the right

Start the lesson to answer this code completion question

8
typedAnswer

Match the items on the left with their correct pairs on the right

9
Multiple ChoiceInteractive

What is a precondition in programming?

Start the lesson to answer this multiple choice question

10
Multi-SelectInteractive

Why is it important to anticipate inputs and outputs? (Select all that apply)

Start the lesson to answer this multi-select question

11
Fill in the BlankInteractive

A program should {{blank0}} unusual inputs to prevent {{blank1}} errors.

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