Computer Knowledge
Markup and Web Languages
1,701 Questions
Test your understanding of HTML tags, XML structures, and web page creation technologies. The questions cover elements like CSS styling, parsing documents, and defining web attributes. This section is essential for candidates appearing for computer proficiency tests in various competitive exams.
HTML tags and attributesXML document parsingCSS styling levelsWeb page creation basicsBrowser compatibility
Markup and Web Languages Questions
A
Correct answer
Explanation
XML attribute values MUST always be enclosed in quotes (either single or double quotes). This is a strict requirement in XML syntax. Unquoted attributes will cause parsing errors. For example: is correct, but is invalid.
-
eXtensible Style Listing
-
eXtensible Stylesheet Language
-
eXtra Style Language
-
eXpandable Style Language
B
Correct answer
Explanation
XSL stands for eXtensible Stylesheet Language. It's a family of languages used to transform and render XML documents. XSLT (XSL Transformations) and XSL-FO (XSL Formatting Objects) are parts of the XSL family. The other options are incorrect expansions.
-
XSD is nothing but an XML with detailed specifications
-
XSD is a XML Schema file
-
XSD is derived from the XML
-
None of the above
B
Correct answer
Explanation
XSD (XML Schema Definition) is the standard XML Schema file format that defines the structure, elements, and attributes of valid XML documents. While derived from XML specifications, XSD is specifically the schema definition file itself.
-
To view XSD
-
To generate XML
-
To Validate XML
-
All of the above
D
Correct answer
Explanation
XML Spy is a comprehensive XML development tool that supports viewing XSD schemas, generating XML instance documents from schemas, and validating XML against schemas. All listed functions are core capabilities of the tool.
-
XSD is nothing but an XML with detailed specifications
-
XSD is a XML Schema file
-
XSD is derived from the XML
-
None of the above
B
Correct answer
Explanation
XSD (XML Schema Definition) is an XML Schema file that defines the structure, elements, and data types of XML documents. It's not just an XML with specifications (A), it's a schema standard, and it's not derived from XML - it defines XML.
-
To view XSD
-
To generate XML
-
To Validate XML
-
All of the above
D
Correct answer
Explanation
XML Spy is an integrated development environment for XML that supports viewing XSD files, generating XML from schemas, and validating XML against schemas. All these functions are core features of the tool.
B
Correct answer
Explanation
SmartClient cannot load PDF and Word documents in an iframe directly. While CSV and XML can be handled through data sources, PDF and Word require browser plugins or server-side conversion - SmartClient doesn't provide native iframe loading for these formats.
-
Validating a form
-
Sending a form's contents by email
-
Storing the form's contents to a database file on the server
-
None of the above
C
Correct answer
Explanation
SmartClient cannot directly store form contents to a database file on the server. It validates forms and can send data via HTTP, but server-side storage requires additional backend logic - SmartClient is client-side only.
B
Correct answer
Explanation
SmartClient primarily uses XMLHttpRequest (AJAX) for server communication. It does not support plain HTTP requests - all communication is asynchronous through XMLHTTP for its AJAX architecture.
-
<isomorphic>
-
<script>
-
<isc:Script>
-
None
B
Correct answer
Explanation
Smartclient is a JavaScript framework, and JavaScript code is always placed inside standard HTML tags. There is no special <isc:Script> tag in Smartclient.
B,C,D
Correct answer
Explanation
SQL LIKE uses % for multi-character wildcards and _ for single-character wildcards. Some databases (like Access) also support ? as a single-character wildcard. The asterisk (*) is not standard SQL LIKE syntax.
-
XQuery
-
XPath
-
XPointer
-
XLink
B
Correct answer
Explanation
XPath is a major element of the W3C XSLT standard, as it is used to navigate through elements and attributes in an XML document. XQuery, XPointer, and XLink are separate specifications.
-
XML Document
-
XHTML Document
-
XSL Document
-
XSD Document
A
Correct answer
Explanation
XPath is designed to navigate and query elements and attributes within XML documents. It provides a syntax for addressing specific parts of an XML document, making it essential for XSLT transformations and XML data manipulation.
-
different pages
-
none of these
-
files
-
elements and attributes
D
Correct answer
Explanation
XPath enables navigation through the hierarchical structure of XML elements and attributes. It uses path expressions to select nodes from an XML document, allowing precise targeting of specific elements or attributes within the tree structure.
-
PROGRAM
-
FUNCTION
-
PROCEDURE
-
SYNTAX
D
Correct answer
Explanation
XPath provides a syntax for addressing and locating nodes within XML documents. It defines a path notation that identifies specific parts of an XML structure, serving as a query language rather than a program, function, or procedure.