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.

Negative positions for string do not work in ______________.

A. Safari
B. Opera
C. Chrome
D. Internet Explorer 8
E. None of these
Answer» E. None of these
2.

typeof null in JavaScript is _______.

A. undefined
B. object
C. string
D. number
E. None of these
Answer» C. string
3.

Variable element is ________.

A. <sup>
B. <time>
C. <wbr>
D. <var>
E. None of these
Answer» E. None of these
4.

Arrays in JavaScript are written within ____________.

A.
B. {}
C. ()
D. [].
E. None of these
Answer» E. None of these
5.

By default JavaScript displays the numbers as ___________.

A. base 10
B. base 16
C. base 2
D. base 6
E. None of these
Answer» B. base 16
6.

What is the Boolean value of in JavaScript?

A. false
B. off
C. on
D. true
E. None of these
Answer» B. off
7.

Math.random() returns _______________.

A. random number between 0 and 10
B. random number between 1 and 100
C. random number between 1 and 10
D. random number between 0 and 1
E. None of these
Answer» E. None of these
8.

In jQuery all the elements are selected by writing ____________.

A. $( :button )
B. $( * )
C. $( .class_name )
D. $(this)
E. None of these
Answer» C. $( .class_name )
9.

Which of the following is not the fade method in jQuery?

A. fadeOut()
B. fadeIn()
C. fadeOn()
D. fadeTo()
E. None of these
Answer» D. fadeTo()
10.

Which method is not used for traversing DOM tree?

A. after()
B. parents()
C. parentsUntil()
D. parent()
E. None of these
Answer» B. parents()
11.

hover() method is the combination of ____________.

A. mouseleave() and mousedown()
B. mouseup() and mousedown()
C. mousedown() and mouseenter()
D. mouseleave() and mouseeneter()
E. None of these
Answer» E. None of these
12.

Which of the following is not a jQuery dimension method?

A. css()
B. height()
C. outerHeight()
D. innerWidth()
E. None of these
Answer» B. height()
13.

Which method is not used for CSS manipulation?

A. beforeClass()
B. toggleClass()
C. css()
D. removeClass()
E. None of these
Answer» B. toggleClass()
14.

The method not used to add new content is ___________.

A. add()
B. after()
C. prepend()
D. before()
E. None of these
Answer» B. after()
15.

The method releases jQuery s control of $ is __________.

A. data()
B. each()
C. $.param()
D. $.noConflict()
E. None of these
Answer» E. None of these
16.

Which of the following is not window object method?

A. unescape()
B. confirm()
C. close()
D. blur()
E. None of these
Answer» B. confirm()
17.

Which is not the method of History object?

A. back()
B. forward()
C. go()
D. moveBy()
E. None of these
Answer» E. None of these
18.

Which of the following is not screen object property?

A. colorDepth
B. pixelDepth
C. language
D. width
E. None of these
Answer» D. width
19.

Which of the following is the Navigator object method?

A. stop()
B. scroll()
C. moveBy()
D. javaEnabled()
E. None of these
Answer» B. scroll()
20.

Which of the following is not navigator object property?

A. cookieEnabled
B. document
C. appVersion
D. geolocation
E. None of these
Answer» C. appVersion
21.

Metadata does not define _________.

A. scripts
B. color
C. links
D. character set
E. None of these
Answer» C. links
22.

For explaining, which new technology is used?

A. <address>
B. <abbr>
C. <cite>
D. <dfn>
E. None of these
Answer» E. None of these
23.

Which element indicates about something which is no longer accurate?

A. <del>
B. <s>
C. <address>
D. <ins>
E. None of these
Answer» C. <address>
24.

For displaying a list horizontally, we can use ______________.

A. type
B. <dt>
C. <dd>
D. display:inline
E. None of these
Answer» E. None of these
25.

Which of the following can t be the value of list-style-type?

A. disc
B. ellipse
C. circle
D. square
E. None of these
Answer» C. circle
26.

For keeping blog comment spam down we use ___________.

