
JavaScript Practices #5
Authored by Nixon Lopez
Computers
12th Grade
Used 5+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
12 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
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.
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
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
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

Continue with Google

Continue with Email

Continue with Microsoft
or continue with
%20(1).png)
Apple
Others
Already have an account?