Explore topic-wise MCQs in Technical Programming.

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

101.

Which of the following property is used to increase or decrease how bold or light a font appears?

A. font-family
B. font-style
C. font-variant
D. font-weight
Answer» E.
102.

Documents converted to _______ can be published to the web.

A. HTML
B. Machine language
C. HTTP
D. FTP
Answer» B. Machine language
103.

Symbol used at the beginning of the HREF text is

A. &
B. #
C. ^
D. $
Answer» C. ^
104.

Which property is used to specify typefaces ?

A. font-family
B. font-name
C. font-face
D. font-type
Answer» B. font-name
105.

We write single ______ before the pseudo-class property.

A. Colon
B. Dot
C. Hash
D. Semicolon
Answer» B. Dot
106.

The ______ tag defines an image in an HTML page.

A. <pic>
B. <image>
C. <img>
D. <imge>
Answer» D. <imge>
107.

Browsers automatically add an __________ before and after a paragraph.

A. empty line
B. underline
C. empty space
D. None of these
Answer» B. underline
108.

Which of the following is used to open document in new window ?

A. <a target="_self">Link</a>
B. <a target="_blank">Link</a>
C. <a target="_top">Link</a>
D. <a target="_parent">Link</a>
Answer» C. <a target="_top">Link</a>
109.

HTML document contains

A. attributes
B. tags
C. plain text
D. all of these
Answer» E.
110.

Fonts such as Times New Roman which have spaces in between must be wrapped inside ______ .

A. Quotation Mark
B. Round Brackets
C. Triangular Brackets
D. Curly Braces
Answer» B. Round Brackets
111.

The tag used to create a hypertext relationship between current document and another URL is

A. <LINK>
B. <A>
C. <ISINDEX>
D. none of these
Answer» B. <A>
112.

The body tag usually used after

A. EM tag
B. FORM tag
C. Title tag
D. HEAD tag
Answer» E.
113.

HTML program is saved using extension

A. .htnl
B. .htm
C. .html
D. .tml
Answer» D. .tml
114.

The web standard allows programmers on many different computer platforms to dispersed format and display the information server. These programs are called

A. Internet Explorer
B. HTML
C. FTP
D. Web Browsers
Answer» E.
115.

What are Empty elements and is it valid?

A. No, it is valid to use Empty Element
B. No, it is not valid to use Empty Element
C. No, there is no such terms as Empty Element
D. Empty elements are element with no data
Answer» E.
116.

Which of the following is a Valid Name?

A. <_person>
B. <123 person>
C. Both (a) and (b)
D. None of these
Answer» B. <123 person>
117.

The tag used to create a new list item and also include a hyperlink is

A. <UL>
B. <DD>
C. <DL>
D. <LI>
Answer» E.
118.

Opening tag of HTML tag is also known as

A. ending tag
B. closed tag
C. starting tag
D. forward tag
Answer» D. forward tag
119.

The MIME text file is saved with

A. HTML extension
B. THM extension
C. HMT extension
D. None of these
Answer» B. THM extension
120.

For Showing heading in HTML web page we use ____________ tag.

A. Strong
B. Article
C. Paragraph
D. Heading
Answer» E.
121.

Text written inside the following pair of tags is considered as paragraph.

A. <p></p>
B. <paragraph></paragraph>
C. <para></para>
D. None of These
Answer» B. <paragraph></paragraph>
122.

Which tag is used to divide the HTML document into the paragraphs ?

A. paragraph
B. par
C. para
D. p
Answer» E.
123.

Which of the following attributes of text box control allow to limit the maximum character?

A. size
B. len
C. maxlength
D. all of these
Answer» D. all of these
124.

The attribute, which define the relationship between current document and HREF'ed URL is

A. REL
B. URL
C. REV
D. None of the above
Answer» B. URL
125.

Which of the following options is correct with regard to HTML?

A. It is a modelling language
B. It is a DTP language
C. It is a partial programming language
D. It is used to structure documents
Answer» E.
126.

When trying to access a URL, the following message is displayed on the browser:Server Error 403What could be the reason for the message?

