Skip to content

ssis-aa/managing-state

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Unit 2: Managing State

GitHub Pages GitHub release MIT license

1 Binary Secret Code - Introduction to Abstraction

1-1 Binary Secret Code - Introduction to Abstraction

We are moving on to Standard 6 which is about levels of abstraction. To understand what is meant by that, we're starting with a secret message in binary code

In this video, Mr. Weinberg introduces the idea of abstraction and teaches you to use Python to decrypt this binary code.

Link to starter code in Replit

2 Three Boards, Three Flavors

2-1 Abstraction vs. Problem Decomposition

Discussion forum on Schoology

2-2 Three Boards, Three Flavors

Watch this short video intro to our case study for today. It shows three different microcontroller boards running three different programs that achieve the same overall goal.

2-3 Case Study Three Boards - Google Doc

Make a copy of this Google Document to fill out with your group members as you look into the video and explore the code.

Some microcomputers we used to build and program a state machine. Here for "Three Boards, Three Flavors".

3 Introduction to State Machine Programming - Escape to Summer Case Study

3-1 Introduction to State Machine Programming

Based on what you did last time analyzing the code of a microcontroller board and accelerometer, this video introduces how the concept of a state machine makes this code more modular and easier to debug. The idea is to refactor the code that deals with inputs, outputs, and the logic into separate functions. This abstraction makes it easier to build more complex programs than you might otherwise be able to program.

W5-3 Binary Secret Code - Introduction to Abstraction

Binary code or here at github code.txt

Starter code on Replit

W6-5 Second module