Computer Knowledge

Markup and Web Languages

1,492 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

Multiple choice technology web technology
  1. XSD is nothing but an XML with detailed specifications

  2. XSD is a XML Schema file

  3. XSD is derived from the XML

  4. None of the above

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology web technology
  1. To view XSD

  2. To generate XML

  3. To Validate XML

  4. All of the above

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology web technology
  1. XSD is nothing but an XML with detailed specifications

  2. XSD is a XML Schema file

  3. XSD is derived from the XML

  4. None of the above

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology web technology
  1. To view XSD

  2. To generate XML

  3. To Validate XML

  4. All of the above

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology programming languages
  1. different pages

  2. none of these

  3. files

  4. elements and attributes

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology programming languages
  1. PROGRAMS

  2. FUNCTIONS

  3. VARIABLES

  4. COMMANDS

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

XPath includes a comprehensive library of built-in functions for string operations, numeric calculations, boolean logic, and node manipulation. These functions enable complex queries and transformations within XPath expressions without requiring external programming.

Multiple choice technology programming languages
  1. XQuery 1.0 and XPath 1.0

  2. XQuery 2.0 and XPath 2.0

  3. XQuery 2.0 and XPath 1.0

  4. XQuery 1.0 and XPath 2.0

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

XQuery 1.0 and XPath 2.0 were developed collaboratively and share the XQuery 1.0/XPath 2.0 data model (XDM). They support the same function library and operators, making them compatible and allowing XPath expressions to be used within XQuery queries.

Multiple choice technology programming languages
  1. following

  2. followed

  3. ancestor

  4. attribute

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

XPath defines 13 axes including ancestor, attribute, following, and following-sibling. 'Followed' is not a valid axis name - the correct axis for selecting nodes after the current node in document order is 'following' or 'following-sibling'.

Multiple choice technology programming languages
  1. //

  2. @

  3. $
  4. /

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

To solve this question, the user needs to know the basics of XPath and its path expressions.

Now, let's go through each option and explain why it is right or wrong:

A. //: This is a valid XPath path expression which selects all the nodes with the matching name, regardless of their position in the document.

B. @: This is a valid XPath path expression which selects attributes of the selected element.

C. $: This is not a valid XPath path expression. XPath doesn't use $ to select nodes or attributes.

D. /: This is a valid XPath path expression which selects the root node of the document or the current node if used at the beginning of the expression.

Therefore, the answer is:

The Answer is: C

Multiple choice technology web technology
  1. XSL

  2. XML

  3. XHTML

  4. XSTL

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

SOAP is an XML-based protocol for exchanging information in web services. Messages are formatted as XML envelopes, making SOAP platform-independent and readable by humans while maintaining structured, validated communication between systems.