A. The requested HTML file is not available
B. The URL refers to a CGI script and the header of the script does not indicate where the interpreter is located
C. The path to the interpreter of the script file is invalid
D. The requested HTML file or CGI script has insufficient permission
Answer» E.
127.

&nbsp;Which&nbsp;of&nbsp;the&nbsp;following&nbsp;type&nbsp;attributes&nbsp;of&nbsp;input&nbsp;element&nbsp;defines&nbsp;control&nbsp;for&nbsp;entering&nbsp;a&nbsp;telephone&nbsp;number?

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

Which&nbsp;plugins&nbsp;can&nbsp;provide&nbsp;the&nbsp;fallback&nbsp;support&nbsp;for&nbsp;old&nbsp;browsers?

A. Flash
B. Quicktime
C. both and b
D. none of the mentioned
Answer» D. none of the mentioned
129.

In&nbsp;HTML&nbsp;Audio/Video&nbsp;DOM,&nbsp;__________&nbsp;sets&nbsp;or&nbsp;returns&nbsp;the&nbsp;default&nbsp;speed&nbsp;of&nbsp;the&nbsp;audio/video&nbsp;playback.

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

Which&nbsp;of&nbsp;the&nbsp;following&nbsp;HTML&nbsp;Video&nbsp;&ndash;&nbsp;Media&nbsp;Type&nbsp;is&nbsp;not&nbsp;supported&nbsp;in&nbsp;IE?

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

__________&nbsp;allows&nbsp;the&nbsp;iframe&nbsp;to&nbsp;pull&nbsp;in&nbsp;content&nbsp;from&nbsp;elsewhere&nbsp;in&nbsp;the&nbsp;same&nbsp;domain.

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

&nbsp;The&nbsp;element&nbsp;___________&nbsp;simply&nbsp;groups&nbsp;items&nbsp;within&nbsp;an&nbsp;enclosed&nbsp;dd&nbsp;tag,&nbsp;though&nbsp;it&nbsp;may&nbsp;associate&nbsp;them&nbsp;with&nbsp;a&nbsp;caption&nbsp;defined&nbsp;by&nbsp;a&nbsp;dt&nbsp;tag

A. object
B. figure
C. embed
D. none of the mentioned
Answer» B. figure
133.

Which&nbsp;of&nbsp;the&nbsp;following&nbsp;attribute&nbsp;adds&nbsp;audio&nbsp;controls,&nbsp;like&nbsp;play,&nbsp;pause,&nbsp;and&nbsp;volume?

A. audio
B. controls
C. source
D. src
Answer» C. source
134.

____________&nbsp;defines&nbsp;the&nbsp;accelerator&nbsp;key&nbsp;to&nbsp;be&nbsp;used&nbsp;for&nbsp;keyboard&nbsp;access&nbsp;to&nbsp;an&nbsp;element.

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

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

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

When&nbsp;is&nbsp;the&nbsp;mouseover&nbsp;event&nbsp;fired?

A. When mouse is moved over a new element
B. When mouse is clicked
C. When mouse is both moved and clicked
D. None of the mentioned
Answer» B. When mouse is clicked
137.

Calling&nbsp;the&nbsp;______________&nbsp;method&nbsp;during&nbsp;both&nbsp;a&nbsp;dragenter&nbsp;and&nbsp;dragover&nbsp;event&nbsp;will&nbsp;indicate&nbsp;that&nbsp;a&nbsp;drop&nbsp;is&nbsp;allowed&nbsp;at&nbsp;that&nbsp;location.

A. drop
B. drag
C. preventDefault
D. dataTransfer
Answer» D. dataTransfer
138.

The&nbsp;focus&nbsp;and&nbsp;blur&nbsp;events&nbsp;are&nbsp;also&nbsp;part&nbsp;of

A. Element events
B. Handler events
C. Window events
D. Scroll events
Answer» D. Scroll events
139.

When&nbsp;is&nbsp;the&nbsp;mouseout&nbsp;event&nbsp;fired?

