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.

Slides:



Advertisements
Similar presentations
As you come in… Sign in (in back) and pick up Badge Name Card – on computer… Log in: Launch/Start Alice Any questions? (of any kind) DOWNLOADS FOR TODAY:
Advertisements

Repetition everywhere – comparing while in a method and as an event Susan Rodger Duke University July 2010 modified July 2011.
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.
As you come in…  Sign in (in back) and pick up  Badge  Name Card – write your first name LARGELY on back  Log in:  Launch/Start Alice  Any questions?
PIIT Computer Science Summer Camp - Alice July 10, 2012 Brenda Parker Computer Science Department MTSU.
How Tall Are You? Introducing Functions By Jenna Hayes under the direction of Professor Susan Rodger Duke University July 2008 Updates made June 2014 by.
Decision Structures Chapter 4. Chapter 4 Objectives To understand: o What values can be stored in a Boolean variable o What sequence structures are and.
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Starting Out with Alice: A Visual Introduction to Programming First Edition.
Using Functions in Alice By Jenna Hayes Under the direction of Professor Susan Rodger Duke University July 2008.
Copyright © 2012 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Starting Out with Alice: A Visual Introduction to Programming Third Edition.
Repetition Structures
Fall 2009ACS-1805 Ron McFadyen1 Ch 7 Loops Alice has two control structures for controlling the repeated execution of statements Loop While.
Programming with Alice Computing Institute for K-12 Teachers Summer 2011 Workshop.
Using Functions in Alice By Jenna Hayes Under the direction of Professor Susan Rodger Duke University July 2008.
Repetition: Definite Loops Alice. Repetition In many kinds of animations, especially simulations and games, some actions happen again and again. Example:
CS320n –Visual Programming Indefinite Loops (Slides 7-2) Thanks to Wanda Dann, Steve Cooper, and Susan Rodger for slide ideas.
CIS101 Introduction to Computing Week 12. Agenda Your questions Solutions to practice text Final HTML/JavaScript Project Copy and paste assignment JavaScript:
Fall 2007ACS-1805 Ron McFadyen1 Ch 7 Loops Alice has two control structures for controlling the repeated execution of statements Loop While.
Fall 2007ACS-1805 Ron McFadyen1 Chapter 3 Programming - Putting Together the Pieces.
Calvin and Hobbes Teach Properties and Functions Created by Daniel MacDonald under the direction of Professor Susan Rodger Duke University June 2013.
Bug Session Two. Session description In this session the use of algorithms is reinforced to help pupils plan out what they will need to program on their.
As you come in…  DOWNLOADS FOR TODAY:  CarGameTeacherStarter.a2w  Online student textbook.
Chapter 7: Repetition 7.1 Definite loops (counted) 7.2 Conditional loops (indefinite)
Lecture 11 Alice Project Deliverable 1: Extension to Midnight! Midterm next class – Midterm review 4-6pm WED Pepper Canyon Hall 106 – Red scantron (1/2.
Line up By Melissa Dalis Professor Susan Rodger Duke University June 2011.
As you come in please…  Sign in  Create a name tent and a name tag  Introduce yourself to someone you don’t know  Grab a computer, any computer  but.
Branching and Looping Examples, cont’d. Remember the generic triple jump world…
Welcome! The Topic For Today Is…Review for Test. Your Topic Basics of Programming Control Statements Programming Concepts InteractionAlice Concepts 200.
Making a Boat Racing Game in Alice By Jenna Hayes Under the direction of Professor Susan Rodger Duke University, July 2010.
Study Guide For Test Chapter 5, 6,& 7 Test is Friday, May 15th.
Python Programming Using Variables and input. Objectives We’re learning to make use of if statements to enable code to ask questions. Outcomes Build an.
Decision Structures Chapter 4 Part 2. Chapter 4 Objectives To understand o What relational operators are and how they are used o Boolean logic o Testing.
Events Chapter 7 Part 2. While a Key is Pressed Event Specialized event An event occurs when you press a key and continues until you take your finger.
FALL 2011 TECHNICAL ORIENTATION. Session starts at 11:00 am We’ll be online shortly Speaker test starts about 10:45 To ask questions, use the chat window.
Teaching a character to walk in more than one world: Parameters and Inheritance. By Lana Dyck under the direction of Professor Susan Rodger Duke University.
Four Fundamental Pieces Instruction Control Structure Function Expression.
Fall 2o12 – August 27, CMPSC 202 First Day Handouts  Syllabus  Student Info  Fill out, include all classes and standard appointments  Return.
© Jalal Kawash Programming Peeking into Computer Science 1.
Microsoft ® Office SharePoint ® Training Sharjah Higher Colleges of Technology presents:
Flow Control: boolean expressions, “if” selection statements (Alice In Action, Ch 4) Slides Credit: Joel Adams, Alice in Action CS 120 Lecture September.
Mathematical Expressions, Conditional Statements, Control Structures
Bunny Eat Broccoli Repetition – Simple loops and Conditional loops Susan Rodger Duke University July 2011.
Programming: Putting Together the Pieces Built-in Functions and Expressions Alice.
Tutorial for Arrays and Lists. Description This presentation will cover the basics of using Arrays and Lists in an Alice world It uses a set of chickens.
ForLoopsInAlice1 Stephen Cooper Wanda Dann Randy Pausch Barb Ericson Oct 2009 Counted (For) Loops in Alice.
CS 122 Engineering Computation Lab Lab 4 Dan De Sousa and Bruce Char Department of Computer Science Drexel University Summer 2009 ©By the author. All rights.
5.04 Apply Decision Making Structures
Programming: Putting Together the Pieces Built-in Functions and Expressions Alice.
Obj: Programming: Simple Control Structures HW: Read section 3 – 2 AC3 D2 Do Now: 1.Log on to Alice. Open the file firstEncounter.a2w located in the folder.
Repetition: Definite Loops Sec 53 Web Design. Objectives The Student will: Understand loops and why they are used Understand definitive loops Know how.
Research Experience Program (REP) Spring 2008 Psychology 100 Ψ.
Concorde In-Service June 24, 2014 Increasing Student Involvement.
Year 10 Algebra 2.2 Factorising using common factors WATCH THE LESSON PATH ON THE WEEBLY UNDER FACTORISING OR/AND READ THROUGH THIS POWERPOINT (the videos.
CompSci 4 Chap 6 Sec 2 Sep 30, 2010 Prof. Susan Rodger “All your troubles are due to those ‘ifs’,” declared the Wizard. If you were not a Flutterbudget.
Programming: Simple Control Structures Sec 46 Web Design.
Repetition everywhere – comparing while in a method and as an event Susan Rodger Duke University July 2010.
 1.- Going over the agenda  2.- Face-To-Face Introduction. Instructor have an Ice Breaking activity on asking teachers short “non-effective questions”
Using Placeholders to Simplify your Methods: Learning Methods, Part 2 By Deborah Nelson Duke University Professor Susan Rodger June 16, 2008.
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley 4-1 Lecture Objectives To understand: –what values can be stored in a Boolean.
How Tall Are You? Introducing Functions for Alice 3 By Jenna Hayes under the direction of Professor Susan Rodger Duke University July 2008 Updates made.
1 Agenda  Unit 7: Introduction to Programming Using JavaScript T. Jumana Abu Shmais – AOU - Riyadh.
1 Quiz Show Programming Terms. 2 Alice - 3D Virtual Programming Vocabulary Quiz Board Chapter 1 Chapter 2a Chapter 2b Chapter 3 Chapter 4 $100 $200 $300.
Programming: Simple Control Structures
Putting Objects in Motion
Programming: Simple Control Structures
Simple Control Structures
Control Structures
Creativity in Algorithms
Using Functions in Alice
Intro to Programming (in JavaScript)
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 Check your 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  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