Skip to content

Informal Run-Time Analysis

Introduced
Handout
Video lesson for this topic Open the video page
7:57

Selection and Iteration

Here are three loops. The first two differ by one character — a less-than instead of a less-than-or-equal. The first runs ten times. The second runs eleven.…

English narration · English and 中文 subtitles you can switch

In this lesson

Video lesson
Vocabulary
English Meaning
run time/rʌn taɪm/
linear/ˈlɪnɪə/Describing growth that is proportional to input size, so doubling the input approximately doubles the amount of work for large inputs.
quadratic/kwɒˈdrætɪk/Describing a polynomial or relationship whose highest relevant variable power is two.
Next →

Handout

Log in or create account

IGCSE, A-Level & AP