Skip to content

Validation & verification

Handout

Why validate input

  • Validation checks that input is sensible before the program uses it.
  • "Garbage in, garbage out" — bad data leads to wrong answers.
  • The program decides to accept or reject the value.

Handout

Log in or create account

IGCSE & A-Level