ProceduralOCR J277
DashboardCoursePracticeReviewProgressGlossary
Saved on this deviceContinue learning

Procedural · OCR J277 programming practice

Progress stays in this browser unless you export it.

Course map
Unit 10 · J277 2.3 + 2.2.3

Robust programs

Anticipate misuse, validate and test data, handle files and solve complete procedural problems.

Unit progress0/8
1

Defensive design and authentication

Ready

Anticipate misuse and check that a user is authorised before granting access.

27 min·0/7 steps
Start
2

Range validation with loops

Ready

Keep asking until a numeric input lies inside inclusive limits.

29 min·0/7 steps
Start
3

Presence, length, type and format checks

Ready

Choose a validation rule that matches the data being entered.

31 min·0/7 steps
Start
4

Syntax, runtime and logic errors

Ready

Classify why a program failed and correct the faulty line.

30 min·0/7 steps
Start
5

Test data and test plans

Ready

Use normal, boundary, invalid and erroneous values to try to break a program.

29 min·0/7 steps
Start
6

Reading and writing files

Ready

Open, read, write and close files so data can survive between program runs.

32 min·0/7 steps
Start
7

Random integer generation

Ready

Generate inclusive random values and seed Python when a repeatable test is required.

27 min·0/7 steps
Start
8

Decomposition and complete solutions

Ready

Plan a larger problem as small sub-programs, then combine all three programming constructs.

40 min·0/7 steps
Start