Explore topic-wise MCQs in UGC-NET.

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

101.

Which of the following expand entities?

A. Compiler
B. debugger
C. linker
D. parser
Answer» E.
102.

Which of the following properties of the body tag prevents scrolling of a background image?

A. background = “still”
B. background = “fixed”
C. bg properties = “Statinary”
D. bgpropeties is =“fixed”
Answer» E.
103.

Which method is used to search for a sub string?

A. str.substring(subString)
B. str.find(subString)
C. str.indexOf(subString)
D. str.indexOf(charAt(0))
Answer» D. str.indexOf(charAt(0))
104.

HTML is used to mark-up

A. Data
B. file
C. text
D. none of these
Answer» D. none of these
105.

In an XSLT document, the matching rule is called?

A. Specification
B. syntax
C. rule
D. template
Answer» E.
106.

What is the correct syntax to create an array in java script?

A. Names = new Array(“tom”‚ “jerry”);
B. Names = new Array(1 : “tom”, 2 : “jerry”);
C. Names = new Array { “tom”, “jerry” };
D. Names = new Array [ “tom”, “jerry” ];
Answer» B. Names = new Array(1 : “tom”, 2 : “jerry”);
107.

What is the number of parent nodes that a node in the DOM tree can have?

A. 1
B. 2
C. 3
D. 4
Answer» B. 2
108.

Which of the following DTD is valid?

A. <!ENTITY abc “(#PC(DATA)”><!ELEMENT elm, & abc;>
B. <!ENTITY sample elm “file1”>
C. <!ENTITY sample SYSTEM “file1”>
D. <!ENTITY Y.test” (#PCDATA)”><!ELEMENT elm1 % Test>
Answer» E.
109.

“Get” and “post” belongs to ACTION

A. Attribute
B. Method
C. PROCESS attribute
D. ENCACTION attribute
Answer» C. PROCESS attribute
110.

Which is the full form of PCDATA?

A. Public character DATA
B. Private character DATA
C. Parsed character DATA
D. Parsed and compilied DATA
Answer» D. Parsed and compilied DATA
111.

What is the value of the node name attribute for a text node?

A. $ text
B. text #
C. # text #
D. # text
Answer» C. # text #
112.

Which of the following attributes of the 
element specifies the URL to be loaded when the form is submitted?

A. URL
B. action
C. go
D. load
Answer» C. go
113.

The syntax for defining an attribute is

A. <xs:attribute name = a Name type = a Type⁄>
B. <xs:attribute name = “ a Name type = “a Type”⁄>
C. <attribute name = “ a Name “type = “ a Type ”⁄>
D. <xs:attribute type = “a Type ”⁄>
Answer» C. <attribute name = “ a Name “type = “ a Type ”⁄>
114.

The event object is accessible from

A. only event handlers
B. only handlers of key press event
C. all functions
D. a function named event() only
Answer» B. only handlers of key press event
115.

Which of the following methods is used to parse an XML document?

A. doParse()
B. parse()
C. parseXML()
D. parseXMDOC()
Answer» C. parseXML()
116.

Which of the following adds a plain color to the background of a web page?

A. <body color = “#FF0000”>
B. <body color = “3, 454”>
C. <body bg color = “#FF0000”>
D. <body bg color = “ 36, 24, 35”>
Answer» D. <body bg color = “ 36, 24, 35”>
117.

Which CSS property controls the text size?

A. Text – size
B. font – style
C. text – style
D. font - size
Answer» E.
118.

DTP defines the document structure with a list of

A. Elements
B. bad elements
C. Legal elements
D. none of these
Answer» D. none of these
119.

Which of the following is not an image attribute?

A. Link
B. Align
C. SRC
D. alt
Answer» B. Align
120.

What is the full form of XML

A. extra markup language
B. extensible markup language
C. x-markup language
D. expandable markup language
Answer» C. x-markup language
121.

Which of the following parameter of the insert adjacent HTML function does not effect the context element?

A. Before Begin
B. After end
C. After Begin
D. All of them
Answer» D. All of them
122.

Which of the following represents an optional occurrence indicator?

A. *
B. +
C. ?
D. None of the above
Answer» D. None of the above
123.

What is the correct syntax of the CDATA section in an XML document?

A. <CDATA> Text to be ignored <⁄CDATA>
B. <PCDATA> Text to be ignored <⁄PCDATA>
C. <xml: CDATA [Text to be ignored]>
D. <![CDATA [Text to be ignored]]>
Answer» E.
124.

Which of the following represents the correct format of the built-in simple type ‘data’?

A. MM-DD-YY
B. DD-MM-YY
C. YY-MM-DD
D. YYY-MM-DD
Answer» E.
125.

Which of the following refers to the element in an HTML page?

A. window.document
B. window.document.body
C. window.document.document.element
D. window.body
Answer» E.
126.

Which of the following statement is true regarding the match attribute of the