Data Types (AQA GCSE Computer Science): Flashcards

📚Flashcards
Integer, Real, Boolean, Character and String
Sign up to keep revising.Create a free account to study more flashcards and track your progress.

Practise the cards

15 cards from this deck

Show

Data types

Categories telling computer what kind of data to store & how much memory is needed

Five essential data types for GCSE

Integer, Real, Boolean, Character, String

Integer data type

Whole numbers (positive, negative, or zero), no decimal points

Typical uses of integers

Counting, scores, ages, quantities without fractional parts

Real (floating point) data type

Numbers that include decimal points or fractions

Typical uses of real numbers

Measurements, prices, percentages, fractional calculations

Boolean data type possible values

Only True or False

Typical uses of Boolean values

Storing condition results, tracking yes/no situations

Character data type

Single letter, number, symbol, or space (needs quotation marks)

String data type

Collection of characters grouped together (needs quotation marks)

Character vs String difference

Character holds exactly one item, string holds multiple

Variable definition

Labeled container holding data that can change during program

Variable names can contain

Letters, numbers, and underscores

Variable names cannot start with

A number

Constant definition

Like variable but value cannot change once assigned

Join 100,000+ GCSE students studying Flashcards with us.

Select your subjects, and get access to A+ resources today.