Javascript Final Review

Javascript Final Review

Assessment

Flashcard

Computers

9th - 12th Grade

Practice Problem

Hard

Created by

Wayground Content

FREE Resource

Student preview

quiz-placeholder

25 questions

Show all answers

1.

FLASHCARD QUESTION

Front

Evaluate the mathematical expression: 3 + 4 x 6 / 2.

Back

15

2.

FLASHCARD QUESTION

Front

If x represents the area of the number line colored blue, which inequality accurately reflects the value of x?

Media Image

Back

x < 4

3.

FLASHCARD QUESTION

Front

Twelve identical circles fit inside the rectangle with a width of 32 units and a height of 24 units. What is the radius of each circle?

Media Image

Back

4

4.

FLASHCARD QUESTION

Front

Karel the Dog is instructed to move forward two spaces. Then, if Karel is standing on a ball, Karel will turn left and move forward two spaces. Otherwise, Karel will turn around and move forward two spaces. Given the starting point below, where will Karel end up?

Media Image

Back

Media Image

5.

FLASHCARD QUESTION

Front

Which of the following describes a task effectively broken into smaller parts? I. Making a list of your favorite colors II. Throwing a dinner party by making a guest list, buying ingredients, and cooking food III. Comparing the syntax of Python and JavaScript

Back

Throwing a dinner party by making a guest list, buying ingredients, and cooking food.

6.

FLASHCARD QUESTION

Front

Consider the following program code, where hours is an input from the user.
if(hours <= 12){
println("Good morning!");
} else if(hours < 16){
println("Good afternoon!");
} else {
println("Hello!");
}
Of the following choices, select the value for hour that would cause this program to print “Good Afternoon!”: 12, 15, 18, “Good afternoon!”

Back

15

7.

FLASHCARD QUESTION

Front

Which of the following successfully switches the values of the variables x and y? The var temp may be used as a temporary variable if necessary.
Options:
x = y;
y = x;
,
var temp = x;
y = x;
temp = y;
,
var temp = y;
x = y;
y = temp;
,
var temp = x;
x = y;
y = temp;

Back

var temp = x;
x = y;
y = temp;

Create a free account and access millions of resources

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?