Automata Theory Multiple Choice Questions on “Markup Languages”.
1. XML is a _________ markup language.
a) meta
b) beta
c) octa
d) peta
Answer: a
Clarification: Generally speaking, a meta language is a language used to describe a language. XML is a metalanguage that is used to describe a markup language.
2. XML uses _________ principle to formally describe the data.
a) DDL
b) DTD
c) DML
d) None of the mentioned
Answer: b
Clarification: A document type definition (DTD) is a set of markup declarations that define a document type for an SGML-family markup language (SGML, XML, HTML). A Document Type Definition (DTD) defines the legal building blocks of an XML document. It defines the document structure with a list of legal elements and attributes.
3. Which among the following are true for an Extensible markup language?
a) Human Readable/ Machine Readable
b) Extended from SGML
c) Developed by www consortium
d) All of the mentioned
Answer: d
Clarification: XML is an open format markup language with a filename extension of .xml.
4. Which of them have XML as their default format?
a) IWork
b) LibreOffice
c) OpenOffice
d) All of the mentioned
Answer: d
Clarification: More that hundred of document formats using XML syntax have been developed, including RSS, Atom, SOAP and XHTML.
5. A DTD is associated with a XML file by means of ___________
a) Function
b)
c) Macros
d) None of the mentioned
Answer: b
Clarification: A document type definition defines the legal building blocks of an XML document .
6. Which of the following is not an example of electronic mark up?
a) HTML
b) LaTeX
c) PostScript
d) None of the mentioned
Answer: d
Clarification: There are three categories of electronic markup: presentational, procedural, and descriptive markup. Examples are XML, HTML, LaTeX, etc.
7. troff and nroff are _________ in Unix.
a) functions
b) typesetting tools
c) System sofwares
d) None of the mentioned
Answer: b
Clarification: Early examples of computer markup languages can be found in typesetting tools like troff and nroff in Unix.
8. SGML stands for:
a) Standard Generalized Markup Language
b) Standardized General Markup Language
c) Standard General Markup Language
d) Standard Generalized Markdown Language
Answer: a
Clarification: SGML is an acronym for Standard Generalized Markup Language.
9. Markup Languages are not used for which of the following?
a) playlists
b) content syndication
c) user interfaces
d) none of the mentioned
Answer: d
Clarification: Markup languages originated with text documents, but there is an increasing use of mark up language in presentation of other types of information, including playlists, vector graphics, user interfaces and web services.
10. Which of the following is incorrect for HTML5 markup construct?
a) Start tags:
c) ABC
d) None of the mentioned
Answer: d
Clarification: All the mentioned options are valid HTML5 arguments and executes properly.