Java, XPath, and Database Programming Concepts

Test your knowledge of Java programming, XML/XPath query language, and database concepts including views, domains, and data types.

20 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

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

  1. XQuery
  2. XPath
  3. XPointer
  4. XLink
Question 2 Multiple Choice (Single Answer)

XPath is a language for finding information in an

  1. XML Document
  2. XHTML Document
  3. XSL Document
  4. XSD Document
Question 3 Multiple Choice (Single Answer)

XPath is used to navigate through

  1. different pages
  2. none of these
  3. files
  4. elements and attributes
Question 4 Multiple Choice (Single Answer)

XPath is a ____ for defining parts of an XML document.

  1. PROGRAM
  2. FUNCTION
  3. PROCEDURE
  4. SYNTAX
Question 5 Multiple Choice (Single Answer)

XPath contains a library of standard

  1. PROGRAMS
  2. FUNCTIONS
  3. VARIABLES
  4. COMMANDS
Question 6 Multiple Choice (Single Answer)

XPath includes over

  1. 100 built-in functions
  2. 200 built-in functions
  3. more than 100 built-in functions
  4. more than 200 built-in functions
Question 7 Multiple Choice (Single Answer)

________ share the same data model and support the same functions and operators.

  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
Question 8 Multiple Choice (Single Answer)

XPath became a W3C Recommendation on

  1. 17. November 1999
  2. 16. November 1998
  3. 16. November 1999
  4. 17. November 1998
Question 9 Multiple Choice (Single Answer)

Which of these is not a valid XPath Axes ?

  1. following
  2. followed
  3. ancestor
  4. attribute
Question 10 Multiple Choice (Single Answer)

Which of these are not valid path expressions of XPath ?

  1. //
  2. @
  3. $
  4. /
Question 11 Multiple Choice (Single Answer)

Java is an

  1. Subject Oriented Language
  2. Object Oriented Language
  3. testing tool
  4. Server
Question 12 Multiple Choice (Single Answer)

Operator overloading is satisfied in java by

  1. /
  2. *
  3. +
  4. None of the above
Question 13 Multiple Choice (Single Answer)

The default value of boolean in java is

  1. true
  2. false
  3. 1
  4. -1
Question 14 Multiple Choice (Single Answer)

If multiple inheritance is achieved through java, which is the only way to achieve it?

  1. Abstract Class
  2. Interface
  3. Final Method
  4. none of the above
Question 15 True/False

Final methods can be overriden.

  1. True
  2. False
Question 16 Multiple Choice (Single Answer)

What is true?

  1. A view contains data
  2. Views can be buffered
  3. Views can not be buffered
  4. None of above
Question 17 Multiple Choice (Single Answer)

Which data type cannot be used to define parameters.

  1. Type N
  2. Type C
  3. Type F
  4. Type P
Question 18 Multiple Choice (Single Answer)

Is Session Method, Asynchronous or Synchronous?

  1. Asynchronous
  2. Synchronous
  3. Synchronous and Asynchronous
  4. None of above
Question 19 Multiple Choice (Single Answer)

What is invalid attribute of a domain?

  1. Type
  2. Fixed values
  3. Length
  4. Header
Question 20 Multiple Choice (Single Answer)

Command flushes the database buffers.

  1. /$TAB
  2. /$RESET
  3. /$INIT
  4. /$FREE