A. When mouse is no longer over an element
B. When mouse is over an element
C. When mouse is hovered
D. None of the mentioned
Answer» B. When mouse is over an element
140.

Which&nbsp;of&nbsp;the&nbsp;following&nbsp;elements&nbsp;in&nbsp;HTML5&nbsp;defines&nbsp;video&nbsp;or&nbsp;movie&nbsp;content?

A. media
B. video
C. movie
D. audio
Answer» C. movie
141.

The&nbsp;______________&nbsp;parameter&nbsp;identifies&nbsp;a&nbsp;character&nbsp;encoding,&nbsp;which&nbsp;is&nbsp;a&nbsp;method&nbsp;of&nbsp;converting&nbsp;a&nbsp;sequence&nbsp;of&nbsp;bytes&nbsp;into&nbsp;a&nbsp;sequence&nbsp;of&nbsp;characters.

A. class
B. element
C. charset
D. none of the mentioned
Answer» D. none of the mentioned
142.

The&nbsp;__________&nbsp;begins&nbsp;with&nbsp;a&nbsp;series&nbsp;of&nbsp;parameter&nbsp;entity&nbsp;definitions.

A. DTD
B. SGML
C. XML
D. None of the mentioned
Answer» B. SGML
143.

______________&nbsp;should&nbsp;include&nbsp;data&nbsp;of&nbsp;two&nbsp;types;&nbsp;the&nbsp;first&nbsp;should&nbsp;be&nbsp;the&nbsp;URL&nbsp;using&nbsp;the&nbsp;type&nbsp;text/uri-list,&nbsp;and&nbsp;the&nbsp;second&nbsp;is&nbsp;the&nbsp;URL&nbsp;using&nbsp;the&nbsp;text/plain&nbsp;type.&nbsp;

A. Dragging HTML and XML
B. Dragging Text
C. Dragging Files
D. Dragging Links
Answer» E.
144.

Which&nbsp;of&nbsp;the&nbsp;following&nbsp;property&nbsp;is&nbsp;used&nbsp;to&nbsp;determine&nbsp;which&nbsp;drag&nbsp;operation&nbsp;was&nbsp;desired?

A. dragend
B. getData
C. dropEffect
D. captureData
Answer» D. captureData
145.

Which&nbsp;of&nbsp;the&nbsp;following&nbsp;is&nbsp;the&nbsp;first&nbsp;web&nbsp;browser?

A. Nexus
B. Netscape Navigator
C. Internet Explorer
D. Mosaic
Answer» B. Netscape Navigator
146.

HTML&nbsp;and&nbsp;XHTML&nbsp;stands&nbsp;for

A. Hyper Text Markup Language and EXtensible HyperText Markup Language.
B. Hyper Text Markup Language and EXtensible HyperText Marking Language
C. Hyper Text Marking Language and EXtensible HyperText Marking Language.
D. None of the mentioned
Answer» B. Hyper Text Markup Language and EXtensible HyperText Marking Language
147.

The&nbsp;___________&nbsp;of&nbsp;an&nbsp;item&nbsp;is&nbsp;the&nbsp;value&nbsp;of&nbsp;its&nbsp;element&rsquo;s&nbsp;itemid&nbsp;attribute.

A. token
B. typed item
C. global identifier
D. none of the mentioned
Answer» D. none of the mentioned
148.

Which&nbsp;of&nbsp;the&nbsp;following&nbsp;is&nbsp;not&nbsp;supported&nbsp;in&nbsp;HTML5&nbsp;?

A. scheme
B. content
C. http-equiv
D. name
Answer» B. content
149.

Which&nbsp;of&nbsp;the&nbsp;following&nbsp;statement&nbsp;is&nbsp;true&nbsp;?

A. Attribute names must be in uppercase
B. Attribute values must be quoted
C. Attribute minimization is mandatory
D. None of the mentioned
Answer» C. Attribute minimization is mandatory
150.

The&nbsp;favicon&nbsp;was&nbsp;standardized&nbsp;by&nbsp;the

A. IANA
B. W3C
C. WIPO
D. EPO
Answer» C. WIPO