From 5a4be8888780b32f25c1bd3d059423bd044686bc Mon Sep 17 00:00:00 2001 From: Nick Winter Date: Thu, 15 Sep 2016 13:20:22 -0700 Subject: [PATCH] Named CS2 instructive activity --- app/assets/markdown/cs2.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/markdown/cs2.md b/app/assets/markdown/cs2.md index 668c3f23c..962d3ebc7 100644 --- a/app/assets/markdown/cs2.md +++ b/app/assets/markdown/cs2.md @@ -432,7 +432,7 @@ An **event** is an object representing something that happened. Students can wri - Use event handling to control a pet - Write concurrent code mixing direct execution and event handling -### Instructive Activity: TODO (12 mins) +### Instructive Activity: President Teacher (12 mins) #### Explain (2 mins) Up until now, you have been writing code that executes once, from top to bottom: *first do this, then do this, then do that*. You also learned how to write while loops, where you can say, *then do this forever*. Using event handling, you now have a way to say, * **when** this happens, **then** do that*. It's kind of like an if-statement, except events can happen at any time, not just when you are checking for them.