Friday 4 November 2011

Task 2, part 2


1.       6)    Which of the following statements are true? Select one response and write the letter
here [ c ]
a.       Special-purpose packages have been derived from HTML
b.       HTML is an application derived from XML
c.        Special-purpose markup languages have been derived from XML
d.       XML is used to create HTML


Give examples to explain your answer
XML, being inherently extensible, has indeed been used as a basis for numerous other types of documents.
One of the most obvious examples of special-purpose XML-derived markup languages is XHTML – which is a re-formulation of HTML 4 document types as applications of XML 1.0.  SVG, Scalable Vector Graphics, is a format used to represent images using vector graphics, which is also an application of XML. XML is also used, internally, for recent Microsoft document types such as docx.

1.       7)    Which of the following statements DOES NOT apply to XML?  Select one response and write the letter
here [ b ]
a.       XML is a set of rules for encoding documents electronically
b.       XML is a predecessor of SGML
c.        XML explicitly identifies the knowledge structure in the encoded document, so that software packages can use this structure
d.       XML approach allow you to specify the presentation of the document, and the hypertext links

Explain your choice
SGML is not a predecessor of SGML, to the contrary, XML was derived from SGML, as SGML was unnecessarily complex for some tasks.

1.       8)    Which of the following statements DOES NOT apply to XML?  Select one response and write the letter
here [ d  ]

a.       (a)           XML underpins the www
b.       (b)           XML underpins office apps
c.        (c)           XML supports the creation of new markup languages
d.       (d)           XML is written in Java

Give examples  to illustrate your answers
It is incorrect to say that XML is written in a specific programming language; XML is a standard, defined by the W3C. XML files are text files, which are not written in any particular programming language, and the application which consumes a particular flavor of XML files can be written in any programming language.

1.       9)    What does XIML stand for? Select one response and write the letter
here [ c  ]
a.                                            Extensible Intelligent Markup Language
b.                                            Extended Invisible Markup Language
c.                                            Extensible Interface Markup Language
d.                                            Extraterrestrial Interactive Markup Language

Explain the implications of this acronym
XIML was created to address the lack of a standardized method of representing interaction data, the data that relates to user interfaces. It is a markup language based on XML, which is extensible ( hence the ‘X’, from ‘eXtensible’ ),

1.       10)  What is the purpose of XIML? Select one response and write the letter
here [ a ]
a.       A Universal Language for User Interfaces
b.       A Markup Language Intelligent Applications
c.        A Language for Unseen Web Features
d.       A Markup Language for Extraterrestrial Maps

Why is XIML needed?
While XML provides the needed framework for creating various document types, no such framework exists for interaction data. This is the problem XIML addresses – it provides developers with a way to represent and manipulate interaction data. One of the benefits is that a XIML user interface could have multiple target displays – for example, one for the web ( which would output HTML code ), and another one for  the .NET framework on Windows – which would generate the corresponding C# code.

1.       11)  What is XUL? Select one response and write the letter
here [ b ]
a.                                            Extensible Unseen Markup Language
b.                                            XML User Interface Language
c.                                            Extensible Universal Language
d.                                            Extreme UML

Why is XUL needed?
Much like XIML, XUL is an XML-based user interface markup language, but is not standardized, and does not inter-operate with implementations other than those based on Mozilla’s Gecko layout engine.

1.       12)  What is XSL? Select one response and write the letter
here [ d ]
a.                                           As a standards language
b.                                           An alternative to XML
c.                                            Extensible Universal Language
d.                                           As a stylesheet language

Why is XSL needed?
XSL stylesheets are similar to CSS stylesheets – but instead of defining the look of a HTML document, they dictate how XML documents should be displayed. XSL also includes a transformation language, XSLT, initially intended for styling operations, but currently used for general purpose XML processing – for example, generating HTML web pages from XML files. XSL is compatible with CSS, but uses a different syntax