Skip to content
VUBuddy

CS311 Midterm MCQs by Talha Sajid

Introduction to Web Services Development PDF 983 KBUpdated 23 Oct 2026
Midterm past paper CS311 Midterm MCQs by Talha Sajid PDF 983 KB
vubuddy.com
Type
Midterm past paper
Course
CS311 Introduction to Web Services Development
Size
PDF 983 KB
Updated
23 Oct 2026
Free download 0 of 3 used today
Download free · 983 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 14. Download the file for all 14 pages.

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

  1. <xml version="1.0" />
  2. <?xml version="1.0" />
  3. <?xml version="1.0"?>
  4. <?xml version="1.0" />

Correct answer: <?xml version="1.0" />

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

  1. XML uses a DTD to describe the data
  2. XML uses XSL to describe data
  3. XML uses a description node to describe data
  4. XSL uses a description node to describe data

Correct answer: XML uses a description node to describe data

Q3. XML`s goal to replace HTML?

  1. False
  2. True

Correct answer: False

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

  1. XML uses a DTD to describe the data
  2. XML uses a XSL to describe the data
  3. XML uses a description node to describe the data
  4. None of the above

Correct answer: XML uses a XSL to describe the data

Q5. XML's goal is to replace HTML

  1. False
  2. True

Correct answer: False

Q6. What does DTD stand for?

  1. Document Type Definition
  2. Dynamic Type Definition
  3. Do The Dance
  4. Direct Type Definition

Correct answer: Direct Type Definition

Q7. Which statement is true?

  1. All XML elements must be properly closed
  2. All XML documents must have a DTD
  3. All XML elements must be lower case
  4. All the statements are true

Correct answer: All XML elements must be properly closed

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

<note> · </note> · a) Yes

b) No

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

  1. Yes
  2. No

Correct answer: No

Q10. Which statement is true?

  1. All the statements are true
  2. All XML elements must be properly closed
  3. All XML documents must have a DTD
  4. All XML elements must be lower case

Correct answer: All XML elements must be properly closed

Q11. Which statement is true?

  1. All the statements are true
  2. XML documents must have a root tag
  3. XML tags are case sensitive
  4. XML elements must be properly nested

Correct answer: XML documents must have a root tag

Q12. XML preserves white spaces

  1. False
  2. True

Correct answer: False

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.