1.1 and 1.2

  • A variable is an abstraction that is in code that holds a value

  • A variable is like a container with a name (the variable) and whatever you put inside should correspond to that variable to make it easier

  • College board useless ← instead of = because college board writes in pseudo code

  • Boolean is when it lists something as true or false

  • Strings are a series of characters that can either be letters or numbers

  • Lists are sequences of elements with each element being a variable. An example can be a list of students names

  • Data Abstraction is taking code and boiling it down to what you see and making it user friendly

  • To list some variables, you can just print out the list of the variables and the output would be the list of whatever the variables equal

Example of a string:

  • "Merry Christmas" or "503-777-7777"

Example of Data Abstraction (The result):

  • when using a cell phone, you can figure out how to answer incoming calls and respond to text messages

Some of the hacks from this particular topic: screenshot

This code is an example of why using lists can be useful. You just have to print one variable instead of multiple to get the same result. It also manages complexity and makes a programmers life much simpler.