Question Bank Core XML

47 651 4
Question Bank Core XML

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

A Markup Language is defined as a set of rules adding some meaning to the content and structure of documents.

Question Bank Core XML A Markup Language is defined as a set of rules adding some meaning to the content and structure of documents a) True [0.5] b) False Document Content is determined by [0.5] a) Stylistic Markup c) Structural Markup b) Semantic Markup Document Structure is determined by a) Stylistic Markup [0.5] c) Structural Markup b) Semantic Markup is a very powerful language and the mother of all markup languages a) GML c) SGML b) CGML d) HTML HTML provides the advantage of creating customized tags making it easier for the users to create their own tags a) True b) True [0.5] False Data in HTML cannot be structured a) [0.5] [0.5] b) False HTML linking is one to one and is hardcoded in the HTML file This [0.5] indicates that HTML has a robust linking mechanism which is an advantage of using HTML a) True b) False XML is a Meta-Language Select the option which best describes the statement given above a) A language in a language [0.5] c) Describes other languages b) An application of SGML XML data can be embedded in HTML a) True 10 b) False In a 3-tier model identify the front-end, middle-tier and back-end a) Browser, Database Server, WebServer [0.5] [0.5] c) Browser, WebServer, Database Server b) WebServer, Browser, Database Server 11 The structure of XML is much more powerful than [0.5] _ data formats a) 12 tree-based, fixed-length b) tree-based, fixed-length IE5 has an inbuilt XML Parser called a) GSXML b) MSXML [0.5] c) UXML 13 The 'standalone' attribute can be set to a) 14 Yes/No b) True/False XML allows creation of multiple root elements a) True 15 [0.5] [0.5] b) False Primary requirements of an interoperable system were: [1.0] a) Specific rules were created c) Common format should be for the format of the specific to their domains document b) The document processing d) The document processing programs should support programs should support a different document formats common document format 16 Logical structure of data can be interpreted and used in many ways by [1.0] various applications due to XML tags a) 17 True Using DTD, _ parser checks for validity a) Non-Validating 18 b) False b) Validating Markup includes [1.0] a) Comments c) References b) Instructions d) All of the above c) DTD's [1.0] 19 20 21 22 23 All processing instructions begin and end with a) c) b) d) WML for handheld devices is written in XML a) 33 35 True True [1.5] b) False Which of the following statement/s are true? a) XML elements must be properly nested c) XML tags are case sensitive b) XML documents must have a root tag d) All the above statements are true XML elements cannot be empty a) True [1.5] b) False Elements inside the root are termed as child elements a) 34 [1.5] b) False [1.5] 36 Attribute values must always be enclosed by double quotes a) True 37 38 False Difference between XML and HTML [2.0] a)* XML was designed to describe data and focus on what data is c) XML was designed to display data and focus on how data looks b) d) HTML was designed to describe data and focus on what data is HTML was designed to display data and focus on how data looks Identify if the following XML document code is valid Joe John Reminder Dont forget me this weekend! a) 39 b) Valid [1.5] [2.0] b) Invalid Identify if the following XML document code is valid [2.0] Joe John Reminder Dont forget me this weekend! a) Valid 40 b) Invalid XML provides a software and hardware independent way of sharing data a) True b) False [2.0] 41 Identify if the following code is correct? [2.0] This text is bold and italic a) Correct 42 43 44 Identify the line/s containing an error 1) 2) 3)Ravi 4)Amit 5)Reminder 6)Make good food please 7) a) Line c) Line b) Line d) Line Match the correct entity names with the respective characters a) & 1) < b) > 2) ' c) " 3) > d) < 4) " e) ' 5) & a) a-4 ,b-3 ,c-2 ,d-5 ,e-1 c) a-3 ,b-2 ,c-1 ,d-4 ,e-5 b) a-5 ,b-3 ,c-4 ,d-1 ,e-2 d) a-1 ,b-2 ,c-5 ,d-4 ,e-3 [2.0] [2.0] CDATA is text that will be parsed by parser Identify whether the statement is valid a) Valid 45 b) Incorrect b) Not Valid End of a CDATA block is characterized by the character string a) ':' c) '))' [2.0] b) ';' 46 47 XML documents referencing the DTD will contain the declaration which specifies the location of an external DTD a) c) b) d) External DTD is referenced at the beginning of the XML file a) 48 True b) False True [0.5] b) False An attribute is another name for stating property of an element a) 52 [0.5] b) False The "+" sign indicates that the child element 'message' must occur at least once inside the element a) True 51 [0.5] Child elements declared in a sequence need not appear in the [0.5] document in the same sequence a) True 50 [0.5] b) False ANY indicates that an element can contain only one child element of character data a) True 49 d) ']]' [0.5] b) False In DTD, XML element attributes are declared with a/an _ [0.5] declaration 53 a) ENTITY c) ELEMENT b) ATTLIST d) DOCTYPE 'NMTOKENS' a) The value is a list of other ids [0.5] c) The value is a list of valid XML names b) The value is a list of other d) The value is the name of a entities notation 54 55 An attribute which does not have to included is indicated by the value: a) #DEFAULT value c) #IMPLIED b) #REQUIRED d) #FIXED value The width attribute has a default value of a) True 56 b) False b) False URL includes URI and URN a) True 58 [0.5] Documents that follow the XML tag rules, but don't have a DTD are [0.5] well-formed documents a) True 57 [0.5] [0.5] b) False Internal DTD and XML code are stored in a document with the file [1.0] extension ... structure of XML is much more powerful than [0.5] _ data formats a) 12 tree-based, fixed-length b) tree-based, fixed-length IE5 has an inbuilt XML Parser called a) GSXML b) MSXML [0.5] c) UXML 13... All XML elements must be c) lower case All XML elements must have a closing tag b) All XML documents must have a DTD d) All the above statements are true Syntax for an XML declaration is a) < /xml. .. declaration is a) < /xml version="1.0"?> c) < ?xml version="1.0"/> b) < \xml version=:"1.0"?> d) < ?xml version="1.0"?> WML for handheld devices is written in XML a) 33 35 True True [1.5] b) False Which

Ngày đăng: 09/04/2013, 09:10

Từ khóa liên quan

Tài liệu cùng người dùng

  • Đang cập nhật ...

Tài liệu liên quan