levo

Algorithms

Flowcharts, pseudocode and structure diagrams

  • 3 things to know
  • J277/02
Start revising · £5/month

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.

Your recallNot started
Process

What are the inputs, processes and outputs of a problem?

Process

A program asks for the length and width of a rectangular room and displays its floor area. Identify the inputs, process and output.

Key term

What is a structure diagram?

Questions from this subtopic

Each one with the model answer underneath.

  1. 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. 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. 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. 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. 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. 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.

Everything in your subscription

Runs, plus a mode for every other kind of session.

1Flash
2Imposter
3Fade
4Brain dump

Learn every subtopic in runs of four questions

Facts flash and fade, a wrong word hides in some of them, and a brain dump decides which questions are locked in.

Systems Architecture
Memory and Storage
Computer Networks, Connections and Protocols
Network Security

Cram the night before, weakest topic first

A quick scan finds your weakest topics. Recall each fact you missed three times in a row.

A bit is the unit of data.
smallestlargestmain

Blank Blitz consolidates the facts

Rapid timed gap-fills on the terms and numbers you need to recall without thinking.

✓What it iscovered
~Why it happenspartly there
How long it lastsnot there yet

Explain It tests your understanding

Explain a concept in your own words and see which of its points you covered.

Integer means a whole number with no fractional part.
TrueFalse

Test It catches misconceptions

Spot the fault in a statement. The faults are the mistakes students make most often.

721941163128510

Brain Breaks between sessions

Short focus games to reset attention, so the next set lands better than the last.

Every question in Algorithms, on a schedule.

Learn it in runs of four questions, each ending on a brain dump against the clock. Every question you lock in comes back the next day, then at longer gaps, each time just before you would forget it.

Or £46 a year, about £3.83 a month. Cancel anytime.