From 11996a0e180d57edba90843e986310bd5c49d953 Mon Sep 17 00:00:00 2001 From: Adam Blank <blank@caltech.edu> Date: Mon, 14 Oct 2024 20:44:02 +0000 Subject: [PATCH] autocommit --- 06/overview.md | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 06/overview.md diff --git a/06/overview.md b/06/overview.md new file mode 100644 index 0000000..b5d85c6 --- /dev/null +++ b/06/overview.md @@ -0,0 +1,33 @@ +# Lecture 06 Overview +# "Feedback-nostic" +- As announced on Canvas, today's diagnostic is all about feedback! +- We've already gotten some feedback that I want to address: + - There's a lot of responses that take on two forms: + - "Lecture is too fast and doesn't cover syntax" + - "Lecture is too slow and doesn't cover interesting algorithms" + - This is actually completely expected for a first programming course!!! Experience is very varied and we're doing our best to make sure everyone is covered and has a good time. + - Regardless, we're going to try some things to help everyone: + 1. We have readings! These have always been there (thanks Mike!), but a lot of people didn't know about them. We will now designate "pre-lecture" readings for each lecture which you can, but do not have to, read to make sure you have the foundational syntax in place before lecture! + 2. Starting with project03, all projects will have "honor roll" problems which are not worth credit but are worth brownie points. + 3. Please go to recitation if you need more help! The TAs are happy to answer any sorts of syntax questions or things you didn't completely get in lecture there! + - More clearly articulated goals for lecture. (That's what this document is.) + + +## Case Study: Wordle + +- Introduction to File I/O (Making a list of words from a file) + - What is a file? + - How do we read files? + - `get_words() -> list[str]` + +- Introduction to dictionaries + - What is a dictionary (or map)? + - Why are they useful? + - How do we initialize dictionaries in code? + - What are some useful syntax for dictionaries? + +- The "wordle" game + - `get_wordle_words() -> list[str]` + - `how_many_exact_matches(word1: str, word2: str) -> int` + - `get_counts_of_letters(word: str) -> dict[str, int]` + - `how_many_overall_matches(guess: str, answer: str) -> int` \ No newline at end of file -- GitLab