Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Code.org Unit 3 Assessment

Total questions: 10

Worksheet time: 5mins

Name
Class
Date
1.

Which of the actions in the picture would usually be helpful in designing and developing an app?

a)

I and II only

b)

I and III only

c)

II and III only

d)

I, II, and III

2.

Which of the following best describes the purpose of a design specification?

a)

Tracking errors that arise through user testing

b)

Documenting comments that will need to be added to a program

c)

Describing the requirements for how a program will work or users will interact with it

d)

Listing detailed questions that will be asked of users during interviews

3.

What will the “background color” of the “topButton” be when the program is finished running?

a)

red

b)

orange

c)

blue

d)

green

4.

If the user does NOT click the button what color will “topButton” be when this program finishes running?

a)

red

b)

blue

c)

green

d)

orange

5.

The following program is run. Then the user clicks the "topButton" button ONCE. What will be displayed in the console?

a)

cat, bird, dog

b)

dog, cat, bird

c)

cat, dog, bird

d)

bird, cat, dog

6.

The following program is run. Then the user clicks the “bottomButton” ONCE and then clicks the “topButton” ONCE. What will be displayed in the console?

a)

cow, pig, chicken

b)

cow, chicken, pig

c)

pig, cow, chicken

d)

chicken, pig, cow

7.

The following program is run. Then the user clicks the “bottomButton” TWO TIMES. What will be displayed in the console?

a)

apple banana cherry cherry dragon fruit

b)

banana dragon fruit cherry cherry

c)

banana dragon fruit apple appl

d)

banana cherry cherry dragon fruit

8.

Which line of code in this program is MOST likely to result in an error?

a)

Line 1

b)

Line 2

c)

Line 3

d)

Line 4

9.

Which of the following BEST describes the differences between sequential and event-driven programming?

a)

In sequential programming commands run one at a time. In event-driven programming all commands run at the same time.

b)

In sequential programming commands run faster than in event-driven programming.

c)

In sequential programming each command is run many times in sequence. In event-driven programming all commands are run a single time as an event.

d)

In sequential programming commands run in the order they are written. In event-driven programming some commands run in response to user interactions or other events.

10.

Which of the following is NOT a reason to include comments in programs

a)

Comments help the computer decide whether certain components of a program are important.

b)

Comments help programmers debug issues in their own code

c)

Comments help document how code was written for other programmers to use

d)

Comments enable programmers to track their work throughout the development process