This introduction covers Different Kinds of Data within Data Types for GCSE Computer Science. Revise Data Types in Programming for GCSE Computer Science with 15 exam-style questions and 10 flashcards. This topic appears less often, but it can still be a useful differentiator on mixed-topic papers. It is section 2 of 8 in this topic. Use this introduction to connect the idea to the wider topic before moving on to questions and flashcards.
Topic position
Section 2 of 8
Practice
15 questions
Recall
10 flashcards
Different Kinds of Data
Just as you wouldn't store milk in a paper bag, computers store different kinds of data differently. An integer is a whole number (like counting apples: 1, 2, 3). A real/float has decimal places (like money: £19.99). A string is text (like a name: "Alice"). A boolean is true/false (like a light switch: on or off). A character is a single letter ('A'). Choosing the right type matters!