Rev Up for Success with the 2026 OCR GCSE Computer Science Paper 2 Practice Extravaganza!

Question: 1 / 400

What type of numbers include a decimal part?

Integer

Real (or float)

The correct answer is real (or float) numbers because these types of numbers can represent values that include a decimal point. This means they can express values that are not whole numbers, allowing for greater precision in calculations involving fractional quantities. For example, real numbers can be used to represent measurements such as 3.14 or -2.5, which cannot be captured by integers.

In contrast, integers are whole numbers without any decimal or fractional component, meaning they cannot represent values like 2.75 or -1.5. Boolean values pertain to true or false states, irrelevant to decimal representation, and characters represent single letters, digits, or symbols, neither of which involves numeric values with decimal parts. Thus, real (or float) numbers are the only category listed that includes a decimal part.

Get further explanation with Examzify DeepDiveBeta

Boolean

Character

Next Question

Report this question

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy