levo

Programming Paradigms and Computer Languages

Procedural programming

  • 3 things to know
  • Component 1
Start revising · £5/month

Overview

Distinguishing features of procedural programming, three basic constructs from which any procedural program is built and structured programming.

What you need to know

Answer each one before you reveal it.

Your recallNot started
Key term

Describe the distinguishing features of procedural programming.

Key term

Name the three basic constructs from which any procedural program is built.

Key term

What is meant by structured programming?

Questions from this subtopic

Each one with the model answer underneath.

  1. 1

    Describe the distinguishing features of procedural programming.

    Model answer

    A procedural program is a sequence of instructions grouped into procedures and functions. Data is held separately from the code that acts on it.

  2. 2

    Name the three basic constructs from which any procedural program is built.

    Model answer

    Sequence, selection and iteration are the three constructs. Any algorithm can be expressed using only those three.

  3. 3

    What is meant by structured programming?

    Model answer

    Structured programming builds a program only from the three basic constructs and named subroutines. Unrestricted jumps between parts of the code are avoided.

  4. 4

    Explain how top-down design is used in a procedural program.

    Model answer

    The overall task is broken into smaller sub-tasks, and each sub-task into smaller ones again. Each of the lowest level tasks becomes a procedure or function.

  5. 5

    State one advantage of dividing a procedural program into subroutines.

    Model answer

    A subroutine can be written, tested and corrected independently of the rest of the program. Several programmers can then work on one project at the same time.

  6. 6

    State one disadvantage of the procedural paradigm on very large projects.

    Model answer

    Data and the operations on it are kept apart, so a change to a data structure affects many procedures. Dependencies of that kind grow harder to track as the program grows.

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.

Data Structures: Arrays, Records and Hash Tables
Stacks, Queues, Linked Lists and Trees
Boolean Logic and Simplification
Algorithms, Pseudo-Code and Programming Constructs

Cram the night before, weakest topic first

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

KDW to HAT.
decryptsencryptscompresses

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.

Backup means the copy of the data.
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 Programming Paradigms and Computer Languages, 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.