Computer+Science+(Semester+2)

Monday, June 6, 2011
//Objective:// SWBAT fill out an end of the year survey and learn about google's app inventor program.

Agenda: - Fill out the following survey completely and honestly: End of the Year Survey - Learn about google's App Inventor to begin writing android apps: Google App Inventor

Friday, May 13, 2011 - Friday, June 3, 2011
//Objective:// SWBAT create a project that demonstrates their ability to program in HTML, Scratch or Processing.

Agenda: -

Wednesday, May 11, 2011 - Friday, May 13, 2011
//Objective:// SWBAT move their processing pictures automatically by using for loops.

Agenda: - - Questions?

Using the picture you created last week, use the code provided to move your entire picture. (You can decide what directions it moves in)
 * Movable Pictures (using arrow keys): **

//** To play around with the speed of your picture... Keep in mind: **//

x++; <-- This will make the picture move 1 to the right every time x+=10; <-- This will make the picture move faster by going 10 to the right every time.

**Homework:** Movable Picture Assignment - With for loop **(due Friday)**

===

===

Friday, May 6, 2011 - Tuesday May 10, 2011
//Objective:// SWBAT move their processing pictures by using the arrow keys.

Agenda: - How to use the ARROW KEYS document! - Questions?

Using the picture you created this week, add code that will allow you to use the arrow keys to move your entire picture.
 * Movable Pictures (using arrow keys): **

**EXTRA CREDIT:** Use other keys to make only parts of your picture move or change!

**Homework:** Movable Picture Assignment - With arrow keys **(due Tuesday)**

===

===

Tuesday, May 3, 2011 - Friday, May 6, 2011
//Objective:// SWBAT use variables to create pictures that are easily movable in processing.

Agenda: - Introduce movable picture assignment - Questions?

Using variables (not necessarily for loops), create a picture that is easily moved just by altering the variable.
 * "Movable" Pictures: **

It might be best to first create a picture and THEN add in variables to make sure everything is working properly.

I expect you to be able to move your picture AT LEAST up/down OR left/right. Doing both is extra credit.

**Homework:** Movable Picture Assignment **(due Friday)**

Monday, May 2, 2011
//Objective:// SWBAT use variables to create pictures in processing.

Agenda: - Introduce variables

- Introduce for loops

Example Document:

**Homework:** Create a design using a for loop. Your picture should have duplicated pictures in it.

= =

Monday, April 25, 2011 - Friday, April 29, 2011
//Objective:// SWBAT replicate pictures in processing.

Agenda: - Introduce replica assignment (Must do 6 of the 8) - Processing User Guide (Use this guide to learn how to make the star figure in #5)

**Homework:** Replicas due FRIDAY (April 29)

**Commenting your code is extra credit.** Doing more than 6 pictures is extra credit too.

Wednesday, April 6, 2011
//Objective:// SWBAT create a processing picture.

Agenda: - Demo rect, triangle, point - Demo color palate

line(x1, y1, x2, y2); ellipse(centerX, centerY, width, height); rect(topLeftX, topLeftY, width, height); triangle(x1, y1, x2, y2, x3, y3); point(x,y);
 * HELPFUL CODE: **


 * If you want to download processing, go to the following site ** : Processing.org

**Homework:** None ===

===

Tuesday, April 5, 2011
//Objective:// SWBAT create dynamic processing programs.

Agenda: - Demo lines, background, stroke and color (RGB)


 * If you want to download processing, go to the following site ** : Processing.org

**Homework:** None ===

===

Monday, April 4, 2011
//Objective:// SWBAT begin creating processing programs.

Agenda: - Introduce Processing and why we are using this language - Demo ellipses, void setup, void draw - Demo save, open and export


 * If you want to download processing, go to the following site ** : Processing.org

**Homework:** None

Wednesday, March 30, 2011 and Thursday, March 31, 2011
//Objective:// SWBAT create a PowerPoint presentation to show what they have learned about the robots in class.

Agenda: - Introduce PowerPoint Assignment - Work on PowerPoint Presentations (INDIVIDUALLY)

Slide 1: Title Slide Slide 2: Group Members you worked with Slide 3: Things you liked about the robots Slide 4: Things you didn't like about the robots Slide 5: Ideas of how to improve the robot section of this class for next year Slide 6 on: Extra slides about anything robot/class related
 * ROBOT POWERPOINT PRESENTATION (Due Thursday, March 31): **

**Homework:** Finish PowerPoint Presentation ===

===

//Objective:// SWBAT demonstrate their knowledge of scratch through making a quick "Pi Day" or "Feel Better" program

//Agenda:// - Make Scratch Program - Email it to msmaser@gmail.com while answering the following:

Sub Assignment: Please create a Scratch program with one of the following themes: 1) A “Pi Day” joke or skit 2) A “Get Better” card, joke, skit

You should email me the program at msmaser@gmail.com by the end of the class period. **//In the email, tell me the top 3 things that would make programming the robots easier. //**

**Homework:** None ===

===

//Objective:// SWBAT connect their robots and make it move forward and backwards.

//Agenda:// - Introduce Robots - Robot Safety and Rules - Parallex Demo - Moving Forward (and backwards) Demo

1. Make your robot move forward for 3 seconds
 * Robot Movement: **

2. Get your robot checked by Ms. Maser

3. Write a new program that makes your robot move backwards for 3 seconds.

4. Get your robot checked by Ms. Maser

**Homework:** None

Links to videos:
Watson (watched in class): [|Smartest Machine on Earth]

Watson on Jeopardy: [|Day 1, Part 1] [|Day 1, Part 2] [|Day 2, Part 1] [|Day 2, Part 2] [|Day 3, Part 1] [|Day 3, Part 2] ===

===

TUESDAY MARCH 1 SUBSTITUTE TEACHER
Please do not hesitate to email me at msmaser@gmail.com if you have any questions on the paper. See you tomorrow!

===

===

//Objective:// SWBAT describe the pros, cons (limitations) of different types of robots/computers currently in existence.

//Agenda:// - Learn about Watson (Jeopardy playing computer) - Learn about other types of robots and their functions - Introduce Robot Paper

Specs: 5-7 paragraphs. 1-2 pages. Argumentative paper with a thesis arguing whether or not you think robots/computers will be able to "take over the world" or how robots can help make the world better.
 * ROBOT PAPER: **

Homework: Begin working on paper.

===

===

//Objective:// SWBAT demonstrate their final scratch games.

//Agenda:// - Email any completed projects to msmaser@gmail.com - Peer Demo and Play

GAME CHECKLIST, does your game:
- Have an instruction screen? - Work properly? - Tell the player if they won or lost? Or tell the player that the time is up/game is over? - Does the game restart with the green flag?

//Objective:// SWBAT create a timer and develop a timing game.

//Agenda:// - Develop timing game idea - Get game approved by Ms. Maser - Work on game (Due end of class Wednesday, Feb 16)

- Make a game - Use a timer for your game - Have 3 or more "timed" sprites - Keep score (points) - Give user feedback as to how well they timer their button pressing - Have a help/start screen with directions - Have the game reset when the flag is clicked - Game stop when it is over - Notify the user when it is over - Keep track of "perfects"
 * Timing Game Requirements: **

- Make game get more difficult as you keep playing OR have options for different levels on the home/help screen
 * Extra Credit: **

**Homework:** Finish all programs you have not done yet. Continue working on timer game.

//Objective:// SWBAT create a timer and develop a timing game.

//Agenda:// - Creation of timer intro - Introduction of Timing Game - Review timer solutions/develop timing game theme

1. Create a variable called timer 2. When the flag is clicked initialize the timer to 10 3. Continually, wait 1 second and check if the timer = 0 a. Output the current time either with a sprite or just show the variable b. If the timer = 0, make either the background or a huge sprite say "Time's Up" 4. When the flag is clicked, everything should start over 5. Be creative as to what you want your program to look like 6. Make sure the timer stops at 0 and does not continue into negatives
 * HOW TO MAKE A TIMER IN SCRATCH: **

**Homework:** Finish all programs you have not done yet. Begin working on timer game if you would like.

- Make a game - Use a timer for your game - Have 3 or more "timed" sprites - Keep score (points) - Give user feedback as to how well they timer their button pressing - Have a help/start screen with directions - Have the game reset when the flag is clicked - Game stop when it is over - Notify the user when it is over - Keep track of "perfects"
 * Timing Game Requirements: **

Extra Credit: - Make game get more difficult as you keep playing

//Objective:// SWBAT apply knowledge of conditionals to complete a Rock Paper Scissors program.

//Agenda:// - Review of Rock Paper Scissors Game - Rock Paper Scissors Discussion/Demo - Work on Rock Paper Scissors project (source code: )

HINT: The only code you will need to add to/change is in the computer sprite where it starts: "When I receive determine winner"

**Extra Credit:** Keep score of the wins for the computer and player. Reset the score when the green flag is clicked

===

Monday, February 7, 2011===

//Objective:// SWBAT use conditionals with And and Or to write a grade program as well as use a random number generator to write a dice program.

//Agenda:// - Review what was due - Introduce make up assignment - Demo Random Number Generator - Work on Dice Program (source code: ) Dice program requirements: - Should have two dice that are not related to each other (each is rolled separately) - The die's outcome after rolling should be random

**Extra Credit:** Figure out how to add the two die's values and display the sum on the screen

**Homework:** Finish dice program and grade program (if you need to make up an assignment)

Friday, February 4, 2011
//Objective:// SWBAT be proficient in the material they have learned this semester. (Snow day)

//Agenda:// - Review what was due - Work on any missing assignments. Get help from Ms. Maser or classmates if confused or need help.

Wednesday, February 2, 2011 AND Thursday, February 3, 2011
//Objective:// SWBAT enjoy their snow day!!!

//Agenda:// - Play in the snow - Warm up - Work on Scratch

- Using the "pick random" operator, create a Number Guessing Game where the user tries to guess the number created.
 * Blizzard Extra credit: **

**Homework:** Finish your age program if not checked in class already

Tuesday, February 1, 2011
//Objective:// SWBAT explain the concept of conditionals and enhance a program with conditionals in Scratch.

//Agenda:// - Think - Pair - Share: What comes to mind when you hear the word "if"? What are some ways we use the word "if"? - Conditional example - Develop an Age program with the following: Different things happen at different ages (you can drive, vote, get a job, etc.). Adjust the age program given to you to say at least 5 different things at different ages.

- Add a button that increments the age by one (for more accuracy) - Add a conditional is the age is less than 3 saying, "Sorry, you are not old enough for anything yet"
 * Extra credit: **

**Homework:** Finish your age program if not checked in class already

Monday, January 31, 2011
//Objective:// SWBAT explain the concept of variables and create examples of variables in Scratch.

//Agenda:// //-// Updated Wikispaces - Think - Pair - Share: What does the word variable mean in both mathematical and English terms? - Variable example - Making Variables in Scratch Demo - In class enhancement:
 * add foods that +/- 2 points when clicked
 * add foods that +/- 3 points when clicked

**- Extra Credit:** Make the background/sprites change when the score gets to a certain point.

**Homework:** Finish your enhancement to the good food/bad food variables if not checked in class already