JavaScript Practices #5

Quiz
•
Computers
•
12th Grade
•
Easy

Nixon Lopez
Used 5+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Java Level 1 - D

Quiz
•
12th Grade
13 questions
Skill #2 / Variable & Data Types

Quiz
•
12th Grade
15 questions
JavaScript Basics

Quiz
•
12th Grade - University
15 questions
JS Talks, Quiz #5

Quiz
•
1st - 12th Grade
15 questions
Comparing Python, Java, and JavaScript

Quiz
•
9th Grade - University
10 questions
Java Script

Quiz
•
10th - 12th Grade
10 questions
Executing SQL Commands With Python

Quiz
•
12th Grade - University
10 questions
TLE QUIZZIZ 2

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade