WorksheetsNewsom Nest PLTW CSE Midterm
Total questions: 50
Worksheet time: 2hrs 40mins
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 = 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
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
Which of these is Google Drive?
Name of this input device?
Printer.
Keyboard.
Mouse.
Pen.
Problems or mistakes in the code for an algorithm or program are known as:
Bugs
Slugs
Tugs
Rugs
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.
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.
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
a set of program routines, protocols, and tools that facilitates communication with a client app that is designed specifically for the server. A client computer program can send instructions to the server and get data from the server through this.
API
app
append
argument
A type of data structure that can store a fixed number of elements, as long as they are all the same data type. Arrays are a lot like lists.
array
AI
assignment
authenticate
A sequential and prioritized list of what needs to be done to create the app the user wants. The list can be technical requirements or user centric in the form of user stories.
backlog
bash
block
blog
One of two values, such as "true" or "false".
boolean
branch
broadcast
backlog
A style of writing file names that avoids spaces and other characters and differentiates words based on capitalization. For example, LastnameFirstname.
CamelCase
chained conditional statement
branch
boolean
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 type of statement that makes sure that all items are included. For example, "1-3" includes 1, 2, and 3.
inclusive statement
incremental counter
index
hard coding
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
