MCQGeeks
0 : 0 : 1
CBSE
JEE
NTSE
NEET
English
UK Quiz
Quiz
Driving Test
Practice
Games
Quiz
Javascript
Caching And Debugging
Quiz 3
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 function parameter filetype?
File type to be expected
File type previously got
File type that should not be got
None of the mentioned
Q.2
Which of the following is the method used to add an element to the desired location?
add.element()
element.add()
element.appendChild()
none of the mentioned
Q.3
Which of the following is added to prefs.js when the console is automatically opened during JavaScript error?
user_pref("javascript.console.open_on_error", true);
user_pref("javascript.console.open_error ", true);
user_pref("javascript.console.open_error ", false);
user_pref(" javascript.console.open_on_error", false);
Q.4
Where are memory leaks found?
Client side objects
Server side objects
Both Client side and Server side objects
None of the mentioned
Q.5
Which program code doesn’t need preprocessing before being run?
Text
Script
Both Text and Script
None of the mentioned
Q.6
Which of the following functions are referenced internally?
setTimeout
setInterval
both setTimeout and setInterval
none of the mentioned
Q.7
Which of the following is possible to be referenced in external JavaScript?
cpp
cs
php
all of the mentioned
Q.8
Which of the following attribute takes the source of the PHP file?
img
src
source
none of the mentioned
Q.9
Which handler is triggered when the content of the document in the window is stable and ready for manipulation?
onload
manipulate
create
none of the mentioned
Q.10
What is the central concept of JavaScript memory management?
Reliability
Reachability
Efficiency
Transparency
Q.11
What is the purpose of destroying the functions and objects?
Consume unnecessary CPU cycles
Prevent the dropping of reference count to 0
Centralize the responsibility to clean up
All of the mentioned
Q.12
When does a cycle occur during memory leak?
No reference occurs
Two objects reference
One object gets referenced
One object gets referenced
Q.13
Which database can be used to retrieve blobs?
Server-side databases
Client-side databases
Both Server-side and Client-side databases
None of the mentioned
Q.14
What kind of path can the PHP file be?
Absolute
Relative
Either Absolute or Relative
Both Absolute and Relative
Q.15
When does a memory leak happen?
Browser doesn’t release memory from objects unnecessary
Browser releases too many memories
All of the mentioned
None of the mentioned
Q.16
The style property belongs to while of the following object?
Element
Window
Location
None of the mentioned
Q.17
Which will be invoked to create a new worker?
Function
Destructor
Constructor
Interface
Q.18
Which of the following is a way to retain an object in memory?
Console Log
Closures
Destory objects
All of the mentioned
Q.19
In which format does JavaScript support external JavaScript?
.js
.php
.js/php
.jss
Q.20
Which object can be used to create your own blobs?
Creator
BlobCreator
BlobBuilder
None of the mentioned
Q.21
Which of the following is a subtype of Blob?
Elemental Object
Create Object
Data Object
File Object
Q.22
Which method facilitates in uploading a Blob to a server?
send()
pass()
upload()
store()
Q.23
What will happen if you specify an absolute URL in the Worker constructor?
Resolves itself
Must have the same origin
Must not have the same origin
None of the mentioned
Q.24
How can you send data using a Worker object?
postMessage()
sendMessage()
Message()
post()
Q.25
Which property is used to manage multiple event handlers?
onmessage
onerror
both onmessage and onerror
none of the mentioned
Q.26
Which of the following is one of the fundamental features of JavaScript?
Single-threaded
Single-threaded
Both Single-threaded and Multi-threaded
None of the mentioned
Q.27
Which of the following functions are synchronous?
load()
require()
both load() and require()
none of the mentioned
Q.28
BLOB stands for
Binary Little Object
Binary Large Object
Broken Large Object
None of the mentioned
Q.29
The size of blobs are generally calculated in
Meters
Kilometers
Bytes
Pixels
Q.30
The blobs are generally stored in
Memory
Disk
Both Memory and Disk
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