Skip to main content

← Computer Science syllabus

SingaporeComputer Science

Programming in Python

5 dot points across 5 inquiry questions. Click any dot point for a focused answer with worked past exam questions where available.

How do functions package code with parameters and return values, and why do they help?

How do Python lists and strings store and index sequences of data?

How do Python for and while loops repeat code, and when should each be used?

How does Python make decisions with if, elif and else, and how do we build conditions?

How do variables store data in Python, and what are the main data types?