Lecture 7

Lecture 7 - CNIT 155 Scratch Lecture07 Announcements Have...

Info iconThis preview shows pages 1–7. Sign up to view the full content.

View Full Document Right Arrow Icon
CNIT 155 Scratch  Lecture07
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Have you downloaded Scratch 4.1? We will be using that for Lab03 Lab03 It is a guessing game.  Let’s play it right now. See the finished product. 20 Points Announcements
Background image of page 2
Formulas String Concatenation Length Substring Modularity Examples Quiz04 Objectives
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Ex1:  Compute the average of 2 numbers:       (a + b) / 2 Ex2: Compute average of 3 numbers:     Ex3:  Compute square root of   b2 – 4ac Translating formulas 
Background image of page 4
Use the following formula to convert a Fahrenheit  temperature to Centigrade equivalent: The formula  is:           C = (5/9)(F – 32) Ex: Convert temperatures
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Under Operators menu: Pick random --- to ---- Ex: Make the sprite generate (say) random  numbers in certain range. Random numbers
Background image of page 6
Image of page 7
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 02/05/2012 for the course CNIT 155 taught by Professor Guityravai during the Spring '12 term at Purdue.

Page1 / 15

Lecture 7 - CNIT 155 Scratch Lecture07 Announcements Have...

This preview shows document pages 1 - 7. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online