MCQGeeks
0 : 0 : 1
CBSE
JEE
NTSE
NEET
English
UK Quiz
Quiz
Driving Test
Practice
Games
Quiz
Javascript
Invocation And Performance Navigation
Quiz 1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Q.1
What does the rel attribute of a variable have when the type of file is CSS?
css
stylesheet
text/css
all of the mentioned
Q.2
What is the parameter of the method getElementsbyTagName() if we need to get an image?
image
src
img
imageurl
Q.3
How do we stop blocking of loading and executing the perfLogger, a logging type data?
Inlining the perfLogger
Removing the perfLogger
Placing the perfLogger before the “script” tag
None of the mentione
Q.4
What is the inital step to set up a CSS Lazy Loading?
Fetching data
Loading the script
Loading the page
Adding the event listener
Q.5
What is the purpose of holding whatever tag you create in the attribute type?
To have more information
To identify the scripting language
All of the mentioned
None of the mentioned
Q.6
What does the appendChild() method perform?
Appends a node in the middle of the index taken as the parameter
Appends a node as the first child
Appends a node as the last child
None of the mentioned
Q.7
What should be the value of the type attribute of a variable if the type of file is CSS?
text/js/css
text/js
text/css
text
Q.8
How to lazy load images?
Remove the rel attribute
Remove the src attribute
Make rel = src
Make src = rel
Q.9
What is the method to create a data frame ?
frame(data)
frameData()
data.frame()
none of the mentioned
Q.10
What is the purpose of creating a data frame?
Hold the page render time
Hold the load time
Hold the page render time & load time
None of the mentioned
Q.11
Which of the following navigator object properties is the same in both Netscape and IE?
navigator.appCodeName
navigator.appName
navigator.appVersion
none of the mentioned
Q.12
Which best explains getSelection()?
Returns the VALUE of a selected OPTION
Returns document.URL of the window in focus
Returns the value of cursor-selected text
Returns the VALUE of a checked radio input
Q.13
Which of the following are client-side JavaScript object?
Database
Cursor
Client
FileUpLoad
Q.14
What is the purpose of the method localeCompare()?
If the reference string comes before or after another string
If the reference string is validated
If the string is a reference string
None of the mentioned
Q.15
When the “end” event fires on EOF when no more data will arrive, which function is called?
s.on("data",f);
s.on("end",f);
s.on("error",f);
s.on("default",f);
Q.16
To define each of the set classes as a property of the sets object (namespace) for the module, the statement is
sets = sets.AbstractEnumerableSet.extend();
sets.SingletonSet = sets.AbstractEnumerableSet.extend(...);
sets.SingletonSet = sets.extend(...);
sets = sets.extend(...);
Q.17
What is the purpose of using the async attribute in the script tag?
Load the script asynchronously
Load the script synchronously
Load the page asynchronously
Load the page synchronously
Q.18
Why do we need to use an onload event in the script tag after using the async attribute?
Invoke code during page loading
Invoke code during script loading
Invoke code during downloading
None of the mentioned
Q.19
What is the purpose of the startTimeLogging() method?
Start the timer
Capture time logging
Capture timing data for referencing
All of the mentioned
Q.20
What is the type of datatype the async attribute optionally accepts?
Integer
String
Boolean
Decimal
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
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