MIT App Inventor
Coding Concepts
Mix
Planning and Coding
MVC model
100

A block of code used to input  letters and other characters


What is a string?

100

Why I would want to use Disable command?


To isolate the bug/s.

100

A type of data whose values can only be true or false


What is a boolean variable?

100

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

100

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


View Layer.

200

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


Call/Purple(command)

200


 It is important to plan by identifying the series of steps that you need to follow to create an app. This process is called_______.


Algorithmic thinking

200

Why would I want to collapse a block?


What is To make my code easier to read?

200

A component that will help you draw and move sprites

( characters) on the screen

Canvas

200

 

The English teacher wants students to Open the app and see a display that prompts the user to enter who is being excused. The user will enter the information and then select a button to submit the information they have entered. The app will store this information.

What is the model layer of this app?

Students enter their information.

300

How programs/apps are taking decisions?


Computer scientists are using conditional statements.

300

Which command from the Right Click menu "ungreys" the blocks of code?

Enable Command

300

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...

300

Every time I click the JokeButton the background image is being changed to smiley.png What line of code have I used to code this behavior?


A setter/Dark green

300

An app has the design requirements of playing music when a button is clicked, Taking a picture using the device’s camera, and replacing the current background image with a new photo. 

What are the events in these requirements?

Clicked

After picture

400

What component can be used to change the size of a line or dot ?

Slider component

400

If I click the show warnings button, what will happen?


The code blocks that have bugs will show up with Errors- Xs or Warnings- !s

400

"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.

400


You can duplicate ______________

but you cannot duplicate _______________.

blocks of code |the same event handler

400

When I'm sending a message to a friend using Message App, what Layer am I interacting with?  


Model Layer & View Layer.

500

To color and label the cell with their fingertip what event handler do you need to use?

When Canvas draged do..

500

An app developer wants to create the code for a checkbox component that, when selected (checked), turns a label component’s background color red; when not checked, turns the label component’s background color blue.

What type of block do you need to use to code this behavior? 

Control/If then else

500

 The commands: Arrange Blocks vertically, horizontally, or by category are useful commands because they are.....


Helping isolating bugs, but they are also useful when developing code. 

Helping you organize your blocks and make them easier to find and read.

500


What do you need to do to ensure you understand each event handler's intended outcomes?


Review comments 

Review the algorithm flowcharts

500

The English teacher wants students to Open the app and see a display that prompts the user to enter who is being excused. The user will enter the information and then select a button to submit the information they have entered. The app will store this information.

What does the Controller layer do for this app?


the user introduces the data

the app saves the data


M
e
n
u