Skip to content

Data Types & Structures @ Development Guide:

Two important topics that sort of universal throughout coding, Data Types and Data Structures. Please note right now we only provide examples in Python.

Data Types:

There is 4 key types you should try to remember.

  1. Integer: A whole number. This excludes fractions and decimals.
  2. Float: A decimal number. This number must have a deciaml place and numbers after and before. Example: 1.34. Note if you give a integer and re-cast it as a float it will reuturn like 1.00
  3. String: A sequence of characters. Including letters, digits, and symbols. Example: "Test piece of string"
  4. Boolean: True or False (On or Off, Yes or No).

Data Structures:

There is 5 key data structures you should try to remember.

  1. Arrays: A collection of elements (data). In no order.
  2. Lists: A collection of elements that are ordered in some form.
  3. Trees: A abstract data structure that shows a hierarchical structure.
  4. Stacks: A abstract data stucture that follows the Last in, First Out rule (LIFU).
  5. Queues: A Linear Data Structure that follows a specific order for operations. First-In-First-Out (FIFO).