
Understanding BOM in JavaScript(14R)
Authored by Naresh ROY
Information Technology (IT)
Professional Development
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?