Course Segment
| Session ID
| Session Title
| Session Resources
| Session Notes
|
|
module 001: Conditionals, Loops, and Scribbler 2 Motion |
---|
1: intro. | Overview of conditional statements and control structures | Reading- Overview of conditionals, loops, and Scribbler 2 motion
| |
2: lab | Types, Variables, and Casting | Example- quarts.c
- printf-formatting.c
Reading | |
3: lab | Conditionals with the Scribbler 2 | Example- smallest3-1.c
- smallest3-2.c
- smallest3-3.c
- smallest3-4.c
- integer-words.c
- light-switch.c
- sensor-use.c
- light-sensor-example.c
- conditional-lightSensor-1.c
- conditional-lightSensor-2.c
- light-sensor-switch.c
- blocking-nonblocking.c
Reading- Boolean Values and Expressions
- An introduction to Conditional Statements in C
- Scribbler 2 Sensors and Motion
- Diagram of Scribbler 2 sensors and function calls
| use of sensors in controlling the Scribbler 2 |
4: lab | Loops and Scribbler 2 Motion | Example- ice-cream-truck.c
- robot-dance.c
- while-obstacle.c
- do-while-beep.c
- 3-loops.c
Reading | combining sensors, motion, and repeated actions |
5: lab | Nested Loops | ExampleReading | |
6: project | Project: Robot Actions | — — — | |
7: lab | Simple Simulations and More Program Management: Functions, Value Parameters, Assertions, | Example- couple-1.c
- couple-2.c
- couple-3.c
- couple-4.c
- couple-5.c
- couple-6.c
- quadratic.c
- coins.c
- yoyo-program.c
Reading- Introduction to Simulation
- Program Management with Functions and Assertions
| introductory simulations and functions with and without value parameters and return values |