ЁЯЪА Hurry! Offer Ends In
00 Days
00 Hours
00 Mins
00 Secs
Enroll Now
X

MCQs on XML

Ques 1

рдПрдХреНрд╕рдПрдордПрд▓ рдХреЗ рдХреНрдпрд╛ рдлрд╛рдпрджреЗ рд╣реИрдВ/рд╣реИрдВ?

What is/are the advantages of xml?

[A] xml files are human readable.

[B] It allows data interchange between different computers.

[C] It provides user selected view of data.

[D] All of the Above

Correct Answer : All of the Above


Ques 2

рдирд┐рдореНрдирд▓рд┐рдЦрд┐рдд рдореЗрдВ рд╕реЗ рдХреМрди рд╕рд╛ рдкреНрд░рддреАрдХ XML рдЯреИрдЧ рдХреА рд╢реБрд░реБрдЖрдд рдХреЛ рджрд░реНрд╢рд╛рддрд╛ рд╣реИ?

Which of the following symbols marks the start of an XML tag?

[A] {}

[B] ()

[C] <>

[D] []

Correct Answer : <>


Ques 3

рдЖрдк XML рдореЗрдВ рдЯрд┐рдкреНрдкрдгреА рдХреИрд╕реЗ рдЬреЛрдбрд╝рддреЗ рд╣реИрдВ?

How do you add a comment in XML?

[A] <!--This is a comment-->

[B] //This is a comment

[C] # This is a comment

[D] * This is a comment

Correct Answer : <!--This is a comment-->


Ques 4

рдирд┐рдореНрдирд▓рд┐рдЦрд┐рдд рдореЗрдВ рд╕реЗ рдХреМрди рд╕рд╛ XML рдХрд╛ рдЙрджреНрджреЗрд╢реНрдп рдирд╣реАрдВ рд╣реИ?

Which of the following is not a purpose of XML?

[A] Styling web pages

[B] Storing data

[C] Transporting data

[D] Describing data

Correct Answer : Styling web pages


Ques 5

рдирд┐рдореНрдирд▓рд┐рдЦрд┐рдд рдореЗрдВ рд╕реЗ рдХреМрди рд╕рд╛ XML рдХрд╛ рдЙрджреНрджреЗрд╢реНрдп рдирд╣реАрдВ рд╣реИ?

Which of the following is not a purpose of XML?

[A] <tagName attribute="value">

[B] <tagName attribute=value>

[C] <tagName "attribute"="value">

[D] <tagName attribute: value>

Correct Answer : <tagName attribute="value">


Ques 6

рдПрдХреНрд╕рдПрдордПрд▓ рдХрд╛ рдорддрд▓рдм рдХреНрдпрд╛ рд╣реИ?

What does XML stand for?

[A] Extensible Markup Language

[B] Extrapolated Markup Language

[C] Extended Markup Language

[D] Exclusive Markup Language

Correct Answer : Extensible Markup Language


Ques 7

XML рдореЗрдВ рдЯреИрдЧ рдХреНрдпрд╛ рд╣реИ?

What is a tag in XML?

[A] A keyword that identifies the type of data

[B] An identifier for a specific element

[C] A formatting code for text

[D] A type of file extension

Correct Answer : An identifier for a specific element


Ques 8

XML рджрд╕реНрддрд╛рд╡реЗрдЬрд╝ рдореЗрдВ рдореВрд▓ рддрддреНрд╡ рдХреНрдпрд╛ рд╣реИ?

What is the root element in an XML document?

[A] The first element in the document

[B] The last element in the document

[C] The element that contains all other elements

[D] The element that contains the text of the document

Correct Answer : The element that contains all other elements


Ques 9

XML рд╕реНрдХреАрдорд╛ рдХрд╛ рдЙрджреНрджреЗрд╢реНрдп рдХреНрдпрд╛ рд╣реИ?

What is the purpose of an XML schema?

[A] To define the structure and content of an XML document

[B] To provide metadata about an XML document

