100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Exam (elaborations)

XML Test ACTUAL UPDATED Exam Questions and CORRECT Answers

Rating
-
Sold
-
Pages
36
Grade
A+
Uploaded on
18-04-2025
Written in
2024/2025

XML Test ACTUAL UPDATED Exam Questions and CORRECT Answers Which of these characters can be included within the text in an XML document in literal form? a. > b. ; c. : d. - - CORRECT ANSWER - bcd XML parser checks for validity and well formed ness? - CORRECT ANSWER Which of the following is/are optional in the creation of an XML file?

Show more Read less
Institution
XML
Course
XML











Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
XML
Course
XML

Document information

Uploaded on
April 18, 2025
Number of pages
36
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Content preview

XML Test ACTUAL UPDATED Exam
Questions and CORRECT Answers
Which of these characters can be included within the text in an XML document in literal form?
a. >
b. ;
c. :

d. - - CORRECT ANSWER - bcd



XML parser checks for validity and well formed ness? - CORRECT ANSWER -t


Which of the following is/are optional in the creation of an XML file?
a. The <?xml version " 1.0"?> statement
b. The root element
c. The opening tag in an element

d. Entities - CORRECT ANSWER -d


Which of the following XML attribute names is invalid?
a. _notvalid
b. I am not valid
c. not-valid.1

d. not1valid2 - CORRECT ANSWER -b


A descendant having a new namespace cannot override the namespace defined by the

parent element? - CORRECT ANSWER -f


Parameter entities use ampersand (&) and semicolon (;) as delimiters? - CORRECT
ANSWER -f

,XML developer has to ensure the uniqueness of the element names and attributes in a

document? - CORRECT ANSWER -t



XML is transformed only via XSLT? - CORRECT ANSWER -f


Browser has the ability distinguish duplicate element names in an XML document? - CORRECT
ANSWER -f


Which of these is a valid comment in XML?
a. <!--This is a sample XML document>
b. <?This is a sample XML document?>
c. <!--This data should be hidden
<FIRSTNAME>Joe</FlRSTNAME>
<LASTNAME>J0hnson<lLASTNAME>
-->

d. <?--This is a sample XML document--> - CORRECT ANSWER -c


What does the keyword SYSTEM indicate in the following code?
<?xml version "1.0"?>
<!DOCTYPE Book SYSTEM "book.dtd">
a. It is a system generated DTD
b. Book.dtd is an internal DTD
c. Book.dtd is an external DTD

d. Book is a system variable - CORRECT ANSWER -c


Which of the following statements is not true?
a. The <!DOCTYPE . > declaration follows the XML declaration

,b. Entities that appear anywhere in an XML document are referred to as Parameter entities
c. Attributes are added to an element to provide information about the element
d. Entities must be declared within the document DOCTYPE declaration - CORRECT
ANSWER -b


Which of the following is not a keyword used for default settings in an! ATTLlST element?
a. #IMPLIED
b. #DEFINE
c. #REQUIRED

d. #FIXED - CORRECT ANSWER -b


External DTDs use the keyword URL to specify the location of the DTD? - CORRECT
ANSWER -f


The question mark (?) operator indicates
a. either zero or one occurrence.
b. any number of occurrences.
c. one or more occurrences.

d. more than one occurrence. - CORRECT ANSWER -a


For each element type associated with a sequence element, there must be an element in the

XML instance in the same order? - CORRECT ANSWER -t


Specifies that the attribute cannot be used?
a. prohibited
b. required
c. optional

d. use - CORRECT ANSWER -a

, An XML Schema defines whether an element is empty or can include text. - CORRECT
ANSWER -t


In schema, the ALL element requires that
a. each element in the group must occur at most once
b. there must be an element in the XML instance in the same order

c. the maxOccurs attribute can be 0 or 1 - CORRECT ANSWER -a



The default value for the minOccurs attribute in Schema is 0 - CORRECT ANSWER -f


See the snip set below and choose one answer:
<xsl : value-of select "floor(-2.3)"/>
a. -2
b. -2.5

c. -3 - CORRECT ANSWER -c


Which top level XSLT elements is used to define a variable in a style-sheet or template and
to assign it a value
a. xsl:include
b. xsl:output
c. xsl:variable

d. xsl:text - CORRECT ANSWER -c



Xpath can be thought of as a query language like SQL - CORRECT ANSWER -t


Which of these is the correct syntax to link an XSL file to an XML document?
a. <?xmls type "text/xsl"href "candidate.xsl"?>

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
MGRADES Stanford University
View profile
Follow You need to be logged in order to follow users or courses
Sold
1073
Member since
1 year
Number of followers
102
Documents
68976
Last sold
1 day ago
MGRADES (Stanford Top Brains)

Welcome to MGRADES Exams, practices and Study materials Just think of me as the plug you will refer to your friends Me and my team will always make sure you get the best value from the exams markets. I offer the best study and exam materials for a wide range of courses and units. Make your study sessions more efficient and effective. Dive in and discover all you need to excel in your academic journey!

3.8

170 reviews

5
73
4
30
3
45
2
8
1
14

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions