Unit 3.1 and 3.2 Variables and Assignments/Data Abstraction Notes
Unit 3.1 Variables and Assignments
Key Points
- Variables are abstractions within programs which represent a value
- Values can be individual data points or a list/collection that contains many data values
- Types of data: numbers, Booleans (T/F), lists, and strings
Unit 3.2 Data Abstraction
Key Points
- A list is made up of elements organized in a specific order
- An element is a unique, individual value in a list
- A string differs from a list as it is a sequence of characters rather than elements
- Data abstraction uses a list by taking specific data elements from a list and organizing into a whole, less complex representation of the values such as a table