JWD JS Test Bank 1-10

JWD JS Test Bank 1-10

Professional Development

10 Qs

quiz-placeholder

Similar activities

Diseño Web - Evidencia de Conocimiento

Diseño Web - Evidencia de Conocimiento

Professional Development

10 Qs

JS

JS

Professional Development

15 Qs

Introducción a JavaScript

Introducción a JavaScript

Professional Development

10 Qs

DEWE-03_RA 1.1_Tema A

DEWE-03_RA 1.1_Tema A

Professional Development

11 Qs

24/01/2024

24/01/2024

Professional Development

15 Qs

JavaScript

JavaScript

Professional Development

11 Qs

PBD SK T5 - 3.1 Bahasa Penskripan Klien

PBD SK T5 - 3.1 Bahasa Penskripan Klien

1st Grade - Professional Development

9 Qs

JavaScript

JavaScript

Professional Development

10 Qs

JWD JS Test Bank 1-10

JWD JS Test Bank 1-10

Assessment

Quiz

Computers

Professional Development

Medium

Created by

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

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?