### A Computer Program Is Just a Recipe

**Programs**are recipes telling computers how to “cook” data.- Programs have ingredients & instructions.
- Ingredients in a program are like boxes.
- Each box has a unique
**name**. - Each box has a
**data type**. **Boolean**data type**Character**data type**Integer**data type**Float**data type- Box =
**Variable** **Value**of a Variable**Primitive**data types**Data structures****Arrays**- Array of integers
- Array of characters
**Strings****Declaring**a variable**Assigning**a value to a variable- Assigning a
*new*value to a variable - Ingredients of a program are variables. What are instructions?
- An
**assignment**is one kind of instruction. - A
**print statement**is another kind of instruction. - A simple program: Just a print statement
- Another simple program: An assignment and a print statement

### How Computers Store Data

- Computers Can Cook Data, but We Have to Write the Recipes
- Computers Remember and Do Things Kind of Like Us
- Computers Use Secret Codes Called Data Types to Store Data Using 0s and 1s
- Boolean — Yes and No
- Boolean — Housing the Truth
- Houses of Character
- Computers Use Blocks of Memory to Represent Larger Pieces of Data
- Liar Paradox or a Joke for Computers

### How Computers Run Programs

- The Life of a Computer Program, Part 1: Fetching the Recipe
- The Life of a Computer Program, Part 2: Virtual Memory
- The Life of a Computer Program, Part 3: Program Segments
- The Life of a Computer Program, Part 4: How Computers Store Programs
- The Life of a Computer Program, Part 5: How a Computer Adds Two Numbers
- The Life of a Computer Program, Part 6: How a Computer Runs a Program
- How an Array of Integers Gets Stored in Memory
- Computers Don’t Know Anything, but They Compute Quickly

### How to Make a Computer Search for Something

- Linear Search, Part 1: A Simple Algorithm
- Linear Search, Part 2: Program Walk-through and For Loop
- Linear Search, Part 3: How the Program Works
- Linear Search, Part 4: How to Understand a Program
- Binary Search, Part 1: The Algorithm
- Binary Search, Part 2: A Play & Poem
- Binary Search, Part 3: How to Implement It
- Binary Search, Part 4: How It Runs

### How to Make a Computer Sort Numbers

- Algorithms, Page 1
- Algorithms, Page 2
- Insertion Sort, Page 1
- Insertion Sort, Page 2
- Insertion Sort, Page 3
- How to implement Insertion Sort
- Quicksort, Page 1
- Quicksort, Page 2
- Quicksort, Page 3
- Quicksort, Page 4
- Quicksort, Page 5
- How to implement Quicksort

### Data Science / Machine Learning Comics

- Linear Regression & Gradient Descent, Page 1
- Linear Regression & Gradient Descent, Page 2
- Linear Regression & Gradient Descent, Page 3
- Linear Regression & Gradient Descent, Page 4
- Linear Regression & Gradient Descent, Page 5
- Linear Regression & Gradient Descent, Page 6
- Linear Regression & Gradient Descent, Page 7
- Linear Regression & Gradient Descent, Page 8
- Linear Regression & Gradient Descent, Page 9