OCR GCSE Computer Science Paper 2 Practice 2026 - Free Practice Questions and Study Guide

Question: 1 / 400

Which of the following is not a fundamental data type in programming?

String

Boolean

Variable

The choice of "Variable" as the answer highlights an important distinction in programming terminology. A variable is not a fundamental data type; rather, it is a symbolic name associated with a value in memory. Variables are used to store data that can change during the execution of a program and are just containers for values of various data types.

In contrast, fundamental data types, such as strings, booleans, and real numbers, represent specific kinds of values that a programming language can handle directly. Strings are used to represent sequences of characters, booleans represent true or false values, and real numbers represent floating-point values that can include fractions or decimals. Each of these fundamental types is defined by the language and forms the basis for data manipulation and operations.

Understanding the distinction between data types and variables is crucial for effective programming and data management.

Get further explanation with Examzify DeepDiveBeta

Real

Next Question

Report this question

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy