Lab 1 - Due September 27 8am
Day One In Class
Login
If you enrolled in advance (not an add) your account should have already been built for you. Your user name is the same as you use for http://my.calpoly.edu. By default, your password is the first two characters of your last name plus the last 6 digits of your Cal Poly ID card. So if your last name is Jackson, your password would be something like Ja123456. When you first log in to a lab machine, you will be prompted to change your password. (Adapted from the CSC Wiki)
See
this page for help.
If you have problems... See Dr. Janzen.
Take Survey
You will take a number of surveys in your first year here with us. We use these to continually try and improve our courses. Today you take the first one. Even though we ask you for your name at the beginning of the survey, the survey is completely anonymous. We use the name to make sure we have everyone’s feedback, and then automatically remove it when we process the data for later analysis.
Please sign the informed consent that Dr. Janzen provides to you. Return it to Dr. Janzen
Please take this survey now:
Pre-123
Also take this survey now:
Getting to know you
Here are your copies of the corresponding consent forms:
123 Evaluation
,
Labs Evaluation
Listen to and watch Dr. Janzen show you how to do some really cool things in Scratch.
Telling a story
Interactive Birthday Card
Racecar
Starship Game
Button Bomb
See
this example
, and its
remix tree
. How is this a tree? Check out
this remix
of the original.
Pick a partner.
Find a computer (Tablets) and start Scratch.
Explore Scratch. Use a wide variety of Scratch features including control structures, motion, variables, sensing, operators. Try to build things such as:
Create a pong game. Use a variable to keep score. Earn a point when the ball hits the edge behind the other player. First one to 5 wins. Add a sound when someone wins.
Create a joke animation. Reveal the punch line through a change of costume.
Set up your accounts and e-portfolio. This will probably be homework due by Thursday's lab. If you have problems you will have a few minutes to ask questions and finish up on Thursday.
Create a Scratch account
here
.
If you like, you can also install Scratch on your own computer. It's free!
If you don't have a Google/gmail account, create one
here
. If you did not report this in your first day survey, email your gmail address to Dr. Janzen.
Create an e-portfolio with
Google Sites
Create nine pages in your e-portfolio. Name them as follows: Home, Lab1, Lab2, Lab3, Lab4, Lab5, Lab6, Project 1, Project 2.
Create a left sidebar with links to each of your nine pages.
Customize your home page however you like.
Add a link from your home page to your Scratch account.
Add a link to your e-portfolio home page on
this page
. You may not have access until Dr. Janzen adds your Google account.
Add Dr. Janzen (david.s.janzen (at) gmail.com) as a permitted viewer.
Day Two In Class
Sometime today, be sure you can log on to a lab machine. If you have problems, see Dr. Janzen or the system administrators in the back of the CSL
Pick a new partner - not the same person that you worked with last time.
Complete this first animation with your partner:
Create a Scratch animation (boxes-ball) that does the following:
Color the background.
Create a welcome screen that displays for 4 seconds before the game begins. Include your two names at the bottom.
Place five small squares spread around the screen. Color all the squares blue.
Create a small ball sprite. Animate the ball so it moves randomly around the screen and bounces off the walls.
Animate the squares so they change color to red when your new "floating" sprite touches them.
Change the ball sprite so that when you touch it with the mouse, it changes direction.
Add a variable that counts how many times the ball is touched by the mouse. Be sure to restart the variable at 0 when the game restarts.
Add a sprite that shows 'You Win!' if all five squares turn red and the touch-counter is less than 10, and shows 'You Lose!' if the touch-counter exceeds 10.
Upload your game to your Scratch account (both of you).
Place a link to your game on your portfolio from the Lab 1 page.
Create this second animation on your own:
Create a remix of
this Lego Model Creator
. Add the following in your remix:
Add support for pink Lego bricks. Include all the sizes the same as the other colors already supported. Use 'P' as the command to select pink.
Add a new 1x2 white brick that has your face on it. If you don't have a camera to get your face, draw a representation of your face. Use 'F' as the command to select this brick. Be sure to have two versions; one that faces left and one that faces right.
Upload your remix to your Scratch account.
Place a link to your remix on your portfolio from the Lab 1 page.
Answer the following questions at the bottom of your Lab 1 page. Copy the questions in, then place your answers below each one.
Which control structures in Scratch enable you to create loops (i.e. do things multiple times)?
In your boxes-ball animation, what condition did you use to determine whether to show 'You Win!' or 'You Lose!'? Copy in an image of the condition, then explain it in your own words.
Select three tools in Scratch that are conditions (i.e. they can be evaluated to true or false, they have pointed ends). Name and describe them.
In the Lego Model Creator, what would have to change in the scripts if you added a brick of length 10?
In the assigned reading, Logo and Basic were presented as historical predecessors to Scratch. In your own words, summarize why the authors think these languages failed to deliver ubiquitous programming education, and how Scratch addresses these failures. Three to five paragraphs will suffice.
Some have argued that Computer Programming should be the fourth R: reading, riting, rithmetic, rogramming. Do you agree that everyone should learn to program? Why or why not?
Grading Rubric
e-portfolio: 10 pts
site creation with 9 pages: 4 pts
sidebar: 2 pts
link to Scratch account: 2 pts
link to portfolio from 123 site: 2 pts
boxes-ball animation: 20 pts
boxes change color when ball touches them: 5 pts
mouse bounces ball: 5 pts
welcome screen and delay: 5 pts
win/lose functionality: 5 pts
lego model creator remix: 20 pts
pink costumes: 5 pts
script modification for 'P' with numbers and arrows: 5 pts
white face costumes: 5 pts
'F' and arrow functionality: 5 pts
questions: 18 pts
3 pts per question
excellent, complete answer with correct grammar and no spelling errors: 3 pts
mostly correct answer, perhaps minor grammar or spelling errors: 2 pts
partially correct answer, multiple grammar or spelling errors: 1 pt
incorrect answer or incomplete, poorly written answers: 0 pts
Resources
CSC Lab Wiki
Getting Started Guide
Learn Scratch
Scratch Tutorial