Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

PLTW CSE Unit 1.3 Review

Total questions: 35

Worksheet time: 19mins

Name
Class
Date
1.

Which AppInventor component is used to create a database in the app?

a)

TinyDB

b)

LocalDB

c)

DBstart

d)

DBsetup

2.

What command modifies data on a server?

a)

Post

b)

Get

c)

URL

d)

Endpoint

3.

What word describes a loop that changes the value of a count by a specific amount every time?

a)

Increment

b)

Global

c)

Join

d)

Endpoint

4.

Which components in AppInventor are used to increase the usability of a user interface? Select all that apply.

a)

Labels

b)

Speech to text

c)

Accelerometer

d)

TinyDB

5.

What programming concept hides details to simplify the program for the user or programmer?

a)

Abstraction

b)

Algorithm

c)

Accumulators

d)

Databases

6.

Which block of code below demonstrates an example of abstraction?

a)
b)
c)
d)
7.

What type of variables are used in the procedure?

a)

2 global variables

b)

2 local variables

c)

2 local variables and 1 global variable

d)

1 local variable and 2 global variables

8.

What output would be given if the user typed in 'ten' as the pizza size?

a)

An entry was left blank.

b)

Please enter a number and try again!

c)

Area: 78.5

d)

False

9.

What is the modulo of 14 / 8?

a)

6

b)

8

c)

14

d)

1

10.

What data type is a modulo?

a)

String

b)

List

c)

Integer

d)

Float

11.

What is the modulo of 14 / 8?

a)

6

b)

8

c)

14

d)

1

12.

What is another name for a modulo?

a)

Division

b)

Remainder

c)

Difference

d)

Subtraction

13.

What three colors are mixed together to create the images you see on monitors?

a)

Red, green, blue

b)

Red, blue, yellow

c)

Red, green, yellow

d)

Green, blue, yellow

14.

What color is created with an RGB value of (0,0,0)?

a)

Black

b)

White

c)

Red

d)

Blue

15.

What color is created with an RGB value of (0, 0, 255)?

a)

Red

b)

Green

c)

Blue

d)

Black

16.

A(n) algorithm is:

a)

Values that a program provides to a function or subroutine

b)

Way to manage complexity, hide details or remove duplication

c)

Type of code to perform a math operation, such as + - * /

d)

A set of steps to accomplish a task.

17.

A(n) argument is:

a)

Way to manage complexity, hide details or remove duplication

b)

A set of steps to accomplish a task.

c)

Values that a program provides to a function or subroutine

d)

Type of code to perform a math operation, such as + - * /

18.

A(n) arithmetic operator is:

a)

Values that a program provides to a function or subroutine

b)

Type of code to perform a math operation, such as + - * /

c)

A set of steps to accomplish a task.

d)

Way to manage complexity, hide details or remove duplication

19.
A(n) Boolean expression is:
a)
An expression that can be evaluted as TRUE or FALSE. Often used in CONDITIONAL STATEMENTS, such as IF (condition) THEN (action1) ELSE (action2)
b)
Operators that are used to combine or change Boolean Expressions. The 3 standard operators are AND, OR, and NOT.
c)
Control block that looks for events to then perform action
d)
A symbol that represents a compare action for a computer to take. Examples are: ">" (greater than), "<" (less than) and "=" (equal)
20.

A(n) relational operator is:

a)

An expression that can be evaluted as TRUE or FALSE. Often used in CONDITIONAL STATEMENTS, such as IF (condition) THEN (action1) ELSE (action2)

b)

A symbol that represents a compare action for a computer to take. Examples are: ">" (greater than), "<" (less than) and "=" (equal)

c)

Operators that are used to combine or change Boolean Expressions. The 3 standard operators are AND, OR, and NOT.

d)

Control block that looks for events to then perform action

21.

A(n) event handler is:

a)

Operators that are used to combine or change Boolean Expressions. The 3 standard operators are AND, OR, and NOT.

b)

A symbol that represents a compare action for a computer to take. Examples are: ">" (greater than), "<" (less than) and "=" (equal)

c)

An expression that can be evaluted as TRUE or FALSE. Often used in CONDITIONAL STATEMENTS, such as IF (condition) THEN (action1) ELSE (action2)

d)

Control block that looks for events to then perform action

22.

A(n) logical operator is:

a)

An expression that can be evaluted as TRUE or FALSE. Often used in CONDITIONAL STATEMENTS, such as IF (condition) THEN (action1) ELSE (action2)

b)

Control block that looks for events to then perform action

c)

A symbol that represents a compare action for a computer to take. Examples are: ">" (greater than), "<" (less than) and "=" (equal)

d)

Operators that are used to combine or change Boolean Expressions. The 3 standard operators are AND, OR, and NOT.

23.
A(n) float is:
a)
A precise number by including values after the decimal place
b)
A programming statement that directs control flow - it uses BOOLEAN expressions to make a choice between different paths (IF (condition) THEN (path1) ELSE (path2)
c)
A data type that can have only 2 values - TRUE or FALSE
d)
A whole number, it does not have any digits after a decimal.
24.

A(n) integer is:

a)

A programming statement that directs control flow - it uses BOOLEAN expressions to make a choice between different paths (IF (condition) THEN (path1) ELSE (path2)

b)

A precise number by including values after the decimal place

c)

A whole number, it does not have any digits after a decimal.

d)

A data type that can have only 2 values - TRUE or FALSE

25.
A(n) boolean is:
a)
A data type that can have only 2 values - TRUE or FALSE
b)
A whole number, it does not have any digits after a decimal.
c)
A precise number by including values after the decimal place
d)
A programming statement that directs control flow - it uses BOOLEAN expressions to make a choice between different paths (IF (condition) THEN (path1) ELSE (path2)
26.

A(n) conditional statement is:

a)

A precise number by including values after the decimal place

b)

A data type that can have only 2 values - TRUE or FALSE

c)

A whole number, it does not have any digits after a decimal.

d)

A programming statement that directs control flow - it uses BOOLEAN expressions to make a choice between different paths (IF (condition) THEN (path1) ELSE (path2)

27.
A(n) event is:
a)
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.
b)
The smallest unit of data storage that a program can use.
c)
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.
d)
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.
28.

A(n) string is:

a)

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.

b)

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.

c)

The smallest unit of data storage that a program can use.

d)

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.

29.

A(n) value is:

a)

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.

b)

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.

c)

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.

d)

The smallest unit of data storage that a program can use.

30.

A(n) variable is:

a)

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.

b)

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.

c)

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.

d)

The smallest unit of data storage that a program can use.

31.

Which Event Handler will update the Screen to show the picture taken on the Canvas?

a)

Camera 1

b)

Camera 2

c)

Camera 3

d)

Camera 4

32.

In the picture, OR is an example of:

a)

a logical operator

b)

an argument

c)

a float

d)

a string

33.

In the picture, the x in "Canvas1.Height x 0.1" is:

a)

a relational operator

b)

a logical operator

c)

an arithmetic operator

d)

a string

34.

In the picture, "HappyImage.Y < Canvas1.Height * 0.1" is an example of:

a)

a boolean expression

b)

an event

c)

arguments

d)

an abstraction

35.

"message", "title", "button1Text" are all examples of:

a)

abstraction

b)

arguments

c)

booleans

d)

events