Unit 2 of 4 · 216 min

Unit 2: Selection and Iteration

Boolean expressions, if statements and loops: making decisions, repeating steps, and the classic algorithms built from them.

Read the whole unitAll 12 topics' notes on one page, like printed study notes.
  1. 2.1

    Algorithms with Selection and Repetition

    12 min · 5 questions

  2. 2.2

    Boolean Expressions

    14 min · 5 questions

  3. 2.3

    if Statements

    15 min · 5 questions

  4. 2.4

    Nested if Statements

    16 min · 5 questions

  5. 2.5

    Compound Boolean Expressions

    18 min · 5 questions

  6. 2.6

    Comparing Boolean Expressions

    20 min · 6 questions

  7. 2.7

    while Loops

    20 min · 5 questions

  8. 2.8

    for Loops

    18 min · 6 questions

  9. 2.9

    Implementing Selection and Iteration Algorithms

    25 min · 5 questions

  10. 2.10

    Implementing String Algorithms

    22 min · 5 questions

  11. 2.11

    Nested Iteration

    18 min · 5 questions

  12. 2.12

    Informal Run-Time Analysis

    18 min · 5 questions

Was this page helpful?

No names are ever shown, and every public comment is checked by us first. Please do not include personal details. To get a reply, email [email protected].

↑ Top

Enlarged view of the selected figure