Explore topic-wise MCQs in Testing Subject.

This section includes 657 Mcqs, each offering curated multiple-choice questions to sharpen your Testing Subject knowledge and support exam preparation. Choose a topic below to get started.

1.

The ____________ method must create a new clipping region by calculating the intersection of the current clipping region and the area described by the current path, using the non-zero winding number rule.%!

A. fill()
B. stroke()
C. clip()
D. none of the mentioned
Answer» D. none of the mentioned
2.

Which of the following statement is not true?%!

A. SVG stands for Scalable Vector Graphics
B. SVG is used to define graphics for the Web
C. SVG is a W3C recommendation
D. All of the mentioned
Answer» E.
3.

Which element may be used within content to represent material that is tangential?%!

A. aside
B. cite
C. article
D. class
Answer» B. cite
4.

In HTML Audio/Video DOM, __________ sets or returns the CORS settings of the audio/video.%!

A. currentTime
B. duration
C. defaultPlaybackRate
D. crossOrigin
Answer» E.
5.

Which element serves as a container for atomic filter operations.%!

A. filter
B. feimage
C. feblend
D. tref
Answer» B. feimage
6.

Which of the following type attributes of input element defines control for entering a telephone number?%!

A. mob
B. tel
C. mobile
D. telephone
Answer» C. mobile
7.

All elements are identified by their __________ and are marked up using either start tags and end tags or self-closing tags%!

A. attribute name
B. tag name
C. class name
D. none of the mentioned
Answer» C. class name
8.

Which of the following element represents the header of a section or the document and contains a label or other heading information for the related content?%!

A. data-X
B. header
C. mark
D. meter
Answer» C. mark
9.

*$_Which of the following element represents the header of a section or the document and contains a label or other heading information for the related content??

A. data-X
B. header
C. mark
D. meter
Answer» C. mark
10.

*$_Which attribute specifies that the video will be loaded at page load, and ready to run. Ignored if autoplay is present.?

A. loop
B. src
C. preload
D. poster
Answer» D. poster
11.

*$_Which event will be used when a connection to the server is opened.?

A. onopen
B. onmessage
C. onerror
D. None of the above
Answer» B. onmessage
12.

*$_Which of the following type attributes of input element defines control for entering a telephone number??

A. mob
B. tel
C. mobile
D. telephone
Answer» C. mobile
13.

*$_All elements are identified by their __________ and are marked up using either start tags and end tags or self-closing tags?

A. attribute name
B. tag name
C. class name
D. none of the mentioned
Answer» C. class name
14.

*$_Which element serves as a container for atomic filter operations.?

A. filter
B. feimage
C. feblend
D. tref
Answer» B. feimage
15.

*/*_The ____________ method must create a new clipping region by calculating the intersection of the current clipping region and the area described by the current path, using the non-zero winding number rule.?

A. fill()
B. stroke()
C. clip()
D. none of the mentioned
Answer» D. none of the mentioned
16.

*/*_Which element may be used within content to represent material that is tangential??

A. aside
B. cite
C. article
D. class
Answer» B. cite
17.

*/*_Which of the following statement is not true??

A. SVG stands for Scalable Vector Graphics
B. SVG is used to define graphics for the Web
C. SVG is a W3C recommendation
D. All of the mentioned
Answer» E.
18.

*/*_In HTML Audio/Video DOM, __________ sets or returns the CORS settings of the audio/video.?

A. currentTime
B. duration
C. defaultPlaybackRate
D. crossOrigin
Answer» E.
19.

*/*_Which is a JavaScript running in the background, without affecting the performance of the page.?

A. Web Worker
B. Canvas
C. SVG
D. None of the above
Answer» B. Canvas
20.

*/*___________ defines the accelerator key to be used for keyboard access to an element.?

A. data-X
B. accesskey
C. rp
D. command
Answer» C. rp
21.

%___________ defines the accelerator key to be used for keyboard access to an element._%

A. data-X
B. accesskey
C. rp
D. command
Answer» C. rp
22.

_ HTML5 features, include native audio and video support without the need for.$?

A. Flash
B. Canvas
C. Svg
D. None of the above
Answer» B. Canvas
23.

_ Which is a JavaScript running in the background, without affecting the performance of the page.$?

A. Web Worker
B. Canvas
C. SVG
D. None of the above
Answer» B. Canvas
24.

_ Which type attribute of input element sets the element’s value to a string representing a number?$?

A. range
B. email
C. file
D. date
Answer» B. email
25.

_ __________ allows the iframe to pull in content from elsewhere in the same domain.$?

A. allow-same-origin
B. allow-forms
C. allow-scripts
D. none of the mentioned
Answer» B. allow-forms
26.

