GoConqr has a new look! Let us know what you think.

Flashcards

XML and Recursion

cwhmarjot English 16 cards

Cards in this deck (16)

  1. 1Name 3 XML parsersSAX, STAX, DOM
  2. 2What does SAX stand for?Simple API for XML
  3. 3What does STAX stand for?STreaming API for XML
  4. 4What does DOM stand for?Document Object Model
  5. 5Benefits of STAX?Fast and straight forward to use
  6. 6What do DOM and STAX depend on?Recursion
  7. 7What is the initial state of the parser?START DOCUMENT state
  8. 8What is the next() method used for?Used to return an int value which contains an identifier for parsing events
  9. 9What parsing states can be returned?START TAG, TEXT, END TAG, END DOCUMENT
  10. 10Describe the XML structureTree structure
    One route has a number of children
    Every child has one parent
  11. 11How is the type of current event determined?By calling the getTypeMethod()
  12. 12What is Recursion?A method that calls itself
  13. 13What is indirect recursion?Method A calls method B which calls method A
  14. 14Problems with Recursion?Can potentially go forever (Stack Overflow)
  15. 15Name 3 types of recursive data structures?XML, File directories, Linked lists
  16. 16How can a recursive function be implemented?With a loop

Information

Description
Flashcards on XML and Recursion, created by cwhmarjot on 28/05/2014.
Created by
cwhmarjot · May 2014
Updated
Feb 19, 2016
Views
23
Rating

Feedback

What is it about?

What do you think of the new look?

How do you like it?