JavaScript DOM Sec A

JavaScript DOM Sec A

University

20 Qs

quiz-placeholder

Similar activities

Microprocessor - Intel 8088 - Part 1

Microprocessor - Intel 8088 - Part 1

University

17 Qs

PARC Linux Basic Part 2

PARC Linux Basic Part 2

University

20 Qs

CSS Pseudo dan CSS Grid System

CSS Pseudo dan CSS Grid System

University

20 Qs

Google SketchUp Tool

Google SketchUp Tool

KG - University

20 Qs

1ºDAM/DAW - Entornos de Desarrollo - UD1-6 - Prof. C. Boni

1ºDAM/DAW - Entornos de Desarrollo - UD1-6 - Prof. C. Boni

University - Professional Development

20 Qs

Quiz 2:  IT-7 : Software

Quiz 2: IT-7 : Software

University

20 Qs

Web Technologies(A6602)

Web Technologies(A6602)

University

20 Qs

Html dasar

Html dasar

University

21 Qs

JavaScript DOM Sec A

JavaScript DOM Sec A

Assessment

Quiz

Computers

University

Practice Problem

Medium

Created by

Suresh N

Used 4+ 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