0% found this document useful (0 votes)
70 views

A-B - C - D-: What Is XML ?

The document contains questions about XML, XSLT, DTD and their definitions. It asks about the correct syntax, statements and functions related to XML, XSLT and DTD. XML is defined as Extensible Markup Language and is used to structure data. XSLT is used to transform XML documents into other formats. DTD defines the structure of an XML document with a list of legal elements.

Uploaded by

thieuhuyen
Copyright
© © All Rights Reserved
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
70 views

A-B - C - D-: What Is XML ?

The document contains questions about XML, XSLT, DTD and their definitions. It asks about the correct syntax, statements and functions related to XML, XSLT and DTD. XML is defined as Extensible Markup Language and is used to structure data. XSLT is used to transform XML documents into other formats. DTD defines the structure of an XML document with a list of legal elements.

Uploaded by

thieuhuyen
Copyright
© © All Rights Reserved
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 38

Bi 1

1-
What is XML ?
A-
Extensible MarkUp Language
B-
Extra Modern Link
C-
Example markup Language
D-
X-Markup Language
2-
Whih !tatement about xml is true?
A-
Elements ma" ha#e multiple atrribute $ith the same name
B-
%uoting attribute is optional&
C-
Elements ma" nest but not o#erlap
D-
All o' the abo#e&
3-
What is the orret delation s"ntax 'or the #ersion o' an XML doument?
A-
()xml #ersion*+,&-+).
B-
(?xml #ersion*+,&-+)?.
C-
(xml #ersion*+,&-+.
D-
/one o' the abo#e
4-
0o$ is an empt" XML element de'ined?
A-
(sample.()sample.
B-
(sample).
C-
All o' the abo#e&
D-
/one o' the abo#e&
5-
Whih s"ntax is used to insert omments into an XML doument?
A-
(omment.1his is a omment()omment.
B-
(?-1his is a omment-.
C-
(2-1his is a omment-.
D-
All o' the abo#e&
6-
What does D1D stand 'or?
A-
D"nami 1"pe De'inition&
B-
Doument 1"pe De'inition&
C-
Do 1he Dane&
D-
Diret 1"pe De'inition&
7-
Whih statement is true?
A-
All XML douments must ha#e a D1D&
B-
All XML elements must be lo$er ase&
C-
All XML elements must be properl" losed&
D-
All o' the abo#e&
8-
Whih statement is true ?
A-
XML tags are ase sensiti#e&
B-
XML douments must ha#e a root tag&
C-
XML elements must be properl" losed&
D-
All o' the abo#e&
9-
Whih is not a orret name 'or an XML douments?
A-
(/ote.
B-
(h,.
C-
(,dollar.
D-
All 3 names are inorret&
10
-
What does X!L stand 'or?
A-
eXtra !t"le Language
B-
eXpandable !t"le Language
C-
eXtensible !t"le Listing
D-
eXtensible !t"lesheet Language
Bi 2
1-
What is a orret $a" o' re'erring to a st"lesheet alled +m"st"le&xsl+ ?
A-
(link t"pe*+text)xsl+ hre'*+m"st"le&xsl+ ).
B-
(?xml-st"lesheet t"pe*+text)xsl+ hre'*+m"st"le&xsl+?.
C-
(st"lesheet t"pe*+text)xsl+ hre'*+m"st"le&xsl+ ).
D-
All o' the abo#e
2-
4or the XML parser to ignore a ertain setion o' "our XML doument5 $hih
s"ntax is orret?
A-
(CDA1A. 1ext to be ignored ()CDA1A.
B-
(26CDA1A6 1ext to be ignored 77.
C-
(8CDA1A. 1ext to be ignored ()8CDA1A.
D-
(xml9CDA1A6 1ext to be ignored 7.
3-
XML is a ::::::: ;eommendation
A-
Miroso't
B-
!un
C-
W3C
D-
/one o' these
4-
XML is
A-
4ree and Extensible
B-
/ot Extensible&
C-
A st"lsheet
D-
/one o' these
5-
XML is a Complement to
A-
X01ML&
B-
01ML
C-
X<uer"
D-
Xpath
6-
XML !hema is designed to
A-
be sel'-desripti#e
B-
displ" onl" use'ul data
C-
arr"ing re<uest
D-
gi#ing response&
7-
XML uses
A-
an XML !hema to desribe the data
B-
an X01ML !hema to desribe the data
C-
an X8ath to desribe the data
D-
an X%uer"a to desribe the data
8-
XML Can be Used to
A-
;eplae old language&
B-
Create ne$ language&
C-
All o' the abo#e
D-
/one o' these&
9-
XML is the mother o'
A-
01ML
B-
WA8 and WML
C-
All o' the abo#e
D-
/one o' these&
10
-
1he xsl9attribute do generates the elements in the time o' proessing&
A-
4alse
B-
/ot al$a"s
C-
1rue
D-
/one o' these
Bi 3
1-
X!L stands 'or9
A-
EXtendable !t"lesheet Language
B-
EXtensible !t"lesheet Language
C-
EXtensible !t"le Language
D-
EXtendable !t"le Language
2-
1he World Wide Web Consortium =W3C> started to de#elop X!L beause there
$as a need 'or9
A-
A!8-based !t"lesheet Language
B-
X!l-based !t"lesheet Language
C-
01ML-based !t"lesheet Language
D-
XML-based !t"lesheet Language
3-
X!L :::::::: ho$ the XML doument should be displa"ed2
A-
desribes
B-
sho$s
C-
displa"s
D-
prints
4-
X!L onsists o' three parts& $hih are ?
A-
X!L15Xpath501ML
B-
X!L15Xpath5A!8
C-
X!L15Xpath5X!L-4?
D-
X!L15Xpath5X01ML
5-
X!L proessors do parses the XML soure and tries to 'ind out the mathing
::::::: rule&
A-
'ile
B-
template
C-
page
D-
diretor"
6-
::::: in X!L do allo$ the element to be proessed 'or multiple times5 eah time
produing di''erent result&
A-
le#els
B-
pages
C-
template
D-
Modes
7-
1emplates are been ordered aording to their :::::::: $hih an be spei'ied
$ith the priorit" attributte&
A-
le#els
B-
priorit"
C-
si@e
D-
date
8-
An attributes an be aessed in the $a" similar to the elements& /otie :::: in
'ront o' the attribute name&
A-
A
B-
B
C-
C
D-
D
9-
Whih o' these axes $hih are used in X!L ?
A-
hild
B-
anestor
C-
desendant-or-sel'
D-
grand-parent
10
-
An ::::: instrution do ontains the template5 $hih is been applied to eah node
seleted $ith the selet attribute&
A-
xsl9'or
B-
xsl9'or-eah
C-
xsl9do-$hile
D-
xsl9$hile
Bi 4
1-
1he xsl9element generates the elements in at time o' proessing&
A-
1rue
B-
4alse
C-
/ot al$a"s
D-
/one o' these
2-
1he xsl9attribute do generates the elements in the time o' proessing&
A-
4alse
B-
/ot al$a"s
C-
1rue
D-
/one o' these
3-
1he Cop" and ::::::: onstruts are used 'or the nodes op"ing&
A-
op"-b"
B-
op"-o'
C-
op"-'or
D-
op"-$ith
4-
1he :::: instrution do enables the onditional proessing&
A-
xsl9do-$hile
B-
xsl9$hile
C-
xsl9i'else
D-
xsl9i'
5-
1he xsl9hoose element is used 'or the purpose o' seletion bet$een the se#eral
possibilities&
A-
/ot al$a"s
B-
1rue
C-
4alse
D-
/one o' these
6-
An xsl9numbers do inserts a 'ormated numbers into the :::::: &
A-
output
B-
input
C-
'ile
D-
bro$ser
7-
!t"lesheet an do ha#e :::: #ariables $ith the same name&
A-
one
B-
less then three
C-
'e$
D-
se#eral
8-
Ealue o' the loal #ariable is bounded to the $hih element&
A-
xsl9$here
B-
xsl9$hen
C-
xsl9than
D-
xsl9$hih
9-
A ::::: 'untion returns number o' nodes present in an argument node-set&
A-
number
B-
nodes
C-
ounter
D-
ount
10
-
+8osition+ 'untion do returns the number e<ual to ontext position
A-
1rue
B-
4alse
C-
CanFt sa"
D-
/one o' these
Bi 5
1-
X!L1 is9
A-
Extensible !t"lesheet Language 1ranslators
B-
Extended !t"lesheet Language 1rans'ormation
C-
Extensible !t"lesheet Language 1rans'ormation
D-
Extensible !t"le Language 1rans'ormation
2-
Gt is a language 'or trans'orming XML douments into other XML
A-
douments
B-
'iles
C-
$eb pages
D-
ser#i#es
3-
X!L1 is used 'or
A-
trans'orms an XML doument into another XML doument
B-
uses X8ath to na#igate in XML douments
C-
is a W3C ;eommendation
D-
is a Casading !t"le !heets
4-
XML and X!L1 supported b" ::: bro$serFs&
A-
onl" a 'e$
B-
onl" one
C-
/one o' the
D-
All
5-
4rom :::::::: on$ards 4ire'ox has support 'or XML and X!L1 =and C!!>&
A-
#ersion ,&-&H
B-
#ersion ,&-&-
C-
#ersion ,&-&3
D-
#ersion H&-&-
6-
::::::: on$ards Gnternet Explorer supports XML5 /amespaes5 C!!5 X!L15 and
X8ath&
A-
Eersion I
B-
Eersion J
C-
Eersion K
D-
Eersion H
7-
X!L1 st"lesheets ha#ing number o' templates&
A-
1rue
B-
4alse
C-
/ot al$a"s true
D-
/one o' these
8-
1emplates are de'ined b" using9
A-
(template.
B-
(x9template.
C-
(xsl.
D-
(xsl9template.
9-
Whih element an be used to ompute generated text5$ithin a template ?
A-
(xsl9template.
B-
(xsl9#alue-o'.
C-
(xsl.
D-
/one o' these
10
-
What is the orret s"mtax o' 'or-eah in X!L1 ?
A-
('or-eah.
ode
()'or-eah.
B-
(xsl9'or-eah.
ode
C-
(xsl9'or-eah.
ode
()xsl9'or-eah.
D-
(xsl9'oreah.
ode
()xsl9'oreah.
Bi 6
1-
!imple output 'ilters $hih are supported b" X!L1 are ?
A-
*52*5(5.
B-
*52*5(5D
C-
*5L5(5.
D-
M52*5(5.
2-
All bro$serFs does not support :::::: 5 one o' the solution is to trans'orm the
XML to X01ML on the ser#er&
A-
X!L
B-
X!L-4?
C-
X!L1
D-
/one o' these
3-
?ne o' the design goal 'or X!L1 $as to make it possible to trans'orm data 'rom
one 'ormat to another on a :::::: &
A-
internet
B-
ser#er
C-
$ebpages
D-
net$ork
4-
Gt return readable :::: to all kinds o' bro$sers&
A-
#alues
B-
pages
C-
output
D-
data
5-
Data stored in XML 'iles an be edited in Gnternet bro$ser&
A-
4alse
B-
1rue
C-
/ot al$a"s true
D-
/one o' these
6-
1o 'ailitate the editing o' XML a markup language editor should be used $ith9
A-
ad#aned 'untionalit"
B-
basi 'untionalit"
C-
no 'untionalit"
D-
/one o' these
7-
Use the :::: method o' the X!l1 lass to load an X!L1 st"le sheet&
A-
Load
B-
use
C-
onnet
D-
link
8-
Whih o' these are not the builtin 'untion o' X!L1 ?
A-
generate-id=>
B-
'untion-a#ailable=>
C-
ke"=>
D-
'ile=>
9-
X!L1 'iles ma" be ombine to produe the re<uired struture output 'ormat&
A-
1rue
B-
4alse
C-
/ot al$a"s true
D-
/one o' these
10
-
X!L1 proessors manipulate doument :::::: but do not manipulate douments&
A-
st"le
B-
'ile
C-
struture
D-
page
Bi 7
1-
D1D is9
A-
Data 1"pe De'inition
B-
Doument 1"pe De'inition
C-
De'inition 1"pe Doument
D-
De'inition 1"pe Data
2-
Gt de'ines the doument struture $ith a list o' :::::::&
A-
legal elements
B-
elements
C-
bad elements
D-
/one o' these
3-
D1D de'ines the doument struture $ith a list o' legal elements&
A-
4alse
B-
1rue
C-
/ot al$a"s
D-
/one o' these
4-
A D1D an be delared inline in "our XML doument5 or as an
A-
internal re'erene
B-
re'erene
C-
Both , and H
D-
external re'erene
5-
G' the D1D is inluded in "our XML soure 'ile5 it should be $rapped in a
D?C1N8E de'inition $ith the 'ollo$ing s"ntax9
A-
(D?C1N8E root-element 6element-delarations7.
B-
(D?C1N8E root-element =element-delarations>.
C-
(2D?C1N8E root-element 6element-delarations7.
D-
(2D?C1N8E 6element-delarations7.
6-
Nou an also use a D1D to #eri'" "our o$n
A-
ontrol
B-
desription
C-
data
D-
/one o' these
7-
G' the D1D is external to "our XML soure 'ile5 it should be $rapped in a
D?C1N8E de'inition $ith the 'ollo$ing s"ntax9
A-
(2D?C1N8E root-element !N!1EM +'ilename+.
B-
(D?C1N8E root-element !N!1EM +'ilename+.
C-
(2D?C1N8E root-element !N!1EM F'ilenameF.
D-
(2D?C1N8E !N!1EM +'ilename+.
8-
With D1D5 eah o' "our XML 'iles an arr" a :::::::: o' its o$n 'ormat $ith it&
A-
data
B-
ontrol
C-
desription
D-
data and ontrol
9-
Elements are the main building bloks o' both
A-
X01ML and 01ML douments
B-
XML and 01ML douments
C-
X!L and X01ML douments
D-
/one o' these
10
-
Attributes pro#ide ::::::: about elements&
A-
extra in'ormation
B-
in'ormation
C-
more data
D-
/one o' these
Bi 8
1-
Entities are #ariables used to de'ine
A-
ontrol
B-
database
C-
struture
D-
ommon text
2-
Entities are expanded $hen a doument is parsed b" an XML
A-
ompiler
B-
parser
C-
debugger
D-
linker
3-
Whih o' these haraters onnot be used as entit" re'erenes in XML ?
A-
(
B-
D
C-
+
D-
B
4-
8CDA1A means9
A-
pri#ate harater data
B-
publi harater data
C-
parsed harater data
D-
parsed and ompiled data
5-
CDA1A is text that ::::: be parsed b" a parser&
A-
$ill not
B-
$ill
C-
sometimes $ill
D-
sometimes $ill not
6-
CDA1A means9
A-
ommon data
B-
harater data
C-
omputer data
D-
/one o' these
7-
An element delaration has the 'ollo$ing s"ntax9
A-
(2ELEME/1 element-name ategor".
B-
(ELEME/1 element-name ategor".
C-
(2ELE element-name ategor".
D-
(2element-name ELEME/1 ategor".
8-
Elements $ith onl" harater data are delared $ith
A-
LC0A;
B-
L1EX1
C-
L8CDA1A
D-
LCDA1A
9-
Gn a D1D5 Attributes are delared $ith an ::::::: delaration
A-
A11;GBU1ELG!1
B-
A11LG!1
C-
ALG!1
D-
All the abo#e
10
-
:::::::: an #alidate "our XML against a D1D&
A-
Gnternet Explorer J&-
B-
Gnternet Explorer K&-
C-
?pera
D-
Mo@illa
Bi 9
1-
!hema is an ::::: based alternati#e
A-
X01ML
B-
XML
C-
X!L
D-
X!L1
2-
An XML !hema desribes the struture o' an XML ::::::: &
A-
doument
B-
'ile
C-
page
D-
/one o' these
3-
X!D is9
A-
X01ML !hema De'inition
B-
X!L !hema De'inition
C-
XML !hema De'inition
D-
X!L1 !hema De'inition
4-
Whih o' these are not supported b" XML !hema ?
A-
de'ines elements that an appear in a doument
B-
de'ines $hih 'iles are hild elements
C-
de'ines attributes that an appear in a doument
D-
de'ines $hih elements are hild elements
5-
XML !hemas are the !uessors o'
A-
D1D
B-
XML
C-
X!L
D-
X!L1
6-
XML !hema beame a W3C ;eommendation
A-
-3& Ma" H--,
B-
-H& Ma" H---
C-
-H& Ma" H--H
D-
-H& Ma" H--,
7-
?ne o' the greatest strength o' XML !hemas is the support 'or
A-
images
B-
data t"pes
C-
graphis
D-
'untions
8-
With XML !hemas5 the sender an :::::::: the data in a $a" that the reei#er
$ill understand&
A-
desribes
B-
de#elops
C-
designs
D-
in'orm
9-
With an extensible !hema de'inition "ou annot9
A-
;euse "our !hema in other !hemas
B-
Create "our o$n data t"pes deri#ed 'rom the standard t"pes
C-
;e'erene multiple shemas in the same doument
D-
All the abo#e
10
-
A simple element is an XML element that an ontain onl"
A-
numbers
B-
text
C-
images
D-
All the abo#e
Bi 10
1-
Whih o' these are not a kind o' omplex elements
A-
empt" elements
B-
elements that ontain onl" other elements
C-
elements that ontain onl" text
D-
elements that ontain onl" numbers
2-
G' an element has attributes5 it is onsidered to be o' a omplex t"pes&
A-
4alse
B-
1rue
C-
/ot al$a"s
D-
/one o' these
3-
1he s"ntax 'or de'ining an attribute is9
A-
(xs9attribute name*+xxx+ t"pe*+"""+).
B-
(xs9attribute name*+xxx+ ).
C-
(attribute name*+xxx+ t"pe*+"""+).
D-
(xs9attribute name*xxx t"pe*""").
4-
A de'ault #alue is automatiall" assigned to the attributes $hen no other #alue is
spei'ied&
A-
4alse
B-
/ot al$a"s
C-
1rue
D-
/one o' these
5-
Attributes are b" de'ault9
A-
re<uired
B-
optional
C-
'ixed
D-
de'ault
6-
G' an XML element is o' t"pe +xs9date+ and ontain a string like +0ello World+5 the
element $ill
A-
#alidate
B-
sometime it $ill #alidate
C-
sometime it $ill not #alidate
D-
not #alidate
7-
;estritions on XML elements are alled
A-
ards
B-
deks
C-
'aets
D-
'aes
8-
1o spei'" ho$ $hitespae haraters should be handled5 $e $ould use the
$hite!pae
A-
'untions
B-
onstraints
C-
#alues
D-
/one o' these
9-
An empt" omplex element annot ha#e an" ontents5 onl"
A-
attributes
B-
onl" one ontent
C-
#alues
D-
/one o' these
10
-
0o$ man" indiators are present in !hema ?
A-
I
B-
J
C-
K
D-
O
Bi 11
1-
X4orms is the next generation o'
A-
A!8 'orms
B-
X01ML 'orms
C-
01ML 'orms
D-
Pa#a 'orms
2-
X4orms is an :::: 'ormat 'or the spei'iation o' user inter'aes&
A-
XML
B-
X01ML
C-
X!L
D-
X!L1
3-
X4orms stores and transports data in
A-
X01ML douments
B-
XML douments
C-
X!L douments
D-
All the abo#e
4-
X4orms redues or eliminates the need 'or
A-
sripting
B-
programming
C-
ontrolling
D-
All the abo#e
5-
Whih o' these are not the 'eatures o' X'orms ?
A-
riher
B-
more seure
C-
de#ie independent $a" o' handling $eb input
D-
/one o' these
6-
X4orms uses XML 'or data de'inition and :::::: 'or data displa"&
A-
01ML or A!8
B-
01ML or X01ML
C-
X01ML or A!8
D-
01ML or XML
7-
X4orms uses :::: to de'ine 'orm data&
A-
XML
B-
X01ML
C-
X!L
D-
01ML
8-
X4orms ,&- beame a W3C ;eommendation in
A-
?tober H--H
B-
?tober H--I
C-
Deember H--3
D-
?tober H--3
9-
1he purpose o' an X4orms 'orm is to
A-
displa" data
B-
ollet data
C-
manupulate data
D-
/one o' these
10
-
1he X4orms model uses an :::::: element to de'ine the data to be olleted&
A-
(submission.
B-
(x'orms.
C-
(instane.
D-
()x'orms.
Bi 12
1-
1o submit the data X'orms uses9
A-
(submission.
B-
(submit.
C-
Both , and H
D-
/one o' these
2-
X4orms is not designed to $ork alone&
A-
4alse
B-
CanFt sa"
C-
1rue
D-
/one o' these
3-
Nou annot use an X4orms namespae in
A-
01ML
B-
X01ML ,&-
C-
X01ML H&-
D-
Both , and H
4-
X4orms uses X8ath to address data& 1his is alled
A-
linking
B-
binding
C-
onneting
D-
/one o' these
5-
X8ath uses path expressions to identi'" nodes in an
A-
X01ML doument
B-
X!L doument
C-
X!L1 doument
D-
XML doument
6-
1he X4orms user inter'ae an bind elements using the
A-
re' attribute
B-
re'erene attribute
C-
link attribute
D-
anhor
7-
1he user inter'ae elements in X4orms are alled
A-
User Controls
B-
inter'ae Controls
C-
X4orms Controls
D-
/one o' these
8-
Whih o' these are not the X4orms properties re'erene ?
A-
alulate
B-
p3pt"pe
C-
rele#ant
D-
re'erene
9-
1he selet ontrol is used 'or seleting items =one or man"> 'rom a
A-
text area
B-
list
C-
textbox
D-
label
10
-
1he data restritions5 t"pes and beha#iors o' the 'orms an be de'ined b"9
A-
X4orms properties
B-
X!L properties
C-
XML properties
D-
X01ML properties
Bi 13
1-
X!L-4? is9
A-
X!L 4orm ?bQets
B-
X!L 4ormatting ?bQets
C-
X!L 4irst ?bQet
D-
X!L 4ormatting ?perations
2-
X!L-4? is part o'
A-
X!L
B-
X01ML
C-
XML
D-
X!L1
3-
X!L-4? is an XML-based markup language $hih desribe the 'ormatting o'
XML data 'or
A-
output to ser#er
B-
output to lient
C-
output to sreen
D-
/one o' these
4-
1o displa" output X!L-4? uses
A-
irles
B-
retangular boxes
C-
tables
D-
s<uare boxes
5-
X!L-4? 8ages ontains
A-
setions
B-
parts
C-
bloks
D-
;egions
6-
Whih o' these are not the X!L-4? regions ?
A-
region-bod"
B-
region-start
C-
region-a'ter
D-
region-title
7-
Whih part o' the page $ill ha#e the ontents $hih are de'ined in region-a'ter ?
A-
'ooter o' the page
B-
end o' the loop
C-
end o' the bod"
D-
/one o' these
8-
X!L-4? Blok areas an ontain other Blok areas5but mainl" the" ontain
A-
blank areas
B-
Line areas
C-
un'illed areas
D-
/one o' these
9-
X!L-4? needs ::::::: to produe output&
A-
displa" so't$are
B-
an" so't$are
C-
'ormatting so't$are
D-
/one o' these
10
-
X!L-4? and X!L1 ::: help eah other&
A-
an
B-
anFt
C-
ma" be
D-
/one o' these

You might also like