Font size
WorksheetsPLTW CSE Essentials - Review for EOC
Total questions: 170
Worksheet time: 2hrs 22mins
A(n) algorithm is:
Values that a program provides to a function or subroutine
Way to manage complexity, hide details or remove duplication
Type of code to perform a math operation, such as + - * /
A set of steps to accomplish a task.
A(n) argument is:
Way to manage complexity, hide details or remove duplication
A set of steps to accomplish a task.
Values that a program provides to a function or subroutine
Type of code to perform a math operation, such as + - * /
A(n) arithmetic operator is:
Values that a program provides to a function or subroutine
Type of code to perform a math operation, such as + - * /
A set of steps to accomplish a task.
Way to manage complexity, hide details or remove duplication
A(n) relational operator is:
An expression that can be evaluted as TRUE or FALSE. Often used in CONDITIONAL STATEMENTS, such as IF (condition) THEN (action1) ELSE (action2)
A symbol that represents a compare action for a computer to take. Examples are: ">" (greater than), "<" (less than) and "=" (equal)
Operators that are used to combine or change Boolean Expressions. The 3 standard operators are AND, OR, and NOT.
Control block that looks for events to then perform action
A(n) event handler is:
Operators that are used to combine or change Boolean Expressions. The 3 standard operators are AND, OR, and NOT.
A symbol that represents a compare action for a computer to take. Examples are: ">" (greater than), "<" (less than) and "=" (equal)
An expression that can be evaluted as TRUE or FALSE. Often used in CONDITIONAL STATEMENTS, such as IF (condition) THEN (action1) ELSE (action2)
Control block that looks for events to then perform action
A(n) logical operator is:
An expression that can be evaluted as TRUE or FALSE. Often used in CONDITIONAL STATEMENTS, such as IF (condition) THEN (action1) ELSE (action2)
Control block that looks for events to then perform action
A symbol that represents a compare action for a computer to take. Examples are: ">" (greater than), "<" (less than) and "=" (equal)
Operators that are used to combine or change Boolean Expressions. The 3 standard operators are AND, OR, and NOT.
A(n) integer is:
A programming statement that directs control flow - it uses BOOLEAN expressions to make a choice between different paths (IF (condition) THEN (path1) ELSE (path2)
A precise number by including values after the decimal place
A whole number, it does not have any digits after a decimal.
A data type that can have only 2 values - TRUE or FALSE
A(n) conditional statement is:
A precise number by including values after the decimal place
A data type that can have only 2 values - TRUE or FALSE
A whole number, it does not have any digits after a decimal.
A programming statement that directs control flow - it uses BOOLEAN expressions to make a choice between different paths (IF (condition) THEN (path1) ELSE (path2)
A(n) string is:
An object such as a number or word. A _____ is an expression that cannot be evaluated any further. Variables are evaluated to a final ____ before operators (arithmetic, relational, or logical) are then used on them.
An action (such as clicking a button) or occurrence (receiving a text message) that happens during runtime that will trigger a response or behavior by the software.
The smallest unit of data storage that a program can use.
A type of variable that holds text (characters, numbers, punctuation or math symbols). Uses quotes to tell the computer to not treat what is inside the string (inside the quotes) as code.
A(n) value is:
A type of variable that holds text (characters, numbers, punctuation or math symbols). Uses quotes to tell the computer to not treat what is inside the string (inside the quotes) as code.
An object such as a number or word. A _____ is an expression that cannot be evaluated any further. Variables are evaluated to a final ____ before operators (arithmetic, relational, or logical) are then used on them.
An action (such as clicking a button) or occurrence (receiving a text message) that happens during runtime that will trigger a response or behavior by the software.
The smallest unit of data storage that a program can use.
A(n) variable is:
An action (such as clicking a button) or occurrence (receiving a text message) that happens during runtime that will trigger a response or behavior by the software.
An object such as a number or word. A _____ is an expression that cannot be evaluated any further. Variables are evaluated to a final ____ before operators (arithmetic, relational, or logical) are then used on them.
A type of variable that holds text (characters, numbers, punctuation or math symbols). Uses quotes to tell the computer to not treat what is inside the string (inside the quotes) as code.
The smallest unit of data storage that a program can use.
Which Event Handler will update the Screen to show the picture taken on the Canvas?
Camera 1
Camera 2
Camera 3
Camera 4
If "AngryBird.X > HappyPig.X" is TRUE and "AngryBird.Y > HappyPig.Y" is FALSE, what color will be chosen?
Purple
Green
Orange
Yellow
If AngryBird.X = 10, AngryBird.Y = 10 and HappyPig.X = 30, HappyPig.Y = 30, what color will be chosen?
Purple
Green
Orange
Yellow
If AngryBird.X = 50, AngryBird.Y = 50 and HappyPig.X = 30, HappyPig.Y = 30, what color will be chosen?
Purple
Green
Orange
Yellow
"when slider1.position changed" is an example of:
an event handler
a logical operator
a float
an integer
"message", "title", "button1Text" are all examples of:
abstraction
arguments
booleans
events
In the picture, "HappyImage.Y < Canvas1.Height * 0.1" is an example of:
a boolean expression
an event
arguments
an abstraction
In the picture, OR is an example of:
a logical operator
an argument
a float
a string
In the picture, the x in "Canvas1.Height x 0.1" is:
a relational operator
a logical operator
an arithmetic operator
a string
What does Modulo do
Gives the difference of two numbers
Does simple arithmetic
Give the product when mutiplying
Returns the reminder when divding
What does the following code statement mean "from .models import Question"?
The code statement allows the views.py file to access to your Question data type defined in the models.py file.
The code statement allows the views.py file access to your Question data type defined in the urls.py file.
The code statement allows the views.py file access to your Question data type defined in the admin.py file.
The code statement allows the views.py file access to your Question data type defined in the views.py file.
print(Hello world!)
print("Hello world!")
Print("Hello world!")
print(3+4)
print(3*4)
print(3*4+5)
print("3*4+5")
print(9/3)
print("Hello" + "world!")
print(9/3*2+4-5)
print("Hello" + 2 + "world")
Which of these is spelled correctly...
Iteration
Iteraton
Iteretion
Iterasion
people = ["John", "Rob", "Bob"]
print (people[1])
what would this result be?
people = ["John", "Rob", "Bob"]
print (people[-1])
what would this result be?
people = ["John", "Rob", "Bob"]
print (people[4])
what would this result be?
Local is the opposite of global. Properties of components are global variables. Any variable that you initialize at the start of a program in App Inventor is a global variable.
True
False
A variable and pattern designed to keep a running total through multiple iterations
Accumulator Pattern
Concatenation
While Loop
Counted Loop
A procedure to follow, especially using iteration and conditionals
For Loop
Algorithm
Return Value
Concatenation
What numbers are included in this range call: range(2, 10, 2)
2, 4, 6, 8, 10
2, 4, 6, 8
1, 2, 3, 4, 5, 6, 7, 8, 9
2, 3, 4, 5, 6, 7, 8, 9
print("Hello world!\nHello world!")
Hello world!
print("Hello world!" * 2)
name = 'Dave'
greeting = "Good morning" + name
print (greeting)
if age is less than 20 and greater than equal or equal to 15 then
The modulo operation finds only the remainder when one number is divided by another. True or false?
True
False
5
6
21
36
C
C
Score = Score + 1
for number in range(6):
print(number)
word= "computer"
for num in range(1,6):
print(word)
The screen where you can drag and drop component pieces and design them using the User Interface.
Designer
Blocks Editor
H&M on 34th street next to the chicken and rice cart
The part of the app users open and interact with is the called the
Back end
User interface
List
Procedure
The place where I tell the components of my app what to do
Designer
Blocks Editor
Event
Comment
This refers to everything the user can't see in the browser, like databases and servers.
Front End
User Interface
Back End
Which menu option allows you to create a new app?
Projects
Connect
Build
Help
Which menu option allows you to test your app?
Project
Connect
Build
Help
Which menu option do you choose to begin developing an app?
AI Companion
Start New Project
Save Project
Export Selected Project
Which menu option allow you to test your app via a WiFi connection?
AI Companion
Emulator
USB
Bluetooth
Which of these is NOT one of the 3 main screens in App Inventor?
Projects
Connect
Designer
Blocks
Which section of the Designer page displays how your app appears to the user?
Pallette
Viewer
Components
Properties
On the Palette, under which selection will you find a Button?
User Interface
Layout
Media
Sensors
On the Palette, under which item will you find the Accelerometer?
User Interface
Layout
Media
Sensors
On the Palette, under which item will you find the Horizontal Arrangement?
User Interface
Layout
Media
Sensors
On the Palette, under which item will you find the TextBox?
User Interface
Layout
Media
Sensorrs
On the Palette, under which item will you find the Canvas?
User Interface
Layout
Drawing and Animation
Media
On the Palette, under which item will you find the Clock?
User Interface
Media
Layout
Sensors
On the Blocks page, under which item will you find the "If-Then" blocks?
Control
Logic
Math
Text
The playing field for any App Inventor game is called a(n) ______?
Label
Canvas
Horizontal Alignment
Clock
On the Blocks page, under which item will you find the "If-Then" blocks?
Control
Logic
Math
Text
When connecting App Inventor to your mobile device via AI Companion, QR in QR Code stands for?
Quick Read
Quick Ready
Quit Read
Quite Ready
Which ImageSprite Event causes this sprite to bounce off the edge of the screen?
CollidedWith
Dragged
Touched
EdgeReached EdgeReached
All App Inventor Components have _______?
Labels
Images
Buttons
Properties
Which ImageSprite Event causes this sprite to bounce off the edge of the screen?
CollidedWith
Dragged
Touched
EdgeReached EdgeReached
Components have Properties such as color, size and behavior. A behavior example is ____?
Height
Speed
Width
Text
To get a HorizontalArrangement to fill the width of the screen, which Property should be set?
Height
Width
AlignHorizontal
AlignVertical
What is the purpose of this backpack icon?
store apps in it
delete unwanted blocks
export blocks to other apps
to make the page look pretty to make the page look pretty
In programming, this is an action that occurs as a result of the user or another source,
occassion
design
block
event
An example of an event would be?
Mouse being clicked to hit mole
Pressing right left arrow keys
Key pad pressed to watch video
All of the above
Pieces of your app that do actions for you.
String
Components
Array
Block
A component that you can animate and that can interact with a canvas.
Image
Charcter
ImageSprite
Image Component
A ball is an example of an ___________?
images
canvas component
imagesprites
Label, Sound, or Button are all?
loops
blocks
design variables
components
Procedures and events in MIT APP INVENTOR are called?
arguments
strings
blocks
loops
These you connect together to tell your app what to do in App Inventor
If Statements
Blocks
Loops
Hadlers
This is where you can drag and drop component pieces and design them using the User Interface
Design Area
Drawer
Blocks
Emuator
What is wrong with this block of code
It is missing the event handler block
it is not going back to the original position
It is not giving a point if it is put in the correct spot
What does the purple block represent?
Parameter
Event Handler
Command Block
String
This section allows you to see the apps interface as it would look on your device.
Media
Animation
Image Picker
Viewer
True or False: Components can be either visible or non-visible.
True
False
Examples include buttons and sprites.
This section is divided into sections and that contain components.
Blocks
Palette
Properties
Media
This area shows a list of pictures and/or sound being used in the project.
Properties
Viewer
Palette
Media
for letter in "12345":
- if letter == 3:
-- continue
- print(letter)
1,2,4,5
1,2,3,4,5
2,3,4,5
Error
x = 0
while x + 1 < 5:
- x = x + 1
else:
- x += 1
print(x)
4
6
5
Infinite Loop
x = 0
while x < 5:
- print(f'The current value of x is {x}')
-- x = x + 2
2,4
2,4,6
0,2,4
0,2,4,6
What will the following code output?
myTuple = [(1, 2), (3, 4), (5, 6)]
for (a, b) in myTuple :
- print(a + b)
1,2,3,4,5,6
1,3,5
2,4,6
3,7,11
mystring = "hello"
for letter in mystring :
- print(mystring.find(letter))
0,1,2,2,4
0,1,2,3,4
0,1,1,2,4
0,1,2,3,3
What will the following code output?
my_list = [1,2,3,4,5,6,7,8,9,10]
for each_item in my_list:
- if each_item % 2 != 0:
-- print(each_item)
All even numbers
All odd numbers
All the numbers
None
When computers count to ten, the count begins with
0
1
a
A
Move Forward, Move Forward
What will this program do when it is running?
A. Move forward 5 times and then turn left 5 times
B. Turn left and move forward 5 times
C. Turn left 5 times and then move forward 5 times
D. Move forward, then turn left, repeat 5 times
True or False: Sequence matters in coding.
True
False
RGB 255, 0, 0
RED
GREEN
BLUE
BLACK
WHITE
RGB 0, 0, 255
RED
GREEN
BLUE
BLACK
WHITE
RGB 0, 0, 0
RED
GREEN
BLUE
BLACK
WHITE
RGB 255, 255, 255
RED
GREEN
BLUE
BLACK
WHITE
RGB 0, 255, 0
RED
GREEN
BLUE
BLACK
WHITE
