Why programs need data types
Why programs need data types
In a high-level language such as Python, a program stores values in variables like score = 10 or name = "Alex". A data type tells the program what kind of value is stored and what operations make sense for it.
Step-by-step lessons covering OCR GCSE Computer Science Data types for GCSE Computer Science. Each lesson works through exam-style questions in Component 01 and Component 02 format. Build strong foundations in binary, logic and core programming constructs before moving on to the more complex algorithm design and evaluation questions.