The difference between an algorithm and a flowchart.
The difference between a flowchart and a trace table.
A trace table is a chart and an algorithm is a set of instructions.
What do trace tables track?
Variables
When inputting code, what "viewer" do you need to be in?
Blocks Editor
An event handler chart as two columns. What are the headers (titles) of those two columns?
Event and Description
What is the final value of X in this algorithm?
X=10
X=X+3
X=X+2
X=X/5
3
Commands or actions are represented by what shape?
Rectangles
Draw a trace table to find the final value of X.
X=2
Y=4
X=X*5
Y=Y+6
X=X-Y
X=X+21
Y=X
21
How is an image is different than an image sprite?
An image sprite can be moved by someone playing a game.
The first app your drew an event handler chart was called...?
Build-A-Body
What is the phrase that goes with this algorithm?
X=20
Y=45
X=X+25
Y=Y-10
If X=Y then phrase = EQUAL, else phrase is NOT EQUAL.
NOT EQUAL
Arrows represent what?
Connections
Write a trace table to solve for W.
W=45
E=15
W=W-E
W=W*2
E=E+85
60
A button, label, or text box can be found in what drawer of the palette pane?
User Interface drawer
What information do you put in the description of an event?
You write out what should happen when the event occurs.
What is the final value of Y?
Y=50
Y=Y-45
Y=Y*10
Y=Y+100
Y=Y*2
Y=Y-150
150
The beginning or end of a flowchart is designated with an...
Oval
Write a trace table to solve for the phrase.
I=10
K=30
K=K-I
I=I+K
I=I*2
If I>K then phrase is GREATER, else phrase is LESS THAN
Phrase is GREATER
If you wanted to put two buttons next to each other, what kind of arrangement would you need?
Horizontal arrangement?
An app has the design requirements of playing music when a button is pushed, and resetting the player when the device is shaken. What are the events in those requirements?
A button is pushed, and a device is shaken.
What is the final value of H?
H=2
H=H*10
H=H/4
H=H*20
100
Conditional logic is represented by...
Diamond/Rhombus
T=8
R=10
T=T+2
R=R*2
T=T+10
R=R/2
T=T*2
If R>T phrase is GREATER THAN, else phrase is LESS THAN
LESS THAN
How do you show conditional logic in code?
An if, then block
What are the events in the following design requirements?
A start button is pushed and it begins a clock.
The clock counts down from 30 and ends at 0, if the clock reaches zero the user gets a point.
A next screen button is pushed and opens a different screen.