JavaScript DOM Sec B

JavaScript DOM Sec B

University

20 Qs

quiz-placeholder

Similar activities

Python List

Python List

4th Grade - University

15 Qs

INTERNET

INTERNET

University

20 Qs

Data Security Worksheet

Data Security Worksheet

10th Grade - University

15 Qs

WML & WAP

WML & WAP

University

20 Qs

LATIHAN SOAL PEMROGRAMAN

LATIHAN SOAL PEMROGRAMAN

9th Grade - University

15 Qs

Web quiz 1 - HTML/CSS

Web quiz 1 - HTML/CSS

University

20 Qs

Introducción a HTML

Introducción a HTML

University

18 Qs

Level 2 Digital Technologies

Level 2 Digital Technologies

8th Grade - Professional Development

18 Qs

JavaScript DOM Sec B

JavaScript DOM Sec B

Assessment

Quiz

Computers

University

Practice Problem

Hard

Created by

Suresh N

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What does DOM stand for?

Data Object Model
Dynamic Object Manipulation
Document Object Model
Document Order Manipulation

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which method is used to access an HTML element by its ID?

getElementById()
selectElement()
findElement()
querySelector()

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

How do you change the content of an HTML element using JavaScript?

textContent
innerHTML
innerText
contentText

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What does the document.write() method do in JavaScript?

Writes HTML expressions or JavaScript code to a document
Opens a new document
Deletes the current document
Appends text to an existing document

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What will the following code output? console.log(5 + '5');

10
'55'
55
Error

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is the result of the following expression? typeof(undefined);

'string'
'null'
'object'
'undefined'

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What will the following code output? console.log(typeof NaN);

'NaN'
'null'
'undefined'
'number'

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?

Discover more resources for Computers