Data Types (OCR GCSE Computer Science): Flashcards

📚Flashcards
Data Types
Sign up to keep revising.Create a free account to study more flashcards and track your progress.

Practise the cards

12 cards from this deck

Show

Define data types

Types that define what kind of data a variable can hold

Define integer

Whole number (positive or negative) without decimal places

Define float/real number

Number that can contain decimal places

Define Boolean

Value that is either True or False

What are the two Boolean values?

True or False

Define character

Single letter, number, or symbol

Define string

Collection of characters (word, sentence, or text)

Define casting

Converting a variable from one data type to another

Use integers for

Whole numbers

Use floats for

Numbers requiring precision (decimals)

Use Booleans for

Yes/no or true/false situations

Use strings for

Text data

Explore OCR GCSE Computer Science Revision Notes by Topics

Explore OCR GCSE Computer Science Model Answers by Topics

Explore OCR GCSE Computer Science Quizzes by Topics

Explore OCR GCSE Computer Science Exam Questions by Topics

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

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