[C] To provide a way to validate an XML document

[D] To define the encoding used in an XML document

Correct Answer : To define the structure and content of an XML document


Ques 10

XML рдХрд┐рд╕ рднрд╛рд╖рд╛ рд╕реЗ рд╕рд░реНрд╡рд╛рдзрд┐рдХ рдорд┐рд▓рддреА рдЬреБрд▓рддреА рд╣реИ?

What language is XML most similar to?

[A] CSS

[B] Python

[C] JavaScript

[D] HTML

Correct Answer : HTML


Ques 11

рдХреМрди рд╕реА рднрд╛рд╖рд╛ XML рдкрд░ рдЖрдзрд╛рд░рд┐рдд рд╣реИ/рд╣реИрдВ?

Which language(s) is/are based on XML?

[A] SVG

[B] XHTML

[C] MathML

[D] All of these

Correct Answer : All of these


Ques 12

XML рдХреЗ рд╕рдВрдмрдВрдз рдореЗрдВ рд╕рд╣реА рдХрдерди рдХреНрдпрд╛ рд╣реИ?

What is correct statement in respect of XML ?

[A] Declaration is not a tag.

[B] Declaration is a tag.

[C] XML is not usually used for descriptive purposes, but there are ways to display XML data.

[D] Allof these

Correct Answer : Declaration is not a tag.


Ques 13

BIHAR STET-2023

XML рдореЗрдВ, рдХрд┐рд╕реА рддрддреНрд╡ рдХреЛ рд╡рд┐рд╢рд┐рд╖реНрдЯ рд░реВрдк рд╕реЗ рдкрд╣рдЪрд╛рдирдиреЗ рдХреЗ рд▓рд┐рдП рдХрд┐рд╕ рд╡рд┐рд╢реЗрд╖рддрд╛ рдХрд╛ рдЙрдкрдпреЛрдЧ рдХрд┐рдпрд╛ рдЬрд╛рддрд╛ рд╣реИ?

In XML, which attribute is used to uniquely identify an element?

[A] id

[B] class

[C] name

[D] tag

Correct Answer : id


Ques 14

BIHAR STET-2023

XML рдореЗрдВ рдбреЙрдХреНрдпреВрдореЗрдВрдЯ рдЯрд╛рдЗрдк рдбреЗрдлрд╝рд┐рдиреЗрд╢рди (DTD) рдХреА рдХреНрдпрд╛ рднреВрдорд┐рдХрд╛ рд╣реИ?

What is the role of a Document Type Definition (DTD) in XML?

[A] It defines the structure and data types of XML documents.

[B] It provides a list of external resources for an XML document.

[C] It specifies the styling rules for XML elements.

[D] It encrypts the content of an XML document

Correct Answer : It defines the structure and data types of XML documents.


Ques 15

DSSSB TGT -2023

рдирд┐рдореНрдирд▓рд┐рдЦрд┐рдд рдореЗрдВ рд╕реЗ рдХреМрди XML рдкрд╛рд░реНрд╕рд░ рдирд╣реАрдВ рд╣реИ?

Which of the following is NOT an XML parser ?

[A] Shell

[B] JDOM

[C] DOM

[D] SAX

Correct Answer : Shell


Ques 16

DSSSB TGT -2023

рдирд┐рдореНрдирд▓рд┐рдЦрд┐рдд рдореЗрдВ рд╕реЗ рдХреМрди рд╕рд╛ DTD рдореЗрдВ XML рддрддреНрд╡ рдХреЗ рд▓рд┐рдП рд╡реИрдз рд╕рд┐рдВрдЯреИрдХреНрд╕ рд╣реИ?

Which of the following is a valid syntax for the XML element in a DTD ?

[A] <!ELEMENT element-name category >

[B] <!ATTLIST element-name attribute name attribute-type attribute-value>

[C] <#ELEMENT element-name category >

[D] <!ENTITY entity-name "entity-value ">

Correct Answer : <!ELEMENT element-name category >


Ques 17

DSSSB TGT -2023

XML (рдПрдХреНрд╕рдЯреЗрдВрд╕рд┐рдмрд▓ рдорд╛рд░реНрдХрдЕрдк рд▓реИрдВрдЧреНрд╡реЗрдЬ) рддрддреНрд╡реЛрдВ рдХрд╛ рдирд╛рдо рд╣рдЯрд╛рддреЗ рд╕рдордп рдирд┐рдореНрдирд▓рд┐рдЦрд┐рдд рдореЗрдВ рд╕реЗ рдХрд┐рд╕ рдирд┐рдпрдо рдХрд╛ рдкрд╛рд▓рди рдХрд┐рдпрд╛ рдЬрд╛рдирд╛ рдЖрд╡рд╢реНрдпрдХ рд╣реИ?

Which of the following rule is needed to be followed while de clearing the XML (Extensible Markup Language ) elements name ?

[A] Name must start with a number

[B] Name can contain spaces

[C] Name must not start with the letter xml

[D] Name cannot contain letter, numbers and other characters

Correct Answer : Name must not start with the letter xml


Ques 18

DSSSB TGT -2023

рдирд┐рдореНрдирд▓рд┐рдЦрд┐рдд рдореЗрдВ рд╕реЗ рдХреМрди рд╕рд╛ XML рдкрд╛рд░реНрд╕рд░ рдПрдХ рдРрд╕рд╛ рдСрдмреНрдЬреЗрдХреНрдЯ рд╣реИ рдЬрд┐рд╕рдореЗрдВ XML рджрд╕реНрддрд╛рд╡реЗрдЬрд╝ рдХреА рд╕рднреА рдЬрд╛рдирдХрд╛рд░реА рд╢рд╛рдорд┐рд▓ рд╣реЛрддреА рд╣реИ рдФрд░ рдпрд╣ рдПрдХ рд╡реГрдХреНрд╖ рд╕рдВрд░рдЪрдирд╛ рдХреА рддрд░рд╣ рдмрдирд╛ рд╣реЛрддрд╛ рд╣реИ?

Which of the following types of XML parsers is an object that all the contains all the information of an XML document and is composed like a tree structure ?

[A] DOS

[B] SAX

[C] DOM

[D] SAY

Correct Answer : DOM


Ques 19

DSSSB TGT -2023

________XML рджрд╕реНрддрд╛рд╡реЗрдЬрд╝реЛрдВ рдХреЛ рдкрдврд╝рддрд╛ рд╣реИ рдФрд░ рдЙрдирдХреА рд╕рд╛рдордЧреНрд░реА рдФрд░ рд╕рдВрд░рдЪрдирд╛ рддрдХ рдкрд╣реБрдБрдЪ рдкреНрд░рджрд╛рди рдХрд░рддрд╛ рд╣реИред

________reads XML documents and provides access to their content and structure.

[A] XML schema

[B] XML pre-processor

[C] XML processor

[D] XML codes

Correct Answer : XML processor


Ques 20

SSC Scientific Assistant CS_IT NOV -2017

XML рджрд╕реНрддрд╛рд╡реЗрдЬрд╝ рдореЗрдВ рдЯрд┐рдкреНрдкрдгрд┐рдпрд╛рдБ рдЗрд╕ рдкреНрд░рдХрд╛рд░ рджреА рдЬрд╛рддреА рд╣реИрдВ:

Comments in XML document is given by:

[A] <?_ _ _ _>

[B] <!_ _ _ _!>

[C] <!_ _ _ _>

[D] </ _ _ _ _>

Correct Answer : <!_ _ _ _>


Ques 21

TAC-2018

XML рдХрд╛ рдорддрд▓рдм рд╣реИ

XML stands for

[A] Extended Middle Language

[B] Extended Middle Language

[C] Extensible Markup Language

[D] Extensible Model Language

Correct Answer : Extensible Markup Language


Latest Updates