Test yourself on Input Validation with exam style questions, marked instantly.
Flashcards that come back just before you would forget them.
A revision plan that remembers what you know and shows what to do next.
See which topics you have nailed and which need another look.
Quiz yourself on Input ValidationGet your flashcardsBuild my revision planTrack my progressDeep Dive: Validation Examples
// Range check
if age >= 0 AND age <= 120 then
accept input
endif
// Type check
if age.isInteger() then
accept input
endif
// Length check
if password.length >= 8 then
accept input
endif
// Presence check
if email != "" then
accept input
endif
// Format check (using pattern)
if postcode matches "LL## #LL" then
accept input
endifMake this stick
Signing in gives access to all PrepWise features.