Font size
WorksheetsApp Creator: Lesson 1 Review
Total questions: 48
Worksheet time: 25mins
What is the correct way to write with camelcase?
My First App
MyFirstApp
My-First-App
myfirstapp
Why do we use camelcase?
It is quicker
It is easier to read
The code software can't read/understand spaces
What did we find in our pallet pane?
Components
Save options
Drawing options
What are some components we talked about today?
Buttons
Text Box
Images
Label
What does a computer scientist do?
Scientists who apply their knowledge of computation to creating solutions using a computer system, like apps and other programs
Scientists who apply their knowledge of computation to creating Computers and stuff
Scientists who apply their knowledge of computation to fixing things
Scientists who apply their knowledge of computation to making websites
What is the extention for app creator files?
.aia
.ptx
.doc
.fish
What is an algorithm?
a set of instructions
a computer program
a crimesolving app
Which of these can be algorithms?
flowchart
list
recipe
What is a sprite?
Graphic object that may be moved on-screen or otherwise manipulated.
A static object that cannot be moved or manipulated
Another name for a label
A variable
What is another way to describe a variable?
A placeholder in a device’s memory that stores a value a program is using.
A mathamatic equation
Something that may or may not change
We don't use variables when coding.
Why do we have to initialize a variable?
to assign a variable its initial, or first, value
to assign a variable its final, or last, value
to assign a variable its decriment amount.
to assign a variable its increment amount.
What kind of chart do programmers use to keep track of the values of variables in their program?
variable tracker
trace table
algorithm chart
event handler chart
Why is it important to read all of the instructions, and not just look at the pictures in the textbook?
The text includes important information to lead you through the project.
Soon the text book will stop using pictures to outline steps
We need to understand why and how we are making certain choices when coding.
We don't. It's a trick question. The pictures will always be there.
Speed Properties:
The speed determines how many ________ the sprite will move for each interval set.
pixels
inches
centimeters
percentages
Interval Properties:
The interval determines how often the sprite moves in _________.
seconds
milliseconds
minutes
moments
Edges:
Top = 1
Right = 3
Bottom = -1
Left = _____
1
-1
3
-3
Edges:
Top = _____
Right = 3
Bottom = -1
Left = -3
1
-1
3
-3
Blocks:
In what drawer do we find the code to initialize global?
Logic
Control
Variables
Math
Why do we have to Update TimerLabel?
(Click picture to enlarge)
to show the user how much time is left
to tell the clock how to count down
for the program to make the decision is timeLeft=0?
to decrement timeLeft by 1
What happens if timeLeft=0?
Show "You Win" message
If sound is selected play Win sound file
If sound is selected show "You Win" message
nothing
What happens if timeLeft=0?
Show "You Win" message
If sound is selected play Win sound file
If sound is selected show "You Win" message
nothing
What happens if timeLeft≠0 ?
Decrement timeLeft by 1
Show "You Win" message
Play Win sound file
Show "You Lose" message
What does UI stand for?
Universal Idenitifaction
User Interface
User Identification
User View
What kind of question can a conditional statement be?
Multiple Choice
Long Answer
Short Answer
Yes/No
An If/Then statement uses
Boolean Logic
Common Sense
Complex equations
Strategic Planning
Where can you find the If/Then Blocks?
Logic Drawer
Control Drawer
Math Drawer
Variables Drawer
IF you are wearing green ride bus 1; else ride bus 2.
You are wearing blue. What bus do you ride?
Bus 1
Bus 2
You walk
Which code when checked, sets the button's background image to display a dog picture
In a flow chart the symbol for a desicion is:
Oval
Rectangle
Diamond
Heart
In a flow chart the symbol for a Command is:
Oval
Rectangle
Diamond
Arrow
In a flow chart the symbol for the beggining and ending is:
Oval
Rectangle
Diamond
Arrow
What is an end user?
The person who created the app
The consumer that uses the app
The client that wants the app made
Your teacher
What is an event handler?
A block of code that is triggered when a certain event happens.
Someone who organizes special events like birthday parties and weddings
A component you can find in the designer of App Inventor
None of the above
What is a bug?
A flaw in a computer program that causes the program to produce an incorrect result or behavior.
A gross creepy-crawly
A broken app that cannot be saved or fixed.
To identify bugs or errors in computer hardware or programs and fix them is _______________
debugging
delicing
delousing
describing
Which is NOT a step in debugging code?
Check for hardware or emulator connection issues.
Check for compilation errors (Warnings and Error messages in the Blocks Viewer) and fix them.
make sure you understand the intended outcomes of each event handler, review your comments and algorithms.
make sure you understand the intended outcomes of each event handler, review your comments and algorithms.
Skip broken code and come back to it later, you might find the answer somewhere else.
To avoid bugs and errors you should develop and test code
incrementally
all at once
on paper
by hand
You can duplicate ______________
but you cannot duplicate _______________.
blocks of code | design components
design components | blocks of code
blocks of code | app inventor files
design components | algorithms
True or False:
App Inventor will attempt to run a block of code with a warning symbol.
True
False
True or False:
App Inventor will ignore a block of code with an error symbol.
True
False
How do you know if a block is disabled?
It has a thick outline
It is greyed out
The color changes to black
You cannot disable a block
What is the purpose of the backpack tool?
To save apps
To save blocks of code and move it between apps
To save components
To save properties
The _______ block of code is triggered when a certain event occurs?
Controller
Event Handler
A Conditional Statement
Media
__________ is a form of mathematics in which an expression is either reduced to either True or False
Boolean Logic
Algebra
Calculus
Math code
_____________ is two people working together to create a computer program. The “driver” controls the computer while the “navigator instructs the driver on what to do.
Teamwork
Pair Programming
Team Coding
Cooperative Programming
To add a button to a screen in App Inventor, where would the Button component be dragged to?
designer viewer
blocks viewer
properties pane
media drawer
To program a button component in App Inventor, where would the code be added?
media drawer
properties pane
blocks viewer
designer viewer
On a flowchart which shape is used to show an action (like MoveForward)
oval
rectangle
rhombus
