Computer Science › Section B · Data storage › Topic B.8

Data and programming

A programming language lets you name data and compute with it without handling bit patterns yourself. A first look at Python shows how integers, floats and text from the earlier topics appear in real code, and what goes wrong when types are mixed up.

In this topic

  • From bit patterns to programs
  • A first statement
  • Variables and assignment
  • Types and their representations
  • Arithmetic operators
  • Worked example: splitting a time
  • Working with strings
  • Three kinds of error
  • Worked example: debugging an average
  • Common mistakes to avoid
  • Key takeaways

This topic is part of Wuanberri Pro. Checking your access…

← Previous topicNext topic →