GoConqr hat ein neues Design! Sag uns, wie es dir gefällt.

Karteikarten

XML and Recursion

cwhmarjot Englisch 16 Karten

Karten in diesem Stapel (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

Informationen

Beschreibung
Karteikarten am XML and Recursion, erstellt von cwhmarjot am 28/05/2014.
Erstellt von
cwhmarjot · Mai 2014
Aktualisiert
19 Feb 2016
Aufrufe
23
Bewertung

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck