# As you come in…  Sign in (in back) and pick up  Badge  Name Card – write your first name LARGELY on back  Any questions? (of any kind)  Put on index.

## Presentation on theme: "As you come in…  Sign in (in back) and pick up  Badge  Name Card – write your first name LARGELY on back  Any questions? (of any kind)  Put on index."— Presentation transcript:

As you come in…  Sign in (in back) and pick up  Badge  Name Card – write your first name LARGELY on back  Any questions? (of any kind)  Put on index cards, drop in box (up front)  Log in:  Launch/Start Alice  Open a web browser, log in at http://piazza.comhttp://piazza.com Check your email for invitation

Agenda (modify?)  Review  Alice: Conditional execution with if statements  Online Textbook and Teacher Companion Site  Peer Instruction Example  If Statements  Break  Project Participation options for 2013-2014  Alice: Nested Loops  Programming Problem

Vocabulary Review  Object  Instruction / Tile  Method  Parameter  Loop (aka Counted Loop)

Vocabulary Review Object Instruction/Tile Method Parameter Loop (aka Counted Loop)

Code Together (Day 1 Part 4.mov)  If Statements: Conditional Execution  Sometimes code happens and sometimes it doesn’t  Ice Skater moves forward a random amount between 1 and 5 meters  Change behavior  Penguin only celebrates (jump combination) when his distance to ice skater is < 1  Add an “else” – what should happen when he isn’t “close” (< 1 meter away)  Penguin say “I’m so sad”

Online “Textbook”  Approach: We “explore” new concepts in programming  Start with a visual observation  We “guide” students in reading and thinking about the text  Embedded questions  Answers on teachers’ companion site

Module 8: Choosing your Path (If statements)  Main page: Learning Outcomes, Vocab  Discover: Videos  Exploration: Guided creation of videos  Discover is “seeing something”  Exploration is getting a closer look at how it works  NOTE: This builds on the world from the previous module – so it’s not as challenging for students as it is for you!

Goal: Ability to analyze computer programs (not JUST to write/build them)  The “Peer Instruction” pedagogy 1) Individual Thinking, Vote 2) Group Discussion (with 1-2 other students) 3) Group Vote Pre-Class preparation Quiz/Incentive/Feedback Class-wide discussion Student-led/Instructor Modeling/Mini-lecture

What would happen when this code executes? Assume height: Angel is 1.7 m, Egyptian 2 m A. The Egyptian says “I’m taller” B. The Angel says “I’m taller” C. They both say “I’m taller” D. Neither says anything

Take Aways  If statements allow for “conditional execution”  Code that is executed sometimes, but not others. It depends on some condition The condition is “boolean” and evaluates to true or false  If the condition evaluates to true Do the code (possibly more than one instruction) right under the “if”  If the condition is false Do the code (possibly more than one instruction) under the else  In ONE EXECUTION it is not possible to do both the code under the if and the code under the else

ComPASS Project Participation: pre-view  Benefits:  Summer “pedagogy” PD  Compensation for teaching course  Clickers for your students  Weekly support calls  Online QandA support  Students “passing” course get credit at UCSD and SDSU

ComPASS Project Participation: pre-view  Selection Preferences  Administrative support (principal, etc.) Start the process of talking to them, we’ll ask ~4 weeks  Can you teach it Fall 2013? Somehow modify master schedule? Already planned? Swap out material in a course is Oked More advanced: Use this first, then into your content

Summer PD Planning  We need to know when you can make it (if you think there’s ANY chance you will teach next year)

Nested Loops: Bunny Square Dance  We want to direct the bunny to hop in a square pattern. The “length” of each side of his square should be 5 hops.  Let’s watch  Break down the problem:  Create “one side” of square  Create turn  Repeat that whole thing…

Nested Loops: Bunny Square Dance  We want to direct the bunny to hop in a square pattern. The “length” of each side of his square should be 5 hops.  Let’s watch  Here’s the structure of our code, what numbers would you put in for each missing number?

Outer Loop countInner Loop countTurn parameter A45.25 B451 C54 D541 Goal: Hop in a square, 5 hops on each side

Download ppt "As you come in…  Sign in (in back) and pick up  Badge  Name Card – write your first name LARGELY on back  Any questions? (of any kind)  Put on index."

Similar presentations