JavaScript DOM Sec B

JavaScript DOM Sec B

University

20 Qs

quiz-placeholder

Similar activities

Arduino ม.2 และ ม.3 ฉบับที่ 2

Arduino ม.2 และ ม.3 ฉบับที่ 2

KG - Professional Development

20 Qs

HTML - Introdução

HTML - Introdução

University

16 Qs

Coding Karel 2

Coding Karel 2

KG - University

20 Qs

Intoduction Real-Time System

Intoduction Real-Time System

University

15 Qs

GIS Spatial Data Models

GIS Spatial Data Models

University

15 Qs

SOFTWARE 7I

SOFTWARE 7I

7th Grade - University

20 Qs

Python Quiz

Python Quiz

University

15 Qs

Spreadsheet Fundamentals - Quiz2

Spreadsheet Fundamentals - Quiz2

University

20 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