Ch 11: Introduction to Java Servlets

114 Questions114 MCQs0 Short Questions0 Long Questions
๐ŸŽฏ Exam Practice Papers
SEMESTER PASS

CS311 - Introduction to Web Services Development Examination Practice

Timed practice exam simulation for CS311 - Introduction to Web Services Development.

๐Ÿ“˜ VU MID TERM EXAMLectures 1 to 22
โฑ๏ธ 60 Mins

Mid Term Examination

Covers syllabus of Lectures 1 to 22 with 30 high-yield MCQs in a timed exam environment.

๐Ÿ“30 MCQs
โฑ๏ธ60 Minutes
๐Ÿ“— VU FINAL TERM EXAMLectures 23 to 45
โฑ๏ธ 90 Mins

Final Term Examination

Comprehensive semester exam preparation with 45 MCQs covering Lectures 23 to 45 with complete course coverage.

๐Ÿ“45 MCQs
โฑ๏ธ90 Minutes
Showing 71 โ€“ 80 of 114 Questions
Page 8 of 12
Q71
โ“ MCQ๐Ÿ“˜ CS311๐Ÿ“‘ Lec 11๐Ÿท๏ธ 11.12. Introduction to XSLT Stylesheets and TemplatesEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Which of the following standards is used to transform the structure and elements of an XML source-tree document into another XML, HTML, or XHTML document?
  1. A.XSLT
  2. B.XPath
  3. C.DTD
  4. D.XML Schema
Q72
โ“ MCQ๐Ÿ“˜ CS311๐Ÿ“‘ Lec 11๐Ÿท๏ธ 11.10. XML Attributes and Syntax RulesEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Which of the following statements is strictly true regarding standard W3C XML syntax specifications?
๐Ÿ’ป xml Snippet
<p>This is a paragraph.</p>
  1. A.All XML documents must contain an associated DTD or Schema to be parsed.
  2. B.All XML elements must have a corresponding closing tag (or be self-closing).
  3. C.All XML element names must be written entirely in lowercase characters.
  4. D.All of the statements are true.
Q73
โ“ MCQ๐Ÿ“˜ CS311๐Ÿ“‘ Lec 11๐Ÿท๏ธ 11.10. XML Attributes and Syntax RulesMedium๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Which of the following options lists element names that are ALL invalid according to XML 1.0 specifications?
  1. A.```, ``, and ```
  2. B.```, ``, and ```
  3. C.```, `<_item>`, and ```
  4. D.All of the above options contain only invalid names.
Q74
โ“ MCQ๐Ÿ“˜ CS311๐Ÿ“‘ Lec 11๐Ÿท๏ธ 11.12. Introduction to XSLT Stylesheets and TemplatesMedium๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
What is the correct processing instruction syntax for linking an external XSLT stylesheet named 'mystyle.xsl' to an XML document?
๐Ÿ’ป xml Snippet
<?xml-stylesheet type="text/xsl" href="mystyle.xsl"?>
  1. A.``
  2. B.``
  3. C.``
  4. D.``
Q75
โ“ MCQ๐Ÿ“˜ CS311๐Ÿ“‘ Lec 11๐Ÿท๏ธ 11.12. Introduction to XSLT Stylesheets and TemplatesEasy๐Ÿ”โญ๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
XSLT is essentially a tool designed for transforming and translating which category of documents?
  1. A.XML Documents
  2. B.PDF Documents
  3. C.W3C DOM binary trees
  4. D.Rich Text Format (RTF) files
Q76
โ“ MCQ๐Ÿ“˜ CS311๐Ÿ“‘ Lec 11๐Ÿท๏ธ 11.5. Introduction to Document Type Definition (DTD)Easy๐Ÿ”โญ๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
What is the correct syntax for the opening delimiter of a Document Type Declaration (DTD) in an XML document?
๐Ÿ’ป xml Snippet
<!DOCTYPE note SYSTEM "note.dtd">
  1. A.`
  2. B.`
  3. C.`[`
  4. D.`{`
Q77
โ“ MCQ๐Ÿ“˜ CS311๐Ÿ“‘ Lec 11๐Ÿท๏ธ 11.10. XML Attributes and Syntax RulesEasy๐Ÿ”โญ๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
According to W3C XML naming rules, which of the following represents an invalid name for an XML element?
  1. A.``
  2. B.``
  3. C.``
  4. D.All 3 names are incorrect element names.
Q78
โ“ MCQ๐Ÿ“˜ CS311๐Ÿ“‘ Lec 11๐Ÿท๏ธ 11.13. XPath, XPointer, XLink, and XQueryEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Which of the following standards utilizes path expressions to select nodes or node-sets and is used for navigation within XML documents?
  1. A.XPointer
  2. B.XQuery
  3. C.XLink
  4. D.XPath
Q79
โ“ MCQ๐Ÿ“˜ CS311๐Ÿ“‘ Lec 11๐Ÿท๏ธ 11.10. XML Attributes and Syntax RulesEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In XML document modeling, which of the following components can be used to add a unique label, categorize an element, or attach a Boolean flag to a specific element?
๐Ÿ’ป xml Snippet
<plants category="flowers" />
  1. A.Attribute
  2. B.DTD Definition
  3. C.XLink element
  4. D.XPointer scheme
Q80
โ“ MCQ๐Ÿ“˜ CS311๐Ÿ“‘ Lec 11๐Ÿท๏ธ 11.13. XPath, XPointer, XLink, and XQueryEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Which of the following parts of the Extensible Stylesheet Language (XSL) specification family is designed to query and retrieve structured data from XML documents?
  1. A.XQuery
  2. B.XPath
  3. C.XLink
  4. D.XPointer