Revise Computingrevisecomputing.co.uk
Free student revisionSee questionsFor schoolsSchool enquiry
Free revisionSee questionsFor schoolsSchool enquiry
Knowledge/A Level/H446/02 Algorithms and programming/Thinking ahead/Identify the inputs and outputs for a given…

Identify the inputs and outputs for a given situation

Identify the inputs and outputs for a given situation.

2.1.2 Thinking ahead

Thinking ahead — Note 1 of 4

Candidates need to understand that situations and programs require input and output, and that outputs can be in digital and/or hard copy format. Candidates may be given a description, diagram or pseudocode for a scenario and need to identify the inputs and outputs required.

What you need to know

Thinking ahead starts with identifying what data a solution needs (inputs) and what it must produce (outputs). This defines the boundaries of the problem before any design or coding begins.

What to know

  • Working out the outputs first often helps identify which inputs are needed.
  • Be specific: state the actual data items and their types, not just 'user data'.

Key terms

Input

Data that a program needs in order to produce a result, which may come from a user, a file, a sensor or another system.

Output

The result produced by a program, which may be shown on screen, printed, saved, sent to another system or used to control a device.

  • Outputs can be digital (on screen, in a file) or hard copy (printed).

Exam technique

  • Tip:You may be given a description, diagram or pseudocode and asked to identify the inputs and outputs; use the exact items from the scenario.
← Previous topicDevise an abstract model for a variety of situations2.1.1 Thinking abstractlyNext note →Determine the preconditions for devising a solution to a problem2.1.2 Thinking ahead

Back to Thinking ahead

Thinking ahead

Note 1 of 4

  1. 1Identify the inputs and outputs for a given situation
  2. 2Determine the preconditions for devising a solution to a problem
  3. 3The nature, benefits and drawbacks of caching
  4. 4The need for reusable program components
Topic overview