wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Fundamentals of Computing - Unit 5 Quiz 1 Review

Total questions: 10

Worksheet time: 5mins

Name
Class
Date
1.

What do you think? When designing/developing an app, making sketches, interviewing potential users, and watching people use a prototype or similar app, are important ways to see how users will interact with the app and can help you make important design decisions.

a)

True

b)

False

2.

"Code a little, test a little" is a good idea when coding. In other words, don't just write a ton of code before running it or having someone else review it.

a)

True

b)

False

3.

topButton and bottomButton will be "orange" and "red", respectively, when the program shown is finished running.

a)

True

b)

False

4.

What color will "topButton" be we run this program but the user NEVER clicks the button?

a)

red

b)

blue

c)

green

d)

orange

5.

What will be displayed in the console if we run this program and click "topButton" twice?

a)

cat bird dog

b)

cat dog bird

c)

cat dog bird bird

d)

Nothing will be displayed in the console

6.

What will be displayed if we run this program and click bottomButton once and then topButton once?

a)

cow pig chicken

b)

pig cow chicken

c)

chicken

d)

chicken pig cow

7.

What is displayed if we run this program and click "bottomButton" ONCE?

a)

banana dragon fruit cherry

b)

apple banana cherry dragon fruit

c)

banana dragon fruit cherry apple

d)

banana dragon fruit apple cherry

8.

Consider the following line of code:

console.log(cheeseburger)console.\log\left(cheeseburger\right)

There is a bug, and it is the fact that cheeseburger should be enclosed in quotation marks.

a)

True

b)

False

9.

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.

a)

True

b)

False

10.

Which of the following is NOT a good 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