Перейти к содержанию

Lesson 66: Check it twice

English

Validation or verification?

  • Validation checks that data is sensible: a range check, a length check, a type check (lesson 40).
  • Verification checks that data was entered correctly: it is what the user meant to type.
  • A password "cat12" can pass validation but still be a typing mistake. Verification catches that.
Check How it works
double entry type the data twice; accept it only if both are the same
visual check show the data again; the user looks and confirms it

Войти или создать аккаунт

IGCSE, A-Level & AP