Search Header Logo

JavaScript Cert Prep 2 Quiz (made by you for you)

Authored by Greg Baker

Computers

7th - 12th Grade

Used 4+ times

JavaScript Cert Prep 2 Quiz (made by you for you)
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

21 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Strings are stored as: (Owen Clendennin)

Variables

Templates

Objects

Values

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these is NOT a use of javascript? (Aspyn Henderson)

form validation

creating desktop software

interactive content

effects on a webpage

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In HTML5, a type attribute is needed in the script tag. (Conner Hohider)

True

False

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the most useful type of loop in Javascript. (Zachary Henderson)

while

for

do

hula

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which is the correct way to write a for loop? (Haley Lee)

(for ) i =4, i > 8, i++ [

// Whatever code you want

]

FOR {i = 0; i < 8; i++} (

// I really don't care, I'm bored!

)

for (i = 7; i <= 13; i++)[

// Oh well, you can figure it out yourself

]

for (i = 0; i <12; i++) {

// I'm running on 48 ounces of coffee and 2 hours of sleep

}

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which built-in method returns the characters in a string beginning at the specified location? (Jordyn Elder)

substr()

getSubstring()

slice()

None of the above.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Inside which tag does the majority of JavaScript go? (Delayney Fountain)

body

script

header

title

Access all questions and much more by creating a free account

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?