Computer Science › Section C · Data manipulation › Topic C.6
Programming data manipulation
Everything Sparrow does with masks, shifts and jumps, Python can do in a line or two. Seeing the two side by side shows what a high-level language hides from you, and where the hidden details still leak through.
In this topic
- What Python hides
- Bitwise operators
- Integers with no fixed width
- Worked example: packing a colour
- Worked example: a bit-testing function
- Control structures become jumps
- Functions are jumps that come back
- Library modules
- Input and output
- Worked example: a reading-time script
- Common mistakes to avoid
- Key takeaways
This topic is part of Wuanberri Pro. Checking your access…
