Design file/data structures, input formats, output formats and validation routines File/data structures including field length, field name, data type, coding of data for example M for male, F for female Validation routines including range check, character check, length check, type check, format check, presence check, check digit Input formats including data capture forms Output formats including screen layouts and report layouts.Taught inLesson 1: Capturing data to investigate an issue · Lesson 2: Developing code for a programming project · Lesson 3: Validating data input in a program
3 lessons from Oak National Academy
Lesson 1 of 3 · Lower secondary, ages 11 to 14
Capturing data to investigate an issue
By the end:I can identify data needed to answer a question and then design a data capture form to collect the data needed.
Validation checks are used to ensure that data that is entered is reasonable and expected.
Iteration is used to ensure the validation checks are implemented correctly.
Keywords
validation
checking that data is acceptable by comparing it against a set of criteria
crash
when a program suddenly stops working and closes unexpectedly, often due to an error it cannot recover from
A common mistake
Mistake:A program will automatically ask people to try again if data is invalid.
In fact:The program will only ask for data to be input again if it has been programmed to do so; otherwise it will run with invalid data and may crash.
Check what you learned
From Oak National Academy's exit quiz. Choose every answer that is right.
A computing lesson by Oak National Academy licensed under the Open Government Licence (OGL) v3.0.Read the licence
The wording comes from each publisher. The layout and the links to your syllabus are ours.