Intro. to Comp. Programming Unit 4

Intro. to Comp. Programming Unit 4

Assessment

Assessment

Created by

Faith Murley

Computers

9th - 12th Grade

5 plays

Hard

Student preview

quiz-placeholder

15 questions

Show all answers

1.

MULTIPLE CHOICE

30 sec • 1 pt

Media Image

What number will be output by the console.log command on line 7?

2.

MULTIPLE CHOICE

30 sec • 1 pt

Media Image

What number will be output by the console.log command on line 5?

3.

MULTIPLE CHOICE

30 sec • 1 pt

Media Image

What number will be output by the console.log command on line 5?

4.

MULTIPLE CHOICE

30 sec • 1 pt

Media Image

What text will be output by the program?

5.

MULTIPLE CHOICE

30 sec • 1 pt

Media Image

What text will be output by the program?

6.

MULTIPLE CHOICE

30 sec • 1 pt

Media Image

What will be the order of letters printed to the console when this program is run?

7.

MULTIPLE CHOICE

30 sec • 1 pt

Media Image

"You win!" never displays. What change would fix this issue?

8.

MULTIPLE CHOICE

30 sec • 1 pt

Media Image

When this function is called, the smaller of two numbers is displayed. What Boolean expression would not work in line 12 in order to accomplish this goal?

9.

MULTIPLE CHOICE

30 sec • 1 pt

Media Image

This function chooses the screen to display based on the score. What is the correct way to call this function?

10.

MULTIPLE CHOICE

30 sec • 1 pt

Media Image

There is repeated code in these onEvent blocks. Choose the correct code for the updateScreen() function which would be called in each of the onEvent blocks.

Explore all questions with a free account

or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?