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 on OCR GCSE Computer Science Data types. Each one builds up to exam-style questions. Build strong foundations in binary, logic and core programming constructs before moving on to the more complex algorithm design and evaluation questions.