_ Which element must reference a resource that can provide an image for the cursor graphic?$?

A. hover
B. i
C. cursor
D. fill
Answer» D. fill
27.

_ When the _____________ method is passed an animated image as its image argument, the user agent must use the poster frame of the animation, or, if there is no poster frame, the first frame of the animation.$?

A. measureText()
B. imageData()
C. drawImage()
D. none of the mentioned
Answer» D. none of the mentioned
28.

_ HTML5 documents may contains a ___________ element, which is used to set the header section of a document.$?

A. header
B. footer
C. section
D. none of the mentioned
Answer» B. footer
29.

_ In HTML Audio/Video DOM, __________ returns a TextTrackList object representing the available text tracks.$?

A. readyState
B. startDate
C. videoTracks
D. textTracks
Answer» E.
30.

_ In HTML Audio/Video DOM, __________ sets or returns the default speed of the audio/video playback.$?

A. currentTime
B. duration
C. defaultPlaybackRate
D. playbackRate
Answer» D. playbackRate
31.

__Which of the following is not a newly added element in HTML5?__

A. article
B. audio
C. nav
D. frameset
Answer» E.
32.

_Which is not suited for game applications?$?

A. Canvas
B. Svg
C. Both A & B
D. None of the above
Answer» C. Both A & B
33.

_Which of the following attribute triggers event after the document is printed?$?

A. offlineprint
B. onprint
C. onafterprint
D. onbeforeprint
Answer» D. onbeforeprint
34.

_A ____________ element must have a start tag but must not have an end tag.$?

A. details
B. command
C. code
D. both a and b
Answer» C. code
35.

_Which of the following allows the sandboxed iframe to run scripts from the same domain?$?

A. allow-same-origin
B. allow-forms
C. allow-scripts
D. none of the mentioned
Answer» D. none of the mentioned
36.

________ drawings can be dynamic and interactive.$?

A. Canvas based
B. SVG
C. CSS3
D. JavaScript
Answer» C. CSS3
37.

Which method must clear the pixels in the specified rectangle that also intersects the current clipping region to a fully transparent black, erasing any previous image?$?

A. strokeRect(x, y, w, h)
B. clearRect(x, y, w, h)
C. fillRect(x, y, w, h)
D. none of the mentioned
Answer» C. fillRect(x, y, w, h)
38.

Which element is used to define a discrete unit of content such as a blogpost, comment, and so on?$?

A. section
B. class
C. article
D. none of the mentioned
Answer» C. article
39.

In HTML Audio/Video DOM, __________ returns a MediaError object representing the error state of the audio/video.$?

A. ended
B. seeking
C. error
D. mediaGroup
Answer» D. mediaGroup
40.

Which of the following HTML Video – Media Type is not supported in IE?$?

A. WebM
B. MP4
C. Ogg
D. None of the mentioned
Answer» D. None of the mentioned
41.

Which method retrieves periodic updates about the current geographic location of the device.$?

A. getCurrentPosition()
B. watchPosition()
C. clearWatch()
D. All the mentioned above
Answer» C. clearWatch()
42.

Which of the following is/are the property of SVG images?$?

A. SVG images are scalable
B. SVG images are zoomable
C. SVG is an open standard
D. All of the mentioned
Answer» E.
43.

The interactive element audio with the attribute controls must not appear as a descendant of which element?$?

A. a
B. button
C. audio
D. both a and b
Answer» E.
44.

The __________ attribute effectively renders the iframe as an inline include, which allows the parent document’s CSS to affect the contents of the iframe$?

A. allow-forms
B. seamless
C. embed
D. none of the mentioned
Answer» C. embed
45.

Which of the following element is removed by HTML5?$?

A. vlink
B. dir
C. marginwidth
D. compact
Answer» C. marginwidth
46.

Which of the following element is removed by HTML5??

A. vlink
B. dir
C. marginwidth
D. compact
Answer» C. marginwidth
47.

A semantic element clearly describes its meaning to?

A. Browser
B. Developer
C. Both A & B
D. None of the above
Answer» D. None of the above
48.

Which method retrieves periodic updates about the current geographic location of the device.?

A. getCurrentPosition()
B. watchPosition()
C. clearWatch()
D. All the mentioned above
Answer» C. clearWatch()
49.

The interactive element audio with the attribute controls must not appear as a descendant of which element??

A. a
B. button
C. audio
D. both a and b
Answer» E.
50.

The __________ attribute effectively renders the iframe as an inline include, which allows the parent document’s CSS to affect the contents of the iframe?

A. allow-forms
B. seamless
C. embed
D. none of the mentioned
Answer» C. embed