0% found this document useful (0 votes)
98 views19 pages

XML Prelim Exam

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
0% found this document useful (0 votes)
98 views19 pages

XML Prelim Exam

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 19
Home / My courses / UGRD-IT5316-22331 / PRELIM EXAMINATION / PRELIM EXAMINATION Started on Saturday, 17 June 2023, 10:26 AM State Finishes Completed on Saturday, 17 June 2023, 1052 AM Time taken 26 mins 3 secs Marks 4.00/50.00 Grade 88.00 out of 100.00 This technology takes an xm file and converts it into another format. 2. XPath ». xsD xsuTY 4. DID Your answer's correct, common? Mac 100 tof 1.09 This an example of an xml comment 2. ¥ bP this isa comment */ &. ¥ d.che/> Your answers correct cussion ‘This is the start section of CDATA 3. <€DATA b <[eDaTaly & <{eDaTA} dd. . Validation Matching d. Checking Your answer's correct, custon 13 Which ofthe following isa disadvantage of XML? 1 Some data types like images are not represented well . Complex XML code can be dificult to read v © Allof the following dd. XMLis not suitable for Your answer's correct cuter 14 ‘The predefined character entity for Ampersand when shortened is 2 &Y ®. &am Samper d. Sampers Your answers correct cussion 15 ‘The predefined character entity single quote Than when shortened is 2 Sap bs < SaposY 4 $89 Your answer's correct, coeston 16 Which ofthe following is an example of a predefined tag? a che/> &. All of the following d. 2. Allof the above & dd. ¥ Your answers correct cussion 20 What isthe default character encoding in XML? 9. UTR b. UTF-16 UTS 4. UTF8Y Your answer's correct, cvenon21 This is a combination of th HTML and XML. a. xSD ». DD . xsuT None of the following” Your answer's correct cueion 22 All of the following statements are true except 13. XMLis used to describe data whereas HTMLis used to display data . XML stands for Extensive Markup Language ¢ XML can run on the client but not on the server d. XML al vs users to create their own tags Your answers correct, cueion 28 ‘These are used to avoid conflict among element/tag names. They make an element in an XML document unique a. XML Namespaces &. XML Attributes & XMLCDATA d. XML Entities Your answers correct, cussion 26 2. XML documents should have a root tag b. Nesting of xml elements can overlap XML elements must have a closing tag 4. XML attribute values must be in double quotes or single quotes Your answers correct, cussion 25 Which ofthe following isthe correct XML Declaration? 2. ¥_ ®. Your answers correct ‘This is the end section of CDATA ab aby < m an Your answer's correct, coesion 27 This xml component contains the details that set up an xml processor in parsing the document 2. CDATA b. DeclarationY Comments Tags and attributes Your answer's correct ‘These are used to avoid ambiguity within tags and symbols. They provide markup for special characters and characters not found on the keyboard 2. None of the above ». CDATA d. EntitiesY” Your answer's correct, cusron 29 This is a technology well-known for its “asynchronou server without having to refresh the page, nature. It can communicate, exchange data, and update the page of the RAK bo xML xsuT 4 Your answers correct union 80 are 100 ot of 100 This is the syntax for defining parts of an XML document as wel as to extract information on it. 2. XPathY) ». xSD < OD d. Xtoc Your answers core We can include a closing tag to an xml declaration 2. None of the following ©. True, because all xml tags must be closed False, because the syntax of an xml declarat It to have a closing tag n does not requir d. True, because an xml declaration is not a self-closing tag Your answers correct cuaston B2 Which ofthe following statements is not true of an xml syntax? 2. The value of attributes must be inside single quotes or double quotes. XML documents should only have one root tag. You can declare an empty tag using this format ¥ dd. is an example of an empty tag Your answers correct, coesion BB The contents of this xm! document compenent. treated as regular text ¢ skipped by the XML parser. Anything that is written inside this component is a Tags ». CDATAY None of the following dd. Attributes Your answers correct, cueion 34 Which ofthe following is correctly following the syntax of opening and closing an xml tag? a. ¥ b. « "> enote> a > Your answers correct cussion 35 All of the following are correct statements of a Document Type Definition except: 2. Ieuses a syntax similar to xml b. DTDs are simple to use but not that powerful ® DTDs are used to create valid XML documents DTDs has a way to check if an xml document follows certain rules Your answers incorrect. coesion 36 Which is not true of an xml tag and attribute 2. Attributes should appear only once inside a tag. &. Theo ing and closing tags should be identical Tags are not case sensitive cd. Attributes are declared inside the opening tag Your answers incorrect. cusion 37 ‘The predefined character entity for double quote when shortened is, 2 Bq 8 aque < Siquote 4 query Your answers correct cussion 38 This part of the xml declaration identifies the version used fer the xmi document 2. xml"1.0 xml version="UTF-16" Your answers correct, cvsion 39 Why is XML extensible? 2. None ofthe following b. Iallows you to create your own tags designed to identify, organize, and store data.¥ You can embed tags in xml that allows you to format what the dacument would look like d. Iallows you to use predefined tags Your answer's correct cueion All of the following are rules for naming xml tags and attributes except 2. XML tags and attributes cannot use the string “xm” ©. XMIL tags and attributes cannot contain dots ¢ XML tags and attributes can contain a digit letters, dots, underscore XML tags and attributes can start with a digit Your answers correct content All of the following are purposes of XML except? 2. XMLis used to layout the elements of a webpage b. XML is used to define how a web browser will format and display the content. % ¢_XMLis used as a programming language to process data over the server d._ XMLis used to describe and structure data over the internet Your answers incorrect. cotton 2 How can an xml tag attribute held a value? b. Byusing the &Byusing the: symbol By using the = symbol Your answer's correct cuter AB Which ofthe following is true in an xml declaration 2. XML declaration has no closing tag ©. We can only use double quote for the attribute elements The parameters and values in an xml declaration are not case sens d._ XML declaration can be written at the last line of the document Your answers incorrect. cosion How is HTML different from XML? 2 You can nest tags in html but you can’t nest tags in xml HITML has tags that you can create on your own HTML is used to describe data while xml is used to display data dd. XMLis designed to scribe data while HTML s intended to display data Your answer's correct, coston dS How is the XML Schema similar with DTD 2. DTDis as powerful and flexible as an XML Schema Document b. Both uses the syntax of XMLX Both are ways of describing an XML document d. None of the above Your answers incorrect. cueion 6 Which ofthe following is an example of a correct xml tag and attribute syntax? 2. « - b. All ofthe following are correct xml tag and attribute syntax 6 cd. Your answers correct cussion 7 DTDs start with this tag |. ». * <{IDOCTYPE d. . Astructured xml document &Averfied xml document d.Avalid xml document¥ Your answer's correct, cusond This xml element either modifies the default functionality of an element type or provides functionality to certain element types unable te function correctly without them. 2. CDATA Comments cAttributes¥ Tags Your answers correct, cunon 50 character entity for Greater Than when shortened is ‘The predefin 12. None of the aboveY” bale Bat d. abt Your answers correct = Announcements Jump t. Prelim Lab Exam =

You might also like