A. title
B. heading
C. meta
D. nofollow
E. None of these
Answer» E. None of these
27.

The content property does not include __________.

A. Normal
B. Color
C. URIs
D. Strings
E. None of these
Answer» C. URIs
28.

Which syntax will cause IE to recognize section element?

A. document.createElement( section )
B. document.createElement( <section> )
C. createElement.document( section )
D. getElementById( section )
E. None of these
Answer» B. document.createElement( <section> )
29.

Which of the following does not use a crawler to find pages for the search result?

A. Google
B. Yahoo
C. Bing
D. Backrub
E. None of these
Answer» E. None of these
30.

The search that can t be targeted by SEO is _______.

A. audio search
B. academic search
C. image search
D. video search
E. None of these
Answer» B. academic search
31.

Which one of the following will add prefix automatically?

A. MooTools
B. Selectivizr
C. Gulp
D. PostCSS
E. None of these
Answer» E. None of these
32.

For handling CSS prefixes Chrome uses ___________.

A. chr-
B. moz-
C. ms-
D. webkit-
E. None of these
Answer» E. None of these
33.

Dirty Markup will not validate ___________.

A. HTML
B. CSS
C. JavaScript
D. PHP
E. None of these
Answer» E. None of these
34.

Which one of the following is used to identify an anchor link?

A. #?
B. #
C. &
D. #!
E. None of these
Answer» C. &
35.

Which tag is used for stopping duplicate content?

A. meta
B. nofollow
C. image alt tag
D. canonical tag
E. None of these
Answer» E. None of these
36.

Image Alt tags is not used for ____________.

A. screenshots
B. infographics
C. diagrams
D. decorative images
E. None of these
Answer» E. None of these
37.

Footer element can t contain ____________ information.

A. blog post
B. the author of the document
C. copyright information
D. contact information
E. None of these
Answer» B. the author of the document
38.

Which element denotes that the text is a short fragment of computer code?

A. <dfn>
B. <cite>
C. <data>
D. <code>
E. None of these
Answer» E. None of these
39.

Which of the following is keyboard input element?

A. <em>
B. <mark>
C. <kbd>
D. <dfn>
E. None of these
Answer» E. None of these
40.

Which element is used for bringing attention?

A. <b>
B. <code>
C. <cite>
D. None of these
Answer» B. <code>
41.

Which element is called bidirectional isolation?

A. <b>
B. <bdi>
C. <bdo>
D. None of these
Answer» C. <bdo>
42.

Which element is used for or styling HTML5 layout?

A. jQuery
B. CSS
C. JavaScript
D. PHP
E. None of these
Answer» C. JavaScript
43.

Which browser was the first that allows CSS rules to be associated with new HTML5 layout elements?

A. Firefox
B. Chrome
C. Internet Explorer 7
D. Internet Explorer 9
E. None of these
Answer» B. Chrome
44.

For defining bookmarks in a page we use __________.

A. <a>
B. href
C. target
D. id
E. None of these
Answer» E. None of these
45.

In HTML5 which element defines thematic change in the content?

A. <p>
B. <head>
C. <h1>
D. <hr>
E. None of these
Answer» E. None of these
46.

Correct syntax for $.post() method is ____________.

A. $.post(URL,callback)
B. $.post(data,callback)
C. $.post(URL,data,callback)
D. $.post(URL,data)
E. None of these
Answer» D. $.post(URL,data)
47.

Typeof infinity will return ___________.

A. undefined
B. object
C. string
D. number
E. None of these
Answer» B. object
48.

The integers in JavaScript are precise up to ___________.

A. 23 digits
B. 15 digits
C. 10 digits
D. 12 digits
E. None of these
Answer» C. 10 digits
49.

JavaScript numbers are stored as ______________.

A. floating point
B. double
C. double precision floating point
D. integers
E. None of these
Answer» D. integers
50.

Resources do not fit into _______.

A. idle entries
B. explicit entries
C. master entries
D. fallback entries
E. None of these
Answer» B. explicit entries