0

programming languages Online Quiz - 249

Description: programming languages Online Quiz - 249
Number of Questions: 20
Created by:
Tags: programming languages
Attempted 0/20 Correct 0 Score 0

____ is a major element in the W3C's XSLT standard

  1. XQuery

  2. XPath

  3. XPointer

  4. XLink


Correct Option: B

AI Explanation

To answer this question, you need to understand the W3C's XSLT standard and its major elements. Let's go through each option to understand why it is correct or incorrect:

Option A) XQuery - XQuery is a separate language used for querying XML data. It is not a major element in the XSLT standard, so this option is incorrect.

Option B) XPath - XPath is a major element in the XSLT standard. It is a language used to navigate and select nodes in XML documents. XPath expressions are commonly used in XSLT transformations to specify the source and destination of data. Therefore, this option is correct.

Option C) XPointer - XPointer is a separate W3C recommendation that provides a framework for addressing parts of an XML document. While XPointer can be used in conjunction with XSLT, it is not a major element in the XSLT standard, so this option is incorrect.

Option D) XLink - XLink is another separate W3C recommendation that provides a way to create and manage hyperlinks in XML documents. While XLink can be used in conjunction with XSLT, it is not a major element in the XSLT standard, so this option is incorrect.

The correct answer is B) XPath. This option is correct because XPath is a major element in the XSLT standard and is used extensively in XSLT transformations.

XPath is a language for finding information in an

  1. XML Document

  2. XHTML Document

  3. XSL Document

  4. XSD Document


Correct Option: A
  1. different pages

  2. none of these

  3. files

  4. elements and attributes


Correct Option: D

XPath contains a library of standard

  1. PROGRAMS

  2. FUNCTIONS

  3. VARIABLES

  4. COMMANDS


Correct Option: B
  1. 100 built-in functions

  2. 200 built-in functions

  3. more than 100 built-in functions

  4. more than 200 built-in functions


Correct Option: A
  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


Correct Option: D
    1. November 1999
    1. November 1998
    1. November 1999
    1. November 1998

Correct Option: C

Which of these is not a valid XPath Axes ?

  1. following

  2. followed

  3. ancestor

  4. attribute


Correct Option: B

AI Explanation

To answer this question, you need to understand the concept of XPath axes. XPath axes are used to navigate through the elements and nodes in an XML document.

Let's go through each option to understand why it is correct or incorrect:

Option A) following - This option is a valid XPath axis. The "following" axis selects all the nodes that come after the current node in the document order.

Option B) followed - This option is not a valid XPath axis. There is no "followed" axis in XPath, so this option is incorrect.

Option C) ancestor - This option is a valid XPath axis. The "ancestor" axis selects all the ancestors of the current node.

Option D) attribute - This option is a valid XPath axis. The "attribute" axis selects all the attributes of the current node.

The correct answer is B) followed. This option is not a valid XPath axis because there is no "followed" axis in XPath.

Which of these are not valid path expressions of XPath ?

  1. //

  2. @

  3. $

  4. /


Correct Option: C

Java is an

  1. Subject Oriented Language

  2. Object Oriented Language

  3. testing tool

  4. Server


Correct Option: B

Operator overloading is satisfied in java by

  1. /

  2. *

  3. +

  4. None of the above


Correct Option: C

What is true?

  1. A view contains data

  2. Views can be buffered

  3. Views can not be buffered

  4. None of above


Correct Option: B

Which data type cannot be used to define parameters.

  1. Type N

  2. Type C

  3. Type F

  4. Type P


Correct Option: C
  1. Asynchronous

  2. Synchronous

  3. Synchronous and Asynchronous

  4. None of above


Correct Option: B

Command flushes the database buffers.

  1. /$TAB

  2. /$RESET

  3. /$INIT

  4. /$FREE


Correct Option: A
- Hide questions