Skip to content

Weak compositions, loop invariants and flowchart tracing

Introduced
Video lesson for this topic Open the video page
5:02

T.11 · Weak compositions, loop invariants and flowchart tracing

In 1969 Tony Hoare, a British computer scientist, published "An Axiomatic Basis for Computer Programming", building on work by Robert Floyd. Its central idea…

English narration · English and 中文 subtitles you can switch

In this lesson

Video lesson
Vocabulary
English Meaning
stars and bars/stɑːz ænd bɑːz/A bijective method for counting nonnegative integer allocations of identical objects among named boxes without upper capacities.
complement/ˈkɒmplɪmənt/The set of elements in a specified universal set that do not belong to the given set.
loop/luːp/A structure that repeats a sequence of instructions.
invariant/ɪnˈveərɪənt/A quantity or property that remains unchanged throughout a specified process or transformation.
integers/ˈɪntɪdʒəz/A whole number that may be positive, negative or zero.
tuple/ˈtuːpl/An ordered collection of values that cannot be changed after it is created.
weak compositions
lower bounds
permutations
loop head

Handout

IGCSE, A-Level & AP