Data Types

Lesson Instructions

Watch and follow the YouTube video, the lesson contains three parts:

  1. Key Information and content - all you need to do here is watch and listen

  2. Learning activity - this activity involves answering different questions about data types and identifying variables as key data types

  3. Consolidation - these are past exam question and are for deliberate practice to check your understanding.

Task - Data Types & Casting

Task - Exam Questions - Deliberate Practice

Exam Questions - Web

Mark Scheme

Question 1


  • Data type: String

  • Reason: Consists of characters


  • Data type: Integer

  • Reason: Consists of whole numbers

Question 2

  • A number can contain a fractional part

  • A whole number

  • (Not rounded off)

Question 3


  • Integer/Int

  • It is a whole number/you can't have half a word


  • String (name)

  • Real/Single/Double/Currency/Float/Decimal

Question 4

1 mark per row.

  • Gender - String

  • Dose - Real/Decimal

  • isPregnant - Boolean