NEW
Font size
WorksheetsApp Creators - Interim TEST
Total questions: 30
Worksheet time: 1hrs 15mins
What are the two main components of MIT App Inventor?
Viewer and Components
Designer Screen (Designer page) and Blocks Editor
Blocks and Properties
Palette and Blocks Editor
In MIT App Inventor, how many windows are in the Designer Screen (Designer page)?
2
3
4
5
The writing of compound words (like variable names, procedure names, and file names) by starting each word with a capital letter is called...
camelcase
software
components
properties
How do you rename a file so that you can keep the original file?
Projects --> Save project as... --> New name: --> OK
Projects --> Save project
Projects --> Start project as... --> Project name: --> OK
Projects --> Start new project --> New name: --> OK
In MIT App Inventor, where is code added?
Components
Drawers
Blocks Editor
Designer Screen
The file extension for the programs in MIT App Inventor is:
.com
.jpg
.hex
.aia
To add components to your program in App Inventor, drag components from the Palette to the...
Viewer
Blocks Editor
Properties window
Media
What does a Button detect?
sound
images
clicks
text
Which window would you change the font size for a TextBox?
Palette
Viewer
Properties
Components
Which window in the Designer screen shows what the app will look like?
Viewer
Palette
Properties
Components
In the Designer screen, the Palette holds...
viewer
drawers
properties
blocks
A Label displays:
font
components
text
blocks
Blocks of code that are available regardless of which components are in your project are called what?
built-in
properties
components
drawers
Which is an example of camelcase?
App Inventor
myfirstapp
buttons and labels
helloCodi
"Fill parent" for the width or height means what?
width or height is set automatically
you choose the width or height
size is chosen to fill the available space
the number of pixels
What does the ListPicker component do?
A Button that displays a list of texts for the user to choose; it is set in the ElementsFromString Properties.
A Button that picks text for the user; it is set in the ElementsFromString Properties.
A Button that displays a list of texts for the user to choose; it is set int he ShowFilterBar.
A text that displays a list of texts for the user to choose; it is set in the ElementsFromString Properties.
What will the program do with this block of code?
the Ball will travel to the side of the canvas and stop
the Ball will bounce off the edge of the canvas
the Ball will speed up
the Ball will bounce three times
Why would a programmer rename a component?
the name of the component would be more relevant and specific, then coding would be easier
so that you know the difference between a Button and TextBox
the program would run faster
you can't rename components
An algorithm is a set of instructions used to carry out a task. What is a linear algorithm?
Multiple sets of steps and conditions
Only one set of steps (commands only)
A line
Coding your program using Blocks Editor
Using the image above, which of the following algorithms would move the arrow from START to END, following one of the gray paths? (Note that turnLeft and turnRight turn in place)
moveForward - 4 blocks
turnRight
moveForward - 6 blocks
turnLeft
moveForward - 6 blocks
moveForward - 2 blocks
turnRight
moveForward - 2 blocks
turnLeft
moveForward - 3 blocks
turnRight
moveForward – 4 blocks
turnLeft
moveForward – 2 blocks
moveForward - 2 blocks
turnRight
moveForward – 2 blocks
turnLeft
moveForward – 2 blocks
turnRight
moveForward – 4 blocks
turnLeft
moveForward – 4 blocks
moveForward - 2 blocks
turnRight
moveForward – 2 blocks
turnLeft
moveForward – 6 blocks
turnRight
moveForward – 2 blocks
turnLeft
moveForward – 4 blocks
What does the above block of code do?
Sets ListPicker1 to "+".
Takes the choice from ElementsFromString and adds 1.
Sets the TextBox, called ListPicker1, to the text.
Sets the TextBox, called ListPicker1, to whatever the user selects from the ElementsFromString.
Which is true about a conditional statement, such as the above example?
The flowchart shape is a rectangle; the blocks if/then - else would result in 2 choices.
The flowchart shape is a rhombus; the blocks if/then - else would result in 3 choices.
The flowchart shape is a rectangle; the blocks if/then - else would result in 3 choices.
The flowchart shape is a rhombus; the blocks if/then - else would result in 2 choices.
Which of the following statements correctly describes the event for the event handler shown above?
When Button1 is clicked, a message will display.
The app will display a message when the user speaks.
When Button1 is clicked, a speech will be heard.
When Button1 is clicked, the app will speak the message that the user has input.
From Activity 1.3, what are the 3 layers in mobile apps?
view, controller, and model
controller, UI, and designer
designer, blocks, and program
model, view, and design
Which layer in the mobile app contains the program or the instruction (blocks) that tells the app exactly how to behave (from Activity 1.3)?
view
model
controller
designer
When programming, what is a difference between a TextBox and Label component?
They are exactly the same.
You can enter a hint for the user in a TextBox, but not a Label.
A Label detects clicks.
You can enter a hint for the user in a Label, but not a TextBox.
Which is correctly paired with their file extensions?
images and pictures: .hex; sound files: .mp3
images and pictures: .jpg; sound files: .aia
images and pictures: .aia; sound files: .hex
images and pictures: .jpg; sound files: .mp3
In the program MyMysteryApp (renamed to MyTalkingApp), you used the CheckBox component. What is a CheckBox?
A CheckBox can detect user taps.
A CheckBox is the same as a TextBox.
A CheckBox is a progress bar that adds a draggable thumb
A CheckBox is used to check that the program will run.
An app developer wants to create the code for a CheckBox component that when selected (checked), turns a label component’s background color to red; when not checked turns the label component’s background color to blue.
Which of the following flowcharts is the correct way to show the algorithm for this behavior?
When is camelcase used?
to name files, variables, or procedures
when you add a TextBox component
when you are listing elements for a spinner
when changing text for a Button
