That Blue Square Thing

Data Types

There are different types of data you need to know about...

Data Type workbooks

PDF icon1. Variables and data

PDF icon2. Strings

PDF icon2.5 Some string problems

PDF icon3. Mathematical operators

Mathematical Operators

Basic mathematical operators are addition (+), subtraction (-), multiplication (*) and division (/). BIDMAS rules apply when you're using these, so take care, especially when dealing with multiplication and division.

PDF iconBasic Mathematical Operators - notes from class

Some exam style questions dealing with operators and trace tables. It would be a good idea to code these questions in Python as well.

PDF iconQuestion 0 - a simple introduction

PDF iconQuestion 1 - not so bad

PDF iconQuestion 2 - a bit trickier (particularly the last part)

PDF iconQuestion 3 - multiplication

PDF iconQuestion 4 - division