Data types
Loops
Conditionals
Lists
100

What data type would store a person’s name

Text, Number, or Boolean?

100

What does a loop do in programming?

It repeats a set of instructions multiple times

100

What block is used to make a decision in MIT App Inventor?

The “if” or “if-else” conditional block.

100

What is a list used for in MIT App Inventor?

To store a collection of items (e.g., names, scores) in one variable.

200

What data type would store a person’s name — Text, Number, or Boolean?

Text

200

What is the name of the block in MIT App Inventor used to repeat actions a certain number of times?

The “for each number from … to … do” or "repeat … times" block.

200

What does an if-else block do

It tests a condition; if it’s true, do one set of actions; otherwise, do another set.

200

What block do you use to add an item to a list?

The “add items to list” block or “add item to list” block

300

If you need to store the number of lives left in a game, which data type would you use?

Number (integer or numeric type)

300

If you wanted a sprite to move 10 steps forward 5 times, what kind of loop could you use?

Use a “repeat 5 times” loop, with move-forward(10) inside it.

300

Create a conditional that checks if a score is greater than 50 — if true, show “You Win!”, else show “Try Again!”

if score > 50:

   set Label.Text to "You Win!"

else:

   set Label.Text to "Try Again!"

300

How would you get the first item from a list called PlayerNames?

Use “select list item list PlayerNames index 1”

400

In MIT App Inventor, what type of block do you use to convert a number to text for display in a Label

Use the “number → text” block (or “text from number”) block under Text.

400

How would you make a loop that repeats until the player’s score reaches 10?

Use a “while” or “repeat until” block: repeat until score = 10

400

How can you combine multiple conditions, such as checking if the score is above 10 and time is below 30 seconds?

Use logical operators and, or

400

If you have a list of colors, how could you make the background change to a random color from that list?

index = random integer from 1 to length of colorList  

color = select list item list colorList index index  

set BackgroundColor to color

500

Explain the difference between Text and Number data types when used in math operations.

A Number can be used in numeric operations (addition, subtraction, etc.). If you treat text that looks like a number as Text, arithmetic won’t work correctly — it’s treated as string concatenation or error.

500

Write or describe an example of using a loop to check every item in a list for a specific value.

for each item in MyList:

    if item = targetValue then

       doSomething

500

Describe a real-life example in an app where conditionals are used to control what happens next.

  • If a user presses “Submit” and the fields are valid, show a “Thank you” message; otherwise show an error.

  • In a game: if health ≤ 0, show “Game Over” else continue.

500

Describe how you could use a loop and a list together to display every student’s name from a list

for each name in StudentList:

   display name (e.g., add to Label or ListView or show one by one)