1) In order to allow a drop feature for HTML 5 element, which method should be invoked in
dragOver() event which prevents default handling of elements.
a) event.preventDragOver() c) event.preventDrag()
b) event.preventDrop() d) event.preventDefault()
2) Which event should be used where dragged data can be dropped?
a) <div id =” div1” ondrop =” drop(event)></div>
b) <div id =” div1” ondragover =” Drop(event)></div>
c) <div id =” div1” ondragstart =” Drop(event)></div>
d) <div id =” div1” ondragged =” Drop(event)></div>
3) Which method is used to get location specific information?
a) getCurrentLocation() b) getCurrentPosition()
b) getCurrentGeolocation() d) getCurrentGeoPhysicalLocation()
4) Geolocation proper coords.speed is measured in which represented unit?
a) kilometres /sec b) meters/sec c) millimetres/sec d) miles/sec
5) Which method is used to stop the watchPosition() method?
a) stopwatch() b) clearWatch() c) removeWatch() d) deleteWatch()
6) How is svg tag represented in code?
a) <ScalableVectorGraphics> b) <svg> c) <ScalableVisualGraphics> d) <x:svg>
7) Which element defines graphics in XML format?
a) <canvas> b) <progress> c) <svg> d) <output>
8) The <path> element is used to define a path and “T” command are available for
a) quadratic curve b) Elliptical Arc
b) smooth curveto d) smooth quadratic curveto
9) The blur effect is defined with __ element?
a) <feImage> b) <feTile> c) <feDistantLight> d) <feGuassianBlur>
10) HTML 5 SVG is used to define __ for the web
a) Sector based b) Semantic based c) Scalar based d) Vector based
11) SVG is __
a) Only every attribute in SVG file can be animated
b) Only every element in SVG file can be animated.
c) Every element & Attribute in SVG file can be animated.
d) Few elements but every attribute in SVG can be animated.
12) What is the code syntax to remove the value “AccountNumber” from localStorage?
a) localStorage[“AccountNumber”].removeItem()
b) localStorage.removeItem(“AccountNumber”)
c) localStorage[“AccountNumber”].remove()
d) localStorage(“AccountNumber”).remove()
Sensitivity: Internal & Restricted
13) What are the different types of storage in HTML 5?
a) localStorage and sessionStorage c) localStorage and serverStorage
b) personalStorage and localStorage d) persoalStorage and serverStorage
14) what is the code syntax to set localStorage value as “TopupAssignment” to “examtype”
a) localStorage obj = new localStorage();obj.addItem(“examtype”,”TopupAssignment”);
b) <localStorage><add key = “examtype” value = “TopupAssignment”></localStorage>
c) localStorage.setItem(“examtype”,”TopupAssignment”);
d) localStorage obj = new localStorage(“examtype”,”TopupAssignment”);
15) Which are valid HTML 5 web storage object for storing data?
a) Server.localStorage, client.personalStorage
b) Window.personalStorage, server.localStorage
c) Window.localStorage, code.sessionStorage
d) Server.localStorage, code.personalStorage
16) Which element doesnot support HTML 5?
a) <basefont> b) <area> c) <body> d) <command>
17) The <dt> tag is used in conjuction with
a) <dl> (describe description list) <dd> (describes each term/name)
b) <dl>(describes each term/name)<dd> (describe description list)
c) <dd> (describes each term/name from description list)
d) <dl> ( describes each term/name)
Note: The <dt> tag defines a term/name in a description list.
The <dt> tag is used in conjunction with <dl> (defines a description list)
and <dd> (describes each term/name).
18) The __ tag specifies text that is no longer correct, accurate or relevant
a) <i> b) <b> c) <u> d) <s>
19) Which element is used for display movie content
a) <stream width=”320” height = “240” ></stream>
b) <picture width=”320” height = “240” ></picture >
c) <video width=”320” height = “240” ></ video >
d) <movie width=”320” height = “240” ></movie>
20) <canvas> element defines graphics drawing using
a) Javascript b) Jquery c) XML d) DOM
21) In order to allow a drop feature for HTML 5 element, which method should be invoked in
dragOver() event which prevents default handling of elements.
a) event.preventDragOver() c) event.preventDrag()
b) event.preventDrop() d) event.preventDefault ()
Sensitivity: Internal & Restricted
22) Which event should be specified in <img> tag for what data to be dragged?
a) OndragOver() b) ondragStart() c) ondrop() d)ondrag()
23) What does watchPosition() is used for?
a) returns current position of user
b) returns the current position of user and alerts when moves
c) returns the current position and continues to return updated position as user moves
d) clears the current position of the user
24) Geolocation proper coords.altitude is measured in which represented unit?
a) meters above the mean sea level b) meters below the mean sea level
c) kilometre above the mean sea level d) time above the sea level
25) Geolocation proper coords.speed is measured in which represented unit?
a) kilometres /sec b) meters/sec c) millimetres/sec d) miles/sec
26) The <path> element is used to define a path and “A” command are available for
a) quadratic curve c) Elliptical Arc
b) smooth curveto d) smooth quadratic curveto
27) HTML 5 SVG is used to define __ for the web
a) Sector based b) Semantic based c) Scalar based d) Vector based
28) How is svg tag represented in code?
b) <ScalableVectorGraphics> b) <svg> c) <ScalableVisualGraphics> d)<x:svg>
29) Which element defines graphics in XML format?
a) <canvas> b) <progress> c) <svg> d) <output>
30) In HTML 5, which can be remembered, manipulated and browser can render it again
a) Svg b) canvas c) output d) progress
31) Which of the following is not true in svg image?
a) sVG images cannot be searched, indexed, scripted, and compressed
b) SVG images are scalable
c) SVG images can be printed with high quality at any resolution
d) SVG images are zoomable
32) what is the code syntax to set localStorage value as “TopupAssignment” to “examtype”
a) localStorage obj = new localStorage();obj.addItem(“examtype”,”TopupAssignment”);
b) <localStorage><add key = “examtype” value = “TopupAssignment”></localStorage>
c) localStorage.setItem(“examtype”,”TopupAssignment”);
d) localStorage obj = new localStorage(“examtype”,”TopupAssignment”);
33) Which are following is true about local strorage?
a) Server.localStorage b) Code.localStorage c) Window.localStorage d) client.localStorage
Sensitivity: Internal & Restricted
34) Which storage object stores data with no expiration date?
a) localStorage b) sessionStorage c) clientStorage d) codeStorage
35) What is the code syntax to retrieve the value “AccountNumber” from localStorage?
a) Var a = localStorage.getItem(“AccountNumber”)
b) Var a = localStorage.retrieveItem(“AccountNumber”)
c) Var a = localStorage[“AccountNumber”]
d) Var a = localStorage(“AccountNumber”).get()
36) which tag defines a scalar measurement within a known range, or a fractional value
also known as a gauge.
a) fraction b) Meter c) progress d) measurement
37) which tag defines a scalar measurement within a known range
a) meter b) progress c) time d) command
38) <canvas> element defines graphics drawing using
b) Javascript b) Jquery c) XML d) DOM
39) <keygen> tag specifies a ____
a) public key b) private key c) key pair d) private key/public key
40) The <dt> tag is used in conjuction with
a) <dl> (describe description list) <dd> (describes each term/name)
b) <dl>(describes each term/name)<dd> (describe description list)
c) <dd> (describes each term/name from description list)
d) <dl> ( describes each term/name)
Sensitivity: Internal & Restricted