Search Header Logo

JavaScript Practices #5

Authored by Nixon Lopez

Computers

12th Grade

Used 5+ times

JavaScript Practices #5
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

You are writing a program that includes an update() function. The function must update a paragraph element with input from the user and then hide the input box. 

Media Image
Media Image
Media Image
Media Image

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Internal JavaScript can be placed within the <head> tag.

True

False

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Placing your scripts at the bottom of the page body lets the browser load the other elements of the page first. 

True

False

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Internal JavaScript is linked using the tag <script src=”internal” type=”text/javascript”>. 

True

False

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

You need to determine whether a string named str is empty. 

What is the correct syntax? 

str == null

str == “null”

str == “”

str == “empty”

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

Analyze the following code. Line numbers are included for reference only. 

The call to the multiply function on line 19 returns 100  

True

False

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What is the data type for line 05?

string

boolean

number

null

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?