OCR GCSE Computer Science J277
Systems Architecture
Memory and Storage
Computer Networks, Connections and Protocols
Network Security
Systems Software
Ethical, Legal, Cultural and Environmental Impacts of Digital Technology
Algorithms
Programming Fundamentals
Producing Robust Programs
Programming Languages and Integrated Development Environments
Algorithms
Flowcharts, pseudocode and structure diagrams
- 3 things to know
- J277/02
Overview
Inputs, processes and outputs, structure diagrams, pseudocode, the flowchart symbols for decisions, inputs and outputs, sub programs and loops, and nesting.
What you need to know
Answer each one before you reveal it.
A program asks for the length and width of a rectangular room and displays its floor area. Identify the inputs, process and output.
What is a structure diagram?
Questions from this subtopic
Each one with the model answer underneath.
- 1
What are the inputs, processes and outputs of a problem?
Model answer
Inputs are the data a program is given to work on. Processes are the actions carried out on that data. Outputs are the results the program produces.
- 2
A program asks for the length and width of a rectangular room and displays its floor area. Identify the inputs, process and output.
Model answer
The inputs are the length and the width. The process multiplies the length by the width. The output is the floor area shown on screen.
- 3
What is a structure diagram?
Model answer
A structure diagram shows a problem broken down into smaller sub-sections. The whole problem sits at the top and each level below splits it into smaller parts.
- 4
What do the lines in a structure diagram show?
Model answer
Each line links a sub-section to the larger task it belongs to. Following a branch downwards shows how a task is broken into smaller tasks.
- 5
A structure diagram for a quiz program has "Quiz" at the top. What might the level below it show?
Model answer
The level below might show boxes for asking a question, checking the answer, updating the score and showing the result. Each box could be split further on a lower level.
- 6
Define the term pseudocode.
Model answer
Pseudocode is a way of writing an algorithm in structured, English-like statements. Pseudocode does not follow the strict syntax of any one programming language.
Other ways to work this
The same content, four other ways.
What is inside Levo
Six ways to work the same material.
Every question in Algorithms, on a schedule.
Attempt a question from memory, write the correct version, then attempt it again. Levo records the jump between your first attempt and your last, and brings each question back on the day you are due to forget it.
Or £46 a year, about £3.83 a month. Cancel anytime.