
JWD JS Test Bank 1-10

Quiz
•
Computers
•
Professional Development
•
Medium
Lazaro Alsina
Used 34+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
1. With JavaScript, which of the following is true if x and y are not equal?
if x!=y
if (x!=y)
if x not=y
2.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
2. With JavaScript, the first control statement in a for loop usually does what?
sets the termination condition
increments a counter
creates a control variable
3.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
3. What is the correct JavaScript syntax to change the content of the HTML element below? <p id="demo">This is a demonstration</p>
document.getElementByName("p").innerHTML = "Hello World";
document.getElementById("demo").innerHTML = "Hello World";
document.getElement("p").innerHTML = "Hello World";
#demo.innerHTML = "Hello World";
4.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
4. How many buttons are there in a JavaScript alert box?
one
two
none
5.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
5. Which event is triggered when a form field is changed?
onsubmit
onblur
onclick
onchange
6.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
6. With JavaScript, look at the following code: var x="Anna"; var y=30; x=y; Variable 'x' now contains?
a text
a number
a boolean
7.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
7. With JavaScript, how do you round the number 7.25 to the nearest integer?
Math.round(7.25)
Math.floor(7.25)
Math.ceil(7.25)
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Motores de Renderización

Quiz
•
Professional Development
10 questions
Frontend - Repaso HTML y bases de CSS

Quiz
•
Professional Development
8 questions
1. Meeting - Ein- und Ausgaben

Quiz
•
Professional Development
15 questions
JavaScript Pass by value, Pass by Reference, Scope Hoisting

Quiz
•
Professional Development
13 questions
Game Quizz

Quiz
•
Professional Development
15 questions
android

Quiz
•
Professional Development
10 questions
IOT Introduction Quiz

Quiz
•
Professional Development
10 questions
Struktur Dasar HTML

Quiz
•
Professional Development
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade