{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

Lecture 4 - CNIT 155 Scratch Lecture04 Announcements Lab01...

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

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

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

View Full Document Right Arrow Icon
Lab01 Due on Tonight by 10:00 PM 10 Points Late submissions will  not  be accepted. Please do NOT upload your Scratch assignments to  Scratch web site. Lab02 is posted. Due ---------- Study: Scratch-3, units 1 & 3 Announcements
Background image of page 2
Selection Comparing two things  Relational operators : <, >, = If If / else Nested if / else Using random numbers Examples Objectives
Background image of page 3

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

View Full Document Right Arrow Icon
Is one of the three main coding structures in all  high level lanuages: Sequential Selection Repetition Selection is used for decision making in the  program. To make a decision, you compare two things, ex: X < 0 X = y Y > 120 Selection
Background image of page 4
Are used to compare two values: Assume x and y are the coordinates of a point on the  stage. Operator     Meaning         Example       <                 Less than           x < 0 
Background image of page 5

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

View Full Document Right Arrow Icon
Image of page 6
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}