Understanding BOM in JavaScript(14R)

Understanding BOM in JavaScript(14R)

Professional Development

15 Qs

quiz-placeholder

Similar activities

Mengenal PMM

Mengenal PMM

Professional Development

10 Qs

Post-test Cyber Security CN Group

Post-test Cyber Security CN Group

Professional Development

10 Qs

Web Development Fundamentals

Web Development Fundamentals

Professional Development

15 Qs

ATWIT meetup fun quiz

ATWIT meetup fun quiz

Professional Development

14 Qs

How Cyber Safe Are You? Part 3

How Cyber Safe Are You? Part 3

Professional Development

10 Qs

Front End Ninja Quiz 01

Front End Ninja Quiz 01

Professional Development

10 Qs

Day 02 - HTML Introduction

Day 02 - HTML Introduction

Professional Development

11 Qs

Exam Prep 2

Exam Prep 2

Professional Development

20 Qs

Understanding BOM in JavaScript(14R)

Understanding BOM in JavaScript(14R)

Assessment

Quiz

Information Technology (IT)

Professional Development

Medium

Created by

Naresh ROY

Used 1+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does BOM stand for in JavaScript?

Basic Object Management

Browser Output Model

Browser Object Model

Binary Object Model

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Name one object that is part of the BOM.

capacitor

resistor

transistor

inductor

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How can you access the browser window in JavaScript?

Call the 'getWindow()' function.

Use the 'document' object.

Use the 'window' object.

Access the 'navigator' object.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What method would you use to open a new browser window?

Use Ctrl + N or Command + N to open a new browser window.

Press F5 to open a new browser window.

Use Alt + F4 to open a new browser window.

Right-click and select 'Open New Window'.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which property of the window object returns the current URL?

window.location.href

window.url

window.location.pathname

window.currentURL

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the alert() function do in the BOM?

It creates a new browser window.

It logs a message to the console.

It displays an alert dialog with a message.

It redirects the user to a different webpage.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How can you get the screen width using BOM?

screen.width()

document.body.clientWidth

window.innerWidth

window.screen.width

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?