Warning

This note is not in the study design.

It may contain information that is not relevant to the exam.

A basic data type for which all other data types are constructed. It often refers to the limited set of data representations in use by a particular CPU.

Data types constructed by primitive data types are called non-primitive data types.

Common primitive data types

  • integers (with varying sizes in bytes, i.e. 1, 2, 4, 8)
  • booleans
  • floating-point numbers

Primitive data types within python

  • integers
  • string
  • float
  • boolean