Skip to content

Commit

Permalink
session 4
Browse files Browse the repository at this point in the history
  • Loading branch information
tatarchm committed Sep 28, 2024
1 parent 76916ee commit 87df959
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/courses.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ This course focuses much heavier on programming. We are going to discuss some fu
- [Session 1: Introduction](sessions/s1.md)
- [Session 2: Loops & conditionals](sessions/s2.md)
- [Session 3: Practical session](sessions/s3.md)
- [Session 4: Variables](sessions/s4.md)

### Topics

Expand Down
23 changes: 23 additions & 0 deletions docs/sessions/s4.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Session 4: Variables

## Recap (5 min)

## Variables (15 min)

- what are variables? (boxes to store information, different types for different things)
- basic types: int, float, bool
- what can we do with variable (put something in the box, see what's in the box)
- assignment
- storing function outputs in variables
- comparison
- using variables as function inputs

## Practical task (60-70 min)

- develop a lock with a PIN code
- compare remote input (3-4 digits) with expected code
- indicate correctness with and LED

## Locoboard (if time allows)

- show locoboard, explain what we can do with it

0 comments on commit 87df959

Please sign in to comment.