Font size
WorksheetsCSE Quiz #5
Total questions: 50
Worksheet time: 33mins
Sam wants to clean up the user interface on her app. Which view should she be working in on MIT App Inventor?
Designer View
Blocks View
The purple block is called a . . .
Variable
Event
Procedure
List
Select the Integer.
7
7.98
B
"cat"
Which data type only allows True or False as values?
Float
Integer
Boolean
String
Choose the block that represents a CONDITIONAL STATEMENT.
Choose the block that represents a PROCEDURE.
Choose the block that represents a EMPTY TEXT STRING BLOCK.
Choose the block that represents a VARIABLE.
What are the two roles of pair programming?
Driver & Narrator
Driver & Navigator
Controller & Navigator
Boss & Wingman
What does the Driver do in pair programming?
The driver is the boss of the team.
The driver runs the mouse while the navigator runs the keyboard.
The driver drives the car in the video game.
The driver operates the keyboard and the mouse and follows directions from the navigator.
What does the Navigator do in pair programming?
The Navigator operates the keyboard and the mouse.
The Navigator follows directions from the Driver.
The Navigator reviews code, identifies potential errors, and proposed ideas and suggestions.
The Navigator modifies the code and controls the computer.
What is the purpose of these blocks?
To call the ImageSprite.
To move the ImageSprite to the middle of the screen.
To change the height & width of the screen.
To make the screen smaller.
If the user clicks the Guess button, when will this code run?
If the user enters a guess lower than the secret number.
If the user enters a guess higher than the secret number.
if the user enters the correct secret number.
If a sting is typed in
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) 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.
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
"when slider1.position changed" is an example of:
an event handler
a logical operator
a float
an integer
If AngryBird.X = 10, AngryBird.Y = 10 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
Which AppInventor component is used to create a database in the app?
TinyDB
LocalDB
DBstart
DBsetup
What word describes a loop that changes the value of a count by a specific amount every time?
Increment
Global
Join
Endpoint
What programming concept hides details to simplify the program for the user or programmer?
Abstraction
Algorithm
Accumulators
Databases
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 is the modulo of 14 / 8?
6
8
14
1
What data type is a modulo?
String
List
Integer
Float
What is another name for a modulo?
Division
Remainder
Difference
Subtraction
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) 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
Which Event Handler will update the Screen to show the picture taken on the Canvas?
Camera 1
Camera 2
Camera 3
Camera 4
In the picture, the x in "Canvas1.Height x 0.1" is:
a relational operator
a logical operator
an arithmetic operator
a string
In software design, the term decompose means?
To break down a complex problem or system into smaller parts that are more manageable and easier to understand.
To allow for hardware to be recycled and not put in landfills
The amount of time it takes for the hardware to start to breakdown
Breaking up parts of the project and having the project manager assign them.
Is the first step in the design process. Includes the problem being identified, validated, and justified. The design requirements are determined and the design brief is created.
research solutions
generate concepts
define the problem
present solution
construct/test prototype
This step in Design process includes building the a testable prototype. Then testing it for performance/ usability/ durability, collecting the data, analyzing the date and creating a test report of the findings.
construct and test a prototype
generate concepts
present solution
define the problem
iterate the solution
A technology company has identified the need for a smaller laptop computer that weighs less, but they do not have enough knowledge about how to build it.
What would be the next logical step engineers would take to design and produce this laptop computer?
Build a new type of laptop battery
Research current laptop technology
Build a prototype computer
This is the last step in the Design process and is when the project portfolio is shared usually during a formal presentation.
present solution
construct/test prototype
generate concepts
Justifiable
Brainstorm
This step in Design process includes creating a detailed design solution and detailed technical drawings.
present solution
define the problem
construct and test a prototype
evaluate solutions
develop solution
Which step of the design process would you brainstorm ideas on possible solutions or products?
Evaluate Solutions
Generate Concepts
Present Solution
Define the Problem
