Weekly materials
Week 2 - Programming
Stat 850
Course information
Overview
Syllabus
Support
Schedule
Useful links
Weekly materials
Week 1 - Tools
Week 2 - Programming
Week 3 - Data & Control Structures
Week 4 - Data Programming
Week 5 - Reading Data
Week 6 - Data Cleaning
Week 7 - Data Joins
Week 8 - Graphics
Week 9 - Midterm Exam
Week 10 - Reproducibility
Week 11 - Functional Prog.
Week 12 - Simulation
Week 13 - Simulation
Week 14 - Thanksgiving
Week 15 - Interactive Graphics
On this page
Week 2: Introduction to Programming and Variable Types
📖 Reading
🎯 Check your understanding
🥣 Prepare for class
🌮 Tuesday
🔨️ Thursday 🌩
🏋️ Practice your skills
Report an issue
Weekly materials
Week 2 - Programming
Week 2: Introduction to Programming and Variable Types
📖 Reading
For Class:
Introduction to Programming
Variables and Basic Data Types
Getting Started with Quarto
Context:
Chapter 2 of The Programmer’s Brain: What Every Programmer Needs to Know About Cognition by Felienne Hermans
Note that the examples in this book are given in unfamiliar programming languages. That’s ok - read the code as best as you can, but part of the point of this chapter is that reading code can be hard, and it’s useful to see how the programming language affects that perception.
How Integers and Floats Work, by Julia Evans
(optional)
🎯 Check your understanding
Reading Quiz Week 2
Reading Quiz Week 2.5
🥣 Prepare for class
Work through the examples in the textbook
🌮 Tuesday
Slides
🔨️ Thursday 🌩
Slides
🏋️ Practice your skills
Homework 2
Week 1 - Tools
Week 3 - Data & Control Structures