Font size
WorksheetsCSE Quiz review for Midterm
Total questions: 50
Worksheet time: 35mins
Which Event Handler will update the Screen to show the picture taken on the Canvas?
Camera 1
Camera 2
Camera 3
Camera 4
"when slider1.position changed" is an example of:
an event handler
a logical operator
a float
an integer
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
Which block of code below demonstrates an example of abstraction?
What type of variables are used in the procedure?
2 global variables
2 local variables
2 local variables and 1 global variable
1 local variable and 2 global variables
What output would be given if the user typed in 'ten' as the pizza size?
An entry was left blank.
Please enter a number and try again!
Area: 78.5
False
If I say the word "Algorithm" I am talking about what?
When we all go to a store called Rithim.
Algae that can DANCE!!!
A new dance move.
A list of steps you follow to finish a task.
In coding an event is what?
An action that causes something to happen.
An item on your calendar.
A way to move air.
A device that blows air into your computer.
Problems or mistakes in the code for an algorithm or program are known as:
Bugs
Slugs
Tugs
Rugs
When you tell the computer to repeat a command or step over and over and over and over and over and over and over and over and over and... oh yeah, over again as many times as you tell to repeat.
Deja Vu
Loop
Repeating
Being annoying
Statements that can only run under certain conditions or situations such as: if the seat is taken, then move to the next available seat.
conditionals (if/then statements)
variable
abstractions
binary
A technique or process that manages complexity in a program or computer system. Abstraction "hides" details or removes duplication, allowing the programmer to focus on high-level considerations and functions rather than the rules of a programming language.
abstraction
accumulator
aggregator
algorithm
A set of steps to accomplish a task. An algorithm can be expressed in many kinds of notation, such as natural language, pseudocode, and flowcharts. Algorithms are essential to the way computers process data, because they contain the specific instructions for what a computer or program does.
algorithm
accumulator
aggregator
abstraction
A software application, especially one that a user downloads to a mobile device.
app
append
API
argument
One of two values, such as "true" or "false".
boolean
branch
broadcast
backlog
A set of program instructions.
code
class
characters
complier
A function or artifact in an app that you can add in Design view of MIT App Inventor. Examples are: Canvas, Camera, Label, Slider, Sound, Horizontal arrangement, Button.
component
computer science
conditional statement
counting loop
A programming statement that evaluates a true/false Boolean expression to determine the next steps in a program
conditional statement
component
computer science
criterion
An action or occurrence that happens during runtime that will trigger a response or behavior by the software.
event
expression
file path
file extension
a control block that looks for inputs or events to know when to perform a specific action.
event handler
equality
file extension
float
A process of repeating a set of instructions a specified number of times or until a condition is met. Also known as a loop.
iteration
list
loop
method
A sequence of instructions that continually repeats until a condition is met. Also known as an iteration
loop
iteration
machine vision
modular
A structured collaborative process in which two people create code together, each with a specific role. The "driver" types at the keyboard and the "navigator" directs the code creation based on the requirements of the development.
pair programming
output
parameter
operating system
Which components in AppInventor are used to increase the usability of a user interface? Select all that apply.
Labels
Speech to text
Accelerometer
TinyDB
What three colors are mixed together to create the images you see on monitors?
Red, green, blue
Red, blue, yellow
Red, green, yellow
Green, blue, yellow
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
print("Hello world!")
print(3+4)
print("3*4+5")
print("Hello" + "world" + "today")
print("Hello world!" * 2)
people = ["John", "Rob", "Bob"]
print (people[1])
what would this result be?
A procedure to follow, especially using iteration and conditionals
For Loop
Algorithm
Return Value
Concatenation
