81. Pearson Edexcel GCSE (1CP2) Topic 6B Data validation
About this video
EDEXCEL 1CP2 Specification Reference - Topic 6B: 6.2.1 - 6.6.3
This video looks at how you can write programs in Python which implement validation, including length checks, presence checks, range checks and pattern checks.
Don't forget, whenever the blue note icon appears in the corner of the screen, that is your cue to take notes about the content being shown on the current slide.
00:00 Data validation
00:06 Intro
00:11 Input validation
03:03 Implementing validation in Python, what you need for your exams
03:24 Length check
04:53 Presence check
06:32 Range check
08:13 Pattern check
13:18 Programming Language Subset
14:57 Outro
Last updated: 28.10.25
Other videos on this course
-
73. Pearson Edexcel GCSE (1CP2) Topic 6B The use of data types and casting
-
74. Pearson Edexcel GCSE (1CP2) Topic 6B The use of variables, constants and assignments
-
75. Pearson Edexcel GCSE (1CP2) Topic 6B The use of the three basic programming constructs
-
76. Pearson Edexcel GCSE (1CP2) Topic 6B Using one- and two-dimensional structured data types
-
77. Pearson Edexcel GCSE (1CP2) Topic 6B The use of basic string manipulation