MCQGeeks
0 : 0 : 1
CBSE
JEE
NTSE
NEET
English
UK Quiz
Quiz
Driving Test
Practice
Games
Quiz
Javascript
Caching And Debugging
Quiz 1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Q.1
What is the purpose of the event onAirEvent?
Content is played
Content is transfered
Both Content is played and transfered
None of the mentioned
Q.2
What is the purpose of the event disconnectionEvent?
Player demands for disconnection
Player disconnects from the channel
There is no user interaction
None of the mentioned
Q.3
What is the significance of scripting?
Convenient
Dynamic
Reachable
All of the mentioned
Q.4
When does one use the event ready?
Before loading
During loading
After loading
None of the mentioned
Q.5
When does one use the method startOverlays()?
Edit ad request
Delete ad request
Create ad request
None of the mentioned
Q.6
What is the purpose of XMLHttpRequest?
Multiple loading
Load content by loading new document
Load content without loading new document
None of the mentioned
Q.7
Which API makes the user’s current location available to browser-based application?
Java API
SDL API
Object API
Geolocation API
Q.8
Which of the following ensures additional interactivity mechanism?
WAI ARIA
Geolocation API
Object API
None of the mentioned
Q.9
What is the reason for avoiding the attributes property in the HTML DOM?
Found unncessary
Attributes don’t have attributes
Attributes have attributes
None of the mentioned
Q.10
What is the necessity to have API?
Guide to performing activities
Describe particular task
Both performing activities and Describe particular task
None of the mentioned
Q.11
How can you find a client’s browser name?
browser.name
navigator.appName
client.navName
none of the mentioned
Q.12
How do you find the number with the highest value of x and y?
ceil(x,y)
top(x,y)
Math.ceil(x,y)
Math.max(x,y)
Q.13
Which of the following is not an object?
Element
Location
Position
Window
Q.14
What is the code snippet to change the class and let the stylesheet specify the details?
timestamp.className = "highlight";
timestamp.className = "change";
timestamp.className = "specify";
timestamp.className = "move";
Q.15
Which is a wrapped Java array, accessed from within JavaScript code?
JavaArray
JavaClass
JavaObject
JavaPackage
Q.16
What is the syntax of close method for document object?
Close(object)
Close(doc)
Close(val)
Close()
Q.17
Which of the following is not a JavaScript framework?
Rico
Prototype
Joco
DoJo
Q.18
What is the purpose of the Math method toSource()?
Returns the string “Math”
Sends the source to the Math Library
Returns the value of the object
None of the mentioned
Q.19
Which is the function used to loop in an array to view all the values?
all()
loop()
each()
none of the mentioned
Q.20
Which of the following has a greater benchmark time for looping and JQuery vs core JavaScript in milliseconds?
Chrome JQuery
Chrome JavaScript
Firefox JQuery
Firefox JavaScript
Q.21
How many static methods does a Date object have?
3
5
4
2
Q.22
Which of the following are static methods in JavaScript?
Date.parse()
Date.UTC()
Both Date.parse() and Date.UTC()
None of the mentioned
Q.23
If we have an object r and want to know if it is a Range object, we can write:
r typeof Range
r is Range
r equals Range
r instanceof Range
Q.24
What is the property to access the first child of a node?
timestamp.Child1
timestamp.Child(1)
timestamp.Child(0)
timestamp.firstChild
Q.25
Which class provides an interface for invoking JavaScript methods and examining JavaScript properties?
ScriptObject
JSObject
JavaObject
Jobject
Q.26
What is the purpose of the function eval?
Executes the string as an integer
Gets the value of the string
Executing string as JavaScript
None of the mentioned
Q.27
Which of the following has a lesser benchmark time for using JQuery to access DOM versus pure JavaScript in milliseconds?
Chrome JQueryDOM_
Chrome JSDOM_benc
Firefox JQueryDOM_
Firefox JSDOM_benc
Q.28
What is the other way of calling the Error Console in Firefox?
Error Window
JavaScript Console
JavaScript Console
All of the mentioned
Q.29
Which of the following is the definition for debugging?
Finding bugs
Fixing bugs
Both Finding & Fixing bugs
None of the mentioned
Q.30
What kind of error notifications are shown in the console window?
Syntax error
Runtime error
Both Syntax error and Runtime error
None of the mentioned
0 h : 0 m : 1 s
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Report Question
×
What's an issue?
Question is wrong
Answer is wrong
Other Reason
Want to elaborate a bit more? (optional)
Support mcqgeeks.com by disabling your adblocker.
×
Please disable the adBlock and continue.
Thank you.
Reload page