Skip to content
VUBuddy

CS311 Midterm Past Papers

Introduction to Web Services Development PDF 248 KBUpdated 23 Oct 2026
Midterm past paper CS311 Midterm Past Papers PDF 248 KB
vubuddy.com
Type
Midterm past paper
Course
CS311 Introduction to Web Services Development
Size
PDF 248 KB
Updated
23 Oct 2026
Free download 0 of 3 used today
Download free · 248 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 1, 2, 3 of 4. Download the file for all 4 pages.

CS311 mid term papers:

Q1. What does XML stand for?

  •  eXtensible Markup Language
  •  eXtra Modern Link
  •  Example Markup Language
  •  X-Markup Language

Q2. There is a way of describing XML data, how?

  •  XML uses a DTD to describe the data
  •  XML uses XSL to describe data
  •  XML uses a description node to describe data
  1. XML's goal is to replace HTML
  •  False
  •  True

Q4. What is the correct syntax of the declaration which defines the XML version?

Q5. What does DTD stand for?

  •  Document Type Definition
  •  Dynamic Type Definition
  •  Do The Dance
  •  Direct Type Definition

Q6. Is this a "well formed" XML document?

<note> <to> Tove</to>

</note>

  •  Yes
  •  No

Q7. Is this a "well formed" XML document?

<to> Tove</to>

  •  Yes
  •  No

Q8. Which statement is true?

  •  All the statements are true
  •  All XML elements must be properly closed
  •  All XML documents must have a DTD
  •  All XML elements must be lower case

Q9. Which statement is true?

  •  All the statements are true
  •  XML documents must have a root tag
  •  XML tags are case sensitive
  •  XML elements must be properly nested
  1. XML preserves white spaces
  •  False
  •  True

Q11. Is this a "well formed" XML document?

<note> <to age="29"> Tove</to>

</note>

  •  Yes
  •  No

Q12. Is this a "well formed" XML document?

<note> <to age=29> Tove</to>

</note>

  •  No
  •  Yes
  1. XML elements cannot be empty
  •  True
  •  False

Q14. Which is not a correct name for an XML element?

  •  <h1>
  •  <1dollar>
  •  < Note>
  •  All 3 names are incorrect

Q15. Which is not a correct name for an XML element?

  •  All 3 names are incorrect
  •  <first name>
  •  <age>
  •  <NAME>

Q16. Which is not a correct name for an XML element?

  •  All 3 names are incorrect
  •  <xmldocument>
  •  <7eleven>
  •  <phone number>
  1. XML attribute values must always be enclosed in quotes
  •  False
  •  True

Q18. What does XSL stand for?

  •  eXtra Style Language
  •  eXtensible Stylesheet Language
  •  eXtensible Style Listing
  •  eXpandable Style Language

Q19. What is a correct way of referring to a stylesheet called "mystyle.xsl" ?

  •  <?xml-stylesheet type="text/xsl" href="mystyle.xsl" ?>
  •  <link type="text/xsl" href="mystyle.xsl" />
  •  <stylesheet type="text/xsl" href="mystyle.xsl" />

Q20. For the XML parser to ignore a certain section of your XML document, which syntax is correct?

  •  <CDATA> Text to be ignored </CDATA>
  •  <xml:CDATA[ Text to be ignored ]>
  •  <PCDATA> Text to be ignored </PCDATA>
  •  <![CDATA[ Text to be ignored ]]>

Q21. Which statement is true?

  •  Attributes must occur in defined order
  •  None of the statements are true
  •  Attributes must always be present
  •  Both statements are true

Q22. What are XML entities used for?

  •  Entities define shortcuts to standard attributes
  •  Entities define shortcuts to standard text or special characters
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.