1. With JavaScript, which of the following is true if x and y are not equal?

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
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
ICT 10 M6 QUIZIZZ

Quiz
•
Professional Development
10 questions
MEGASYSTEM - TECH

Quiz
•
Professional Development
12 questions
PPW (EM24) - Introducción al contenido dinámico (T8)

Quiz
•
University - Professi...
11 questions
Parcial PW

Quiz
•
Professional Development
11 questions
JavaScript

Quiz
•
Professional Development
15 questions
JavaScript

Quiz
•
Professional Development
10 questions
Sw Development

Quiz
•
Professional Development
9 questions
Curso de WordPress + Maquetación HTML/CSS (Sesión 1)

Quiz
•
Professional Development
Popular Resources on Wayground
25 questions
Equations of Circles

Quiz
•
10th - 11th Grade
30 questions
Week 5 Memory Builder 1 (Multiplication and Division Facts)

Quiz
•
9th Grade
33 questions
Unit 3 Summative - Summer School: Immune System

Quiz
•
10th Grade
10 questions
Writing and Identifying Ratios Practice

Quiz
•
5th - 6th Grade
36 questions
Prime and Composite Numbers

Quiz
•
5th Grade
14 questions
Exterior and Interior angles of Polygons

Quiz
•
8th Grade
37 questions
Camp Re-cap Week 1 (no regression)

Quiz
•
9th - 12th Grade
46 questions
Biology Semester 1 Review

Quiz
•
10th Grade