mcq-xml
TRANSCRIPT
-
8/18/2019 MCQ-XML
1/5
1. What is an XML namespace?
a. A set of names applied to specific spaces within an XML document, such as the head
and body
b. A set of names representing a specific XML vocabulary..
c. A set of names for XML documents pertaining to a particular vocabulary
d. None of the above.
2. What is a NCName
a. A Non-Common Name
b. A Non-Conforming Name
c. A Non-Colonied Name..
d. None of the above
3. Which of the following is a valid XSLT iteration command
a. !or
b. for-all
c. for-each..
d. in-turn
4. Which of the following specify that the order and content of "membership" is not important
a. "#$L$M$N% membership N&'(L$)
b. "#$L$M$N% membership $M*%+)
c. "#$L$M$N% membership ALL)
d. "#$L$M$N% membership AN+)..
5. To match the tet node !in XSLT the synta will be
a. "sltemplate match/ tet/)
b. "sltemplate match-tet/ tet/)
c. "sltemplate matchtet0 1)
d. "sltemplate match/ tet0 1/ )..
6. The transformation of XML doc#ment in to another type of doc#ment by XSLT can be done
by
0i12n the server
0ii12n the client
0iii13ith a separate program
a. only0i1 4 0ii1
b. only 0ii1 4 0iii1
c. all are correct..
d. only 0i1 4 0iii1
7. XSLT processors accept as inp#t$
a. an XML conforming document file and an X5L% specification file..
b. only an XML document
c. only an X5L% specification
d. either an XML document or an X5L% specification
8.The synta for writing defa#lt val#es for element is
a. "sdelement name/ma/ type/ sdinteger/ value/ 677/ 8)
b. "sdelement name/ma/ type/ sdinteger/ fi9alue/ 677/ 8)
c. "sdelement name/ma/ type/ sdinteger/ default/ 677/ 8)..
d. "sdelement name/ma/ type/ sdinteger/ defaultval/ 677/ 8)
9. The synta for writing the minim#m occ#rrence for an element is
a. "sdelement ref/ note/ min/ 7/ 8)
b. "sdelements ref/ note/ min/ 7/ 8)
c. "sdelements ref/ note/ min&ccur/7/ 8)
-
8/18/2019 MCQ-XML
2/5
d. "sdelements ref/ note/ min&ccurs/ 7/ 8)..
10.XSL has formatting ob%ect & bloc'(
a. is not supported in X5L
b. generates a bloc: level reference area..
c. create a display bloc:
d. groups global declarations for a style sheet
11.The XSL formatting ob%ect which formats the data in a tablea. %able
b. table-body..
c. title
d. table-content
12.The XSl formatting ob%ect which formats the data and caption of a table is
a. %able
b. table-content
c. table-tet
d. none of the above..
13.The attrib#te #sed to define a new namespace is
a. XMLN5
b. XmlName5pace
c. Xmlns..
d. XmlNs
14.) *S+ operates li'e
a. data simulation ob;ect at server side
b. dynamic source ob;ect at client side
c. data source ob;ect at client side..
d. data simulation ob;ect at client side
15.,- in XML specification stands for
a. C.6<
b. priceless instruction
c. processing instruction..
d. polymorphic inheritance
16.To match the root node in XMLT transform the synta will be
a. "sltemplate match/=ocument/)
b. "sltemplate match/'oot/)
c. "sltemplate match/'ootNode/)
d. "sltemplate match/ 8/)..
17..?ml version/( )01( standalone/( yes( encoding/(2T345( ?6
a. it shows that the version is A.7
b. shows thatit is standalone
c. the standalone is wrong..
d. version attribute is not in XML
18.Whats so great abo#t XML?
a. $asy data echange
b. >igh speed on networ:
c. &nly ?.is correct
d. ?oth A. 4 ?@
19.The XML *+M ob%ect is
a. $ntity
b. $ntity 'eference..
c. Comment 'eference
-
8/18/2019 MCQ-XML
3/5
d. Comment =ata
20.Simple type 7#ilt into Schema & data8 represent a data in
a. MM-==-++
b. =d-MM-++
c. ++-MM-==
d. ++++-MM-==@
21.Microsoft XML Schema *ata Type & boolean( has val#esa. %rue ,!alse
b. %rue ,!alse or 6,7
c. 6,7..
d. any number other then ero and ero
22. Microsoft XML Schema *ata types for 9eadecimal digits representating octates
a. (2=
b. (X2=
c. ((2=..
d. XX2=
23.:o# can name the schema #sing the name attrib#te li'e
a. "schema attribute/schema6/)
b. "schema nameattribute/schema6/)
c. "schema nameattri/schema6/)
d. "schema name/schema6/)..
24.)ttrib#te standalone/"no" sho#ld be incl#ded in XML declaration if a doc#ment$
a. is lin:ed to an eternal X5L stylesheet
b. has eternal general references
c. has processing instructions
d. has an eternal =%=..
25. :o# can name the schema #sing the name attrib#te li'e
a. "schema attribute/schema6/)
b. "schema nameattribute/schema6/)
c. "schema nameattri/schema6/)
d. "schema name/schema6/)..
26.To add the attrib#te named Type to the .c#stomer6 tag the synta will be
a. "customer attribute %ype/eelent/)
b. "customer %ype attribute /eelent/)
c. "customer %ype attributetype/eelent/)
d. "customer %ype/ eelent/ )..
27.,arameter entities can appear in
a. ml file
b. dtd file..
c. sl file
d. ?oth 6 and B
28. What does *T* stand for?
a. =irect %ype =efinition
b. =ocument %ype =efinition..
c. =o %he =ance
d. =ynamic %ype =efinition
29.XML doc#ment can be viewed in
a. 2$ C.7
b. 2$ ?.7
c. 2$ .7..
-
8/18/2019 MCQ-XML
4/5
d. 2$ X.7
30.XML #ses the feat#res of
a. >%ML
b. X>%ML
c. 9ML
d. 5DML..
31.;ind of ,arsers area. well-formed
b. 9alidating
c. non-validating
d. ?oth ? 4 C..
32.Which of the following strings are a correct XML name?
a. my$lement..
b. my $lement
c. Emy$lement
d. None of the above
33.Comment in XML doc#ment is given by
a. "F-- --)
b. "#-- --#)
c. "#-- --)..
d. "8-- -- )
34. Which statement is tr#e?
a. All the statements are true
b. All XML elements must have a closing tag..
c. All XML elements must be lower case
d. All XML documents must have a =%=
35.What is the defa#lt namespace
a. %he namespace used by default when no namespace is declared
b. %he namespace used when two or more namespaces are referenced
c. A namespace that is referenced with the mlns attribute, but without a prefi..
d. None of the above
36.What is a %ML
c. XML is a :ind of dynamic >%ML
d. X>%ML is XML rewritten in >%ML
38.The following best describes the development of XML0
a. XML developed from >%ML because 3$? browsers became more powerful.
b. XML is designed as a replacement because 5DML can not be used for document
development.
c. XML builds on >%MLs ability to provide content to virtually any audience by adding the
power of intelligent content@
d. XML is the modern replacement for >%ML and 5DML, ta:ing the good points from each,
ma:ing both of those languages obsolete.
39.Which of the following XSLT ,atterns is #sed to match any descendant nodes
-
8/18/2019 MCQ-XML
5/5
a. 8
b. 88..
c. .
d. ..
40.Which of the following is #sed to specify the attrib#te list of an element
a. A%%L25%
b. FA%%L25%c. #A%%L25%..
d. EA%%L25%