Let’s take a deeper look at how we teach students about one of Python’s most venerable data structures: the list. For many learners, the list is the first data structure that they encounter and it can be tricky to understand at first.
Episode Outline:
- Start with clear goals for topic
- Why are we teaching this?
- Backwards by design process
- What do we want the kids to do?
- What should students know when we’re done?
- Are the objectives differentiated?
- Can students demonstrate more advanced understanding according to Bloom’s Taxonomy?
- Where do they go next?
- What do students need to know before we start?
- Introducing the List
- Mathes’ : cheat sheet https://t.co/KZdJkdPz7i?amp=1
- The problem of organizing too many bits of data
- Programmers use data structures to organize related data
- Vocabulary
- Data structure
- Ordered
- Mutable
- Sequence
- Examples and Demonstrations
- Real World Grocery List
- Brainstorming types of lists in the real world
- Python Grocery List
- Practical applications
- List sizes
- Small lists (choices, menus, limiting options)
- Medium Lists (class rosters, schedules, phone apps, etc)
- Large Lists (weather data, sensor measurements, etc)
- List limits (when not to use a list)
- Order doesn’t matter
- Searching by key (use dictionary)
- List shouldn’t change (use tuple)
- List indices are confusing at first
- Zero-indexed
- Negative index
- List methods
- Append & Insert
- Pop & Remove
- Sort & Sorted
- Tools for visualization and understanding
- Python Tutor
- Mu Debugger
- Synthesis Opportunities
- Using for loops with lists
- List slicing
- List of Lists
- Functions/methods
- Creativity & Fun
- Class Schedule
- Rock Paper Scissors
Support Teaching Python
Links:
- Python Tutor - Visualize Python, Java, C, C++, JavaScript, TypeScript, and Ruby code execution — Python Tutor helps people overcome a fundamental barrier to learning programming: understanding what happens as the computer runs each line of code. You can use it to write Python, Java, C, C++, JavaScript, and Ruby code in your web browser and see its execution visualized step by step.
- Python Flash Cards: Syntax, Concepts, and Examples: Matthes, Eric: 9781593278960: Amazon.com: Books — These colorful programming study cards help new Python coders drill and reinforce the concepts, syntax, and terminology they'll need to become successful professional programmers.
Keep your coding skills sharp on the go! Python Flash Cards take a tried-and-tested method and give it a programming makeover. Eric Matthes, author of the best-selling Python Crash Course, distills essential Python programming knowledge into this 101-card deck you can use anywhere.
- UNDERSTANDING BY DESIGN® FRAMEWORK — The Understanding by Design® framework (UbD™ framework) offers a planning process and structure to guide curriculum, assessment, and instruction. Its
two key ideas are contained in the title: 1) focus on teaching and assessing for understanding and learning transfer, and 2) design curriculum "backward” from those ends.
- Will Richardson (@willrich45) / Twitter — It's the most amazing time to be a learner. Time to explore what comes next for schools. Co-founder of http://BigQuestions.Institute. Parent, speaker, instigator.