Topic 18 · Notes

Practical programming

These notes are part of a subscription

15 sections covering the whole specification for this topic, with worked examples.

Preview

What this topic covers

Practical programming is tested in two places.

Unit 1 (written exam)Unit 2 (on-screen exam)
What you doAnswer questions on designing, building and evaluating a program for a given problemWrite, change and fix real programs at a computer
HowOn paper: data structures, pseudo-code, explaining code, suggesting improvementsIn Python, Java or VB.NET, using an IDE
SkillsField names, data types, key fields, validation, access methods, routines, annotated listings, evaluationSequence, selection, iteration, strings, arrays, files, subroutines, validation, testing

The notes start with the design skills (Unit 1), then cover the programming skills you need for Unit 2. Examples are in Python; a table later shows the same things in Java and VB.NET.

Practise by writing programs, not just reading about them: the Python Lab on this site runs Python in your browser.

Also in these notes

  • Designing data structuresAS
  • Methods of accessAS
  • Designing routines in pseudo-codeAS
  • From design to a working prototypeAS
  • Annotated listingsAS
  • Evaluating a programAS
  • The Unit 2 on-screen examAS
  • Sequence, selection and iterationAS
  • StringsAS
  • Lists and two-dimensional listsAS
  • FilesAS
  • Subroutines, parameters and validationAS
  • Python, Java and VB.NET side by sideAS
  • Testing and fixing programsAS