CS311 Midterm Past Papers
- Type
- Midterm past paper
- Course
- CS311 Introduction to Web Services Development
- Size
- PDF 248 KB
- Updated
- 23 Oct 2026
You get 3 free files a day on the website. Add the Chrome extensionSign in with the extension for 30 a day.
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
- 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
- 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
- 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>
- 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
Related CS311 files
All CS311 files →- CS311 Midterm Quiz by VUBuddy Midterm PDF 311 KB
- CS311 Midterm MCQs by Talha Sajid Midterm PDF 983 KB
- CS311 Midterm Quiz by Danish Hanif Midterm PDF 2.5 MB
- CS311 Midterm Past Paper Midterm PDF 106 KB
- CS311 Highlighted Handouts by Aila Noor Highlighted PDF 7.3 MB
- CS311 Solved Quiz 1 by VUBuddy Quiz PDF 355 KB
Get more out of VUBuddy, for free
- Unlimited downloads
- The explanation behind every MCQ answer
- Study offline on slow data
- 30 downloads a day instead of 3
- Sign in and buy Pro Semester here
One Pro Semester membership works in both the extension and the app.