Algorithms
Flowcharts
Trace Tables
MIT App Inventor
Event Handler Charts
100

The difference between an algorithm and a flowchart.

An algorithm is a list, and a flowchart contains shapes.
100

The difference between a flowchart and a trace table.

A trace table is a chart and an algorithm is a set of instructions.

100

What do trace tables track?

Variables

100

When inputting code, what "viewer" do you need to be in?

Blocks Editor

100

An event handler chart as two columns. What are the headers (titles) of those two columns?

Event and Description

200

What is the final value of X in this algorithm?

X=10

X=X+3

X=X+2

X=X/5

3

200

Commands or actions are represented by what shape?

Rectangles

200

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

200

How is an image is different than an image sprite?

An image sprite can be moved by someone playing a game.

200

The first app your drew an event handler chart was called...?

Build-A-Body

300

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

300

Arrows represent what?

Connections

300

Write a trace table to solve for W.

W=45

E=15

W=W-E

W=W*2

E=E+85

60

300

A button, label, or text box can be found in what drawer of the palette pane?

User Interface drawer

300

What information do you put in the description of an event?

You write out what should happen when the event occurs.

400

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

400

The beginning or end of a flowchart is designated with an...

Oval

400

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

400

If you wanted to put two buttons next to each other, what kind of arrangement would you need?

Horizontal arrangement?

400

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.

500

What is the final value of H?

H=2

H=H*10

H=H/4

H=H*20

100

500

Conditional logic is represented by...

Diamond/Rhombus

500
Write a trace table to find the phrase.

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

500

How do you show conditional logic in code?

An if, then block

500

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.

Start button pushed, clock counts down from 30, next screen button is pushed.