# Introduction to Computational Thinking with Data ðŸ“Š

UC Berkeley, Summer 2021

Instructors: Isaac Merritt (isaacmerritt@berkeley.edu), Ian Castro (castro.ian@berkeley.edu)

Lecture: MW 10-11AM, TuTh 10AM-12PM, Lab: MW 11AM-12PM, Discussion: F 10AM-12PM, Office Hours: See Ed

The following breakdown is tentative. All assignments are available for public consumption on our GitHub.

### 1. Welcome to Data 6!

Jul 6

1 Introduction + Course Overview; Jupyter and Arithmetic

1 slides â€¢ lec1 code â€¢ lec1 code HTML â€¢ lec2 code â€¢ lec2 code HTML

1 optional readings: CIT 3.1, 4.1; SPR 8

Jul 7

2 Variables and Types

2 slides â€¢ QC â€¢ code â€¢ code HTML

Jul 8

3 Comparison; Functions

3 slides â€¢ QC â€¢ lec1 code â€¢ lec1 code HTML â€¢ lec2 code â€¢ lec2 code HTML

3 optional readings: CIT 4.3, CIT 8.0, SPR 9

Homework 1 Introduction to Python (due July 12th)

Survey 1 Weekly Survey (due July 12th)

Jul 9

Discussion 1 Data in Education

### 2. Python Fundamentals

Jul 12

4 Control (if/else)

4 slides â€¢ QC â€¢ code â€¢ code HTML

4 optional readings: CIT 8.0, SPR 9

Lab 1 Functions

Jul 13

5 Control & Functions Review; Lists and Strings

5 optional readings: CIT 9.1; SPR 12, SPR 13, SPR 11

Jul 14

6 Iteration I (For Loops)

6 slides â€¢ QC â€¢ code â€¢ code HTML

Lab 2 Python Fundamentals

Homework 2 Python Fundamentals (due July 19th)

Survey 2 Weekly Survey (due July 19th)

Jul 15

7 Iteration II (For Loops & Algorithms); Iteration III (While Loops)

7 slides â€¢ QC â€¢ lec1 code â€¢ lec1 code HTML â€¢ lec2 code â€¢ lec2 code HTML

7 optional readings: SPR 10, 14; TCS 8.2, 10.18, Luhnâ€™s,TCS 10.24

Jul 16

Discussion 2 Human Contexts & Ethics

### 3. Data and Tables

Jul 19

8 Quiz 1 Review

8 slides â€¢ QC â€¢ code â€¢ code HTML

Lab 3 For Loops

Jul 20

Quiz 1 Quiz 1 (in lecture)

9 File Formats + Dictionaries

9 slides â€¢ QC â€¢ code â€¢ code HTML

9 optional readings: CSV vs. JSON, Imports, SPR 21, TCS 12

Jul 21

10 Dictionaries and NumPy

10 slides â€¢ QC â€¢ code â€¢ code HTML

10 optional readings: SPR 21, TCS 12, CIT 5, Data 8 Python ref

Homework 3 Dictionaries and NumPy (due July 26th)

Survey 3 Weekly Survey (due July 26th)

Jul 22

11 Table Fundamentals; Row Manipulation

11 slides â€¢ QC â€¢ lec1 code â€¢ lec1 code HTML â€¢ lec2 code â€¢ lec2 code HTML

11 optional readings: CIT 6.0, CIT 6.1-6.4, `are.` docs

Jul 23

Discussion 3 Algorithmic Bias

### 4. Table Methods

Jul 26

12 Applying

12 slides â€¢ QC â€¢ code â€¢ code HTML

Lab 5 Tables

Jul 27

13 Grouping; Pivoting

13 slides â€¢ QC â€¢ lec1 code â€¢ lec1 code HTML â€¢ lec2 code â€¢ lec2 code HTML

13 optional readings: CIT 8.2, 8.3; Table Visualizer

Jul 28

14 Joining and Row Methods

14 slides â€¢ QC â€¢ code â€¢ code HTML

14 optional readings: CIT 8.4, Join animation

Lab 6 More Table Methods

Homework 4 Table Methods (due August 2nd)

Survey 4 Weekly Survey (due August 2nd)

Jul 29

15 Case Study: University Rankings; Quiz 2 Review

15 case study slides â€¢ QC â€¢ code â€¢ code HTML

Jul 30

Discussion 4 Data in Elections (Cambridge Analytica)

### 5. Data Visualization

Aug 2

Quiz 2 Quiz 2 (in lecture)

16 Introduction to Visualization

16 slides â€¢ QC â€¢ code â€¢ code HTML

16 optional readings: History of Viz

Aug 3

17 Visualizing Categorical & Numerical Variables

17 slides â€¢ QC â€¢ lec1 code â€¢ lec1 code HTML â€¢ lec2 code â€¢ lec2 code HTML

17 optional readings: CIT 7.1, CIT 7.2* (see Slide 2)

Aug 4

18 Visualizing Two Numerical Variables

18 slides â€¢ QC â€¢ code â€¢ code HTML

Homework 5 Data Visualization (due August 10th)

Survey 5 Weekly Survey (due August 10th)

Aug 5

19 Maps; Fun with Plotly

19 slides â€¢ QC â€¢ lec1 code â€¢ lec1 code HTML â€¢ lec2 code â€¢ lec2 code HTML

Aug 6

Discussion 5 Privacy (Carpenter v. US)

### 6. Simulations with Data + Conclusion

Aug 9

20 Case Study: Perception

20 slides â€¢ QC â€¢ code â€¢ code HTML

Lab 8 More Visualization

Aug 10

21 Randomness + Simulations; Finding and Using Data

21 slides â€¢ QC â€¢ lec1 code â€¢ lec2 code â€¢ code HTML

21 optional readings: Randomness; CIT 9.3, 10.1

Aug 11

22 Conclusion + Next Steps

22 slides â€¢ QC

Lab Next Steps (no notebook)

Survey 6 Final Survey (due August 14th)

Aug 12

23 Final Review

Aug 13

Final Exam Final Exam (in lecture 10AM-12PM)