Algorithms
Blocks1
M-V-C pattern
MIT App Inventor
Blocks2
100

The difference between an algorithm and a flowchart.

An algorithm is a list, and a flowchart contains the steps of the algorithm.

100

I want to program the HelloButton within an app to start playing an audio file when I do a Long click.What line of code should I use?

Call/Purple(command).

100

I can change the properties for my buttons, labels, text to speech, players, that means I'm on what Layer?

View Layer

100

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

Blocks Editor

100

"Is the Harp button playing?Yes it is ,then make it stop otherwise, make it play." What is the portion of this conditional statement  for the else part?

Otherwise, make it play



200

What is a conditional question?

A question that looks for yes or no answers.

200

1.Tom wakes up. 2.Tom puts on shoes. 3.Tom takes a shower. Does Tom pay attention to sequence?

No

200

When I'm introducing my personal information in the app, what Layer is being changed?  

Model Layer

200

Why the Player component is under the Screen?

It is non-visible component.

200

What is the pink built-in block used for?

For Typing

300

The difference between a linear algorithm and a conditional algorithm.

The diamond shape 

The conditional statement/Question

Two different paths for solving the same task.

300

The Font size property for the JokeButton is 25 on the property column, Designer View. I'm coding this button and I want to change the Font size to 20. What line of code should I use?

A setter/Dark green.


300

We can't have an app without a blueprint. What is our blueprint called?

M-V-C pattern

300

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

User Interface drawer

300

If I need to delete a block of code in my program where is that done?

In the block view




400

When can algorithms be used?

To design a solution to any problem/task.

400

The Audio Source property for the MeaslesPlayer is measlesmp3 on the property column,Designer View.I'm coding this button and I want to keep this property.What line of code should I use?

A getter/Light green

400

A computer scientist is bringing an audio file from a different source, what is he doing?

Introducing data in the App.

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 clicked, and resetting the player when the device is shaken. What are the events in those requirements?

A button is clicked, and a device is shaken.

500

Why are flow charts effective?

It's easy to visualize the actions/steps that need to be programmed.
500

Do you have gas?If the car has gas drive to the restaurant if not, make an order for delivery.What portion of the if then else block should I use for the portion : If the car has gas drive to the restaurant

Then...

500

An end-user is drawing on a screen. With what layer is he/she interacting?

View Layer.

500

If I want to have all of my components arranged in the middle of my Screen, what property I need to change? 

Align Horizontal to Center to 3.

500

What is the name of the block which starts and ends a sequence in a flow chart?


Event-handler