Teacher Quan — Private Computer Science Teacher← Home

Case study

Pseudocode
  • Not started25ON23 · 7

    Check-digit validation

    Test whether an integer’s check digit is correct

  • Not started25ON22 · 7

    String start-or-end match

    Decide whether one string matches the start or end of another, with optional case folding

  • Not started25ON21 · 7

    Check-digit generation

    Build a new number by attaching a check digit to an original integer

  • Not started25MJ23 · 8

    Parity bit append

    Append a parity bit to a bit string under a given parity rule

  • Not started25MJ23 · 7

    Dice-roll average

    Simulate several dice rolls and return their average

  • Not started25MJ21 · 8

    Sensor value sort

    Sort sensor readings into ascending order with an efficient bubble sort

  • Not started24ON22 · 6

    Event timer

    Wait on global Tick; warn 30 seconds early, then signal time up

  • Not started24ON22 · 6

    Conceal card number

    Mask all but the last four digits of a card number

  • Not started24ON21 · 6

    Safe divide evaluate

    Validate two numeric strings, then safely divide into a Result record

  • Not started24ON21 · 6

    Clock tick

    Advance global HH:MM:SS each second, with minute alarm and midnight jobs

  • Not started24MJ23 · 6

    Progress bar

    Map a percentage and image root to a progress-bar filename and display it

  • Not started24MJ22 · 7

    Track display trim

    Trim a long track title to fit a 16-character display

  • Not started24MJ22 · 5

    Right-angle procedure

    Prompt for three side lengths and say whether they form a right-angled triangle

  • Not started24MJ21 · 6

    Right-angle triangle

    Test whether three grid points form a right-angled triangle

  • Not started24MJ21 · 6

    Array check

    Compare odd-index and even-index totals in a global array

  • Soon24ON23 · 7

    Adjust clock

    Adjust a clock reading for a given year parameter

  • Soon24ON23 · 6

    Grade-boundary init

    Initialise grade-boundary data for papers near a boundary

  • Soon24ON22 · 7

    Daily special sandwich

    Pick a random sandwich filling for the daily special

  • Soon24ON21 · 7

    Shelf-life date

    Compute a shelf-life end date from production date and days kept