Search Header Logo
D3 Post Test Review Assign

D3 Post Test Review Assign

Assessment

Presentation

Computers

9th - 12th Grade

Easy

Created by

TARASE MCGEE

Used 24+ times

FREE Resource

11 Slides • 12 Questions

1

media

2

media
media

3

Multiple Choice

Why is the word bird and Bird not the same word in JavaScript?

1

JavaScript is NOT case-sensitive, therefore since the case is not the same - the word is the same

2

bird - refers to a different type of bird than Bird

3

Bird - refers to a different type of Bird than bird

4

JavaScript is case-sensitive, therefore since the case is not the same - the word is not the same

4

media
media

5

Multiple Choice

Which of the following always executes at least once regardless of the condition?

1

for

2

while

3

do-while

4

switch

6

Multiple Choice

The _________ statement does not check the conditional expression until after the first time through the loop, this guarntees that the code in the curly braces will execute at least once.

1

for

2

while

3

do-while

4

switch

7

media
media

8

media

9

media
media

​Operators:

&& Both true in order =true

II only one must be true in order to be =true

!= Not Equal in order =true

​If true display in the alert

​If false display in the alert

10

Multiple Choice

Question image

Click on the picture to enlarge. Consider the code . What is the expected result when this script is run?

1

Nothing will display in the alert

2

This is mind bending!

3

Error, the code contains syntax errors

4

I got this!

11

media

12

Multiple Choice

&& (AND) is a logical JavaScript Operator and evalutes to TRUE if

1

either operand is true

2

both operands are true

3

one operand is true

4

the operand is not equal

13

Multiple Select

|| (OR) is a logical JavaScript Operator and evalutes to TRUE if (mark all that apply)

1

either operand is true

2

both operands are true

3

one operand is true

4

the operand is not equal

14

Multiple Choice

!= (NOT) is a logical JavaScript Operator and evalutes to TRUE if

1

either operand is true

2

both operands are true

3

one operand is true

4

the operand is not equal

15

media
media

16

media

Why are the other answer choices wrong? Explore the list of methods used with the History Object.

17

Multiple Choice

The go(x) method of the history object is used to position the page at a certain position of the URL History. If the x is a negative number the user will be sent back x number of pages. Consider the following: history.go(-4). What will be the result of clicking the back button?

1

The user will advance 4 pages in the history list

2

The user will go back 4 pages in the history list

3

Nothing will happen, -4 is not a number that can be used

18

Multiple Choice

The go(x) method of the history object is used to position the page at a certain position of the URL History. If the x is a negative number the user will be sent back x number of pages. Consider the following: history.go(4). What will be the result of clicking the back button?

1

The user will advance 4 pages in the history list

2

The user will go back 4 pages in the history list

3

Nothing will happen, -4 is not a number that can be used

19

media
media
media

20

Multiple Choice

Which method causes the window to moved to the top of other windows?

1

window.blur()

2

window.focus()

3

window.moveTo()

4

window.moveBy()

21

Multiple Choice

Which method causes the window to moved to the beneath other windows?

1

window.blur()

2

window.focus()

3

window.moveTo()

4

window.moveBy()

22

media
media

23

Multiple Choice

This object can determine the brand and version of the browser in use, and even identify the user's operating system.

1

Window

2

Location

3

Navigator

4

Document

media

Show answer

Auto Play

Slide 1 / 23

SLIDE