wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

PLTW EOC review #1

Total questions: 50

Worksheet time: 27mins

Name
Class
Date
1.
A(n) abstraction is:
a)
Way to manage complexity, hide details or remove duplication
b)
Type of code to perform a math operation, such as + - * /
c)
Values that a program provides to a function or subroutine
d)
A set of steps to accomplish a task.
2.

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.

3.

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 + - * /

4.

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

5.
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)
6.

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

7.

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

8.

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.

9.
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.
10.

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

11.
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)
12.

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)

13.
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.
14.

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.

15.

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.

16.

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.

17.

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

18.

If "AngryBird.X > HappyPig.X" is TRUE and "AngryBird.Y > HappyPig.Y" is FALSE, what color will be chosen?

a)

Purple

b)

Green

c)

Orange

d)

Yellow

19.

If AngryBird.X = 10, AngryBird.Y = 10 and HappyPig.X = 30, HappyPig.Y = 30, what color will be chosen?

a)

Purple

b)

Green

c)

Orange

d)

Yellow

20.

If AngryBird.X = 50, AngryBird.Y = 50 and HappyPig.X = 30, HappyPig.Y = 30, what color will be chosen?

a)

Purple

b)

Green

c)

Orange

d)

Yellow

21.

"when slider1.position changed" is an example of:

a)

an event handler

b)

a logical operator

c)

a float

d)

an integer

22.

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

a)

abstraction

b)

arguments

c)

booleans

d)

events

23.

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

24.

In the picture, OR is an example of:

a)

a logical operator

b)

an argument

c)

a float

d)

a string

25.

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

26.

RGB 0, 255, 0

a)

RED

b)

GREEN

c)

BLUE

d)

BLACK

e)

WHITE

27.

RGB 255, 255, 255

a)

RED

b)

GREEN

c)

BLUE

d)

BLACK

e)

WHITE

28.

RGB 0, 0, 0

a)

RED

b)

GREEN

c)

BLUE

d)

BLACK

e)

WHITE

29.

RGB 0, 0, 255

a)

RED

b)

GREEN

c)

BLUE

d)

BLACK

e)

WHITE

30.

RGB 255, 0, 0

a)

RED

b)

GREEN

c)

BLUE

d)

BLACK

e)

WHITE

31.

What will this program do when it is running?

a)

A. Move forward 5 times and then turn left 5 times

b)

B. Turn left and move forward 5 times

c)

C. Turn left 5 times and then move forward 5 times

d)

D. Move forward, then turn left, repeat 5 times

32.
The word "coding" means the same as "programming". 
a)
True
b)
False
33.
What's the correct algorithm to get the bus to the school?
a)
Turn Left, Move Forward, Move Forward, Turn Right
Move Forward, Move Forward
b)
Move Forward, Move Forward, Move Forward, Turn Left, Turn, Right
c)
Turn Left, Move Forward, Turn Right, Move Forward, Move Forward, Turn Left
d)
Turn Right, Move Forward, Turn Left, Move Forward, Turn Left
34.

When computers count to ten, the count begins with

a)

0

b)

1

c)

a

d)

A

35.
RGB is for displaying colors on computer screens. 
a)
True
b)
False
36.
True color is...
a)
made up of 18 bit displays of CMYK
b)
made up of 18 bit displays of RGB
c)
made up of 24 bit displays of CMYK
d)
made up of 24 bit displays of RGB
37.
These make up your computer screen and contain red, green and blue to make an image. 
a)
RGB
b)
CMYK
c)
Pixels
d)
Halftone
38.
Identify the colors: RGB
a)
Red, Green, Blue
b)
Red, Gray, Blue
c)
Rose, Gray, Black
d)
Red, Green Black
39.

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)

a)

All even numbers

b)

All odd numbers

c)

All the numbers

d)

None

40.

mystring = "hello"

for letter in mystring :

- print(mystring.find(letter))

a)

0,1,2,2,4

b)

0,1,2,3,4

c)

0,1,1,2,4

d)

0,1,2,3,3

41.

What will the following code output?

myTuple = [(1, 2), (3, 4), (5, 6)]

for (a, b) in myTuple :

- print(a + b)

a)

1,2,3,4,5,6

b)

1,3,5

c)

2,4,6

d)

3,7,11

42.

x = 0

while x < 5:

- print(f'The current value of x is {x}')

-- x = x + 2

a)

2,4

b)

2,4,6

c)

0,2,4

d)

0,2,4,6

43.

x = 0

while x + 1 < 5:

- x = x + 1

else:

- x += 1

print(x)

a)

4

b)

6

c)

5

d)

Infinite Loop

44.

for letter in "12345":

- if letter == 3:

-- continue

- print(letter)

a)

1,2,4,5

b)

1,2,3,4,5

c)

2,3,4,5

d)

Error

45.

This area shows a list of pictures and/or sound being used in the project.

a)

Properties

b)

Viewer

c)

Palette

d)

Media

46.

This section is divided into sections and that contain components.

a)

Blocks

b)

Palette

c)

Properties

d)

Media

47.
Code that will repeat itself for each item in a defined list.
a)
Mutator
b)
Global Variable
c)
Iteration
d)
Component
48.
Parts of an interface in a program.  
Examples include buttons and sprites.
a)
Mutator
b)
Global Variable
c)
Local Variable
d)
Component
49.
A variable that can be used anywhere in a program.
a)
String Data
b)
Global Variable
c)
Local Variable
d)
Component
50.
What value is returned from index 3?
a)
3
b)
45
c)
123
d)
255