Skip to content
VUBuddy

CS311 Solved Quiz 1 by VUBuddy

Introduction to Web Services Development PDF 355 KBUpdated 23 Oct 2026
Quiz CS311 Solved Quiz 1 by VUBuddy PDF 355 KB
vubuddy.com
Type
Quiz
Course
CS311 Introduction to Web Services Development
Size
PDF 355 KB
Updated
23 Oct 2026
Free download 0 of 3 used today
Download free · 355 KB

You get 3 free files a day on the website. Add the Chrome extension for 30 a day.

Unlimited downloads in the Android app Get it free on Google Play

Preview text

Text from pages 2, 3, 4 of 6. Download the file for all 6 pages.

WMIg3Q

Q3. Which component of the following JDOM Parser represents comments in a XML document?

  1. Comment
  2. Element
  3. Attribute
  4. Text

Correct answer: Comment

Q4. Which of the following is true about JDOM Praser?

  1. JDOM is an open source, java based library to parse XML document
  2. JDOM is typically jaa developer friendly API
  3. Both of the above
  4. None of the above

Correct answer: Both of the above

Q5. In which scenario(s), you will use a JDOM Parser?

  1. You need to use the information in the document more than once

WMIg3Q

b) You are java developer and want to leverage java optimized parsing of XML.

c) Both the above

d) None of the given options

Q5. Which of the following method get called at the beginning of a document in SAX parsing?

  1. startDocument()
  2. initDocument()
  3. documentStart()
  4. None of the given options

Correct answer: startDocument()

Q6. Suppose you need to develop an application that will extract a small portion of the information from a web large XML document. Memory and speed maybe constraints. Which of the following approach (method) you will use for development of you application.

  1. Use SAX

WMIg3Q

b) Use DOM c) Extract the necessary information and process using XSL-T. d) Use a schema-based approach

Q7. Which of the following statement(s) is/are true about SAX parsing?

  1. SAX parser reads an XML document from top bottom, recognizing the tokens that makeup a well-formed XML document.
  2. SAX parser reports the application program the nature of tokens that the parser has encountered as they occur.
  3. The application program provides an event handler that must be registered with the parser.
  4. All of the given options

Correct answer: All of the given options

Q8. Which of the following method get called at the end of a document in SAX parsing?

  1. endDocument()
  2. finalizeDocument()

Correct answer: endDocument()

All CS311 files →
CS311 Introduction to Web Services Development All CS311 handouts, past papers, quizzes and MCQs in one place. Open course page

Get more out of VUBuddy, for free

Android app Free on Google Play
  • Unlimited downloads
  • The explanation behind every MCQ answer
  • Study offline on slow data
Get the Android app
Chrome extension Free on the Chrome Web Store
  • 30 downloads a day instead of 3
  • Sign in and buy Pro Semester here
Add to Chrome

One Pro Semester membership works in both the extension and the app.