MCQGeeks
0 : 0 : 1
CBSE
JEE
NTSE
NEET
English
UK Quiz
Quiz
Driving Test
Practice
Games
Quiz
Javascript
Document Object Model And Event Handling
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
Which of the following can be used to configure the scope of the Cookie visibility?
path
domain
both path and domain
none of the mentioned
Q.2
How can you set a Cookie visibility scope to localStorage?
/
%
*
All of the mentioned
Q.3
Which of the following is a boolean cookie attribute?
bool
secure
lookup
domain
Q.4
Which of the following function is used as a consequence of not including semicolons, commas or whitespace in the Cookie value?
encodeURIComponent()
encodeURI()
encodeComponent()
none of the mentioned
Q.5
What is the constraint on the data per cookie?
2 KB
1 KB
4 KB
3 KB
Q.6
Cookies were originally designed for
Client-side programming
Server-side programming
Both Client-side & Server-side programming
None of the mentioned
Q.7
The Cookie manipulation is done using which property?
cookie
cookies
manipulate
none of the mentioned
Q.8
Which of the following explains Cookies nature?
Non Volatile
Volatile
Intransient
Transient
Q.9
Which attribute is used to extend the lifetime of a cookie?
higher-age
increase-age
max-age
lifetime
Q.10
Which of the following defines the Cookie visibility?
document Path
localStorage
sessionStorage
all of the mentioned
Q.11
The type that specifies what kind of event occured is
event type
even target
both event type and even target
none of the mentioned
Q.12
Which is the object on which the event occured or with which the event is associated?
event type
event target
both event type and even target
none of the mentioned
Q.13
In general, event handler is nothing but
function
interface
event
handler
Q.14
When will the browser invoke the handler?
Program begins
Any event occurs
Specified event occurs
None of the mentioned
Q.15
Which property specifies the property of the event?
Type
Target
Manner
All of the mentioned
Q.16
The process by which the browser decides which objects to trigger event handlers on is
Event Triggering
Event Listening
Event Handling
Event propogation
Q.17
Which form of event propogation handles the registered container elements?
Event Propogation
Event Registration
Event Capturing
Default Actions
Q.18
The events that are directly tied to a specific input device are
Device-independent input events
Device-dependent input events
User interface events
State change events
Q.19
The high-level events among the following events are
User interface events
Device-independent events
Device-dependent events
All of the mentioned
Q.20
The events that are not directly tied to a specific input device are
User interface events
Device-independent events
Device-dependent events
All of the mentioned
Q.21
The latest version of CSS is
CSS1
CSS2
CSS3
CSS4
Q.22
Which of the following is an example of a Shortcut Property?
border
font
text
all of the mentioned
Q.23
Which of the following is the default positioning elements with CSS?
relative
static
absolute
none of the mentioned
Q.24
Which property lays the element according to the normal flow?
relative
absolute
fixed
static
Q.25
Which syntax is used to describe elements in CSS?
Protectors
Selectors
Both Protectors and Selectors
None of the mentioned
Q.26
What does the following code snippet mean?
#
log>
span
Span child after log declaration
Specific span child of id greater than log
Span child less than log
Any span child of the element with id as log
Q.27
Which of the following property allows you to specify an element’s position with respect to the browser window?
relative
fixed
static
absolute
Q.28
Which of the following is the ultiate element selection method?
querySelectorAll()
querySelector()
queryAll()
query()
Q.29
Which of the following is the Web application equivalent to querySelectorAll()?
#()
&()
$()
None of the mentioned
Q.30
Which of the following is/are of Text nodes?
Text
Comment
Both Text and Comment
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