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 1 – 10 of 114 Questions
Page 1 of 12
Q1
❓ MCQ📘 CS311📑 Lec 11🏷️ 11.12. Introduction to XSLT Stylesheets and TemplatesEasy🔁⭐📄🎓VU🏛️VU
What does the abbreviation XSL stand for in XML stylesheet technologies?
  1. A.eXtra Style Language
  2. B.eXtensible Stylesheet Language
  3. C.eXtensible Style Listing
  4. D.eXpandable Style Language
Q2
❓ MCQ📘 CS311📑 Lec 11🏷️ 11.10. XML Attributes and Syntax RulesEasy🔁⭐💡📄🎓VU🏛️VU
According to XML architectural design guidelines, which component is used to add a unique label to an element, place it in a category, or associate metadata that is not part of the core data content?
💻 xml Snippet
<plants category="flowers" />
  1. A.Entity
  2. B.Attribute
  3. C.Child Element
  4. D.Processing Instruction
Q3
❓ MCQ📘 CS311📑 Lec 11🏷️ 11.10. XML Attributes and Syntax RulesEasy🔁⭐📄🎓VU🏛️VU
Which of the following represents an invalid XML element name according to XML naming specifications?
  1. A.``
  2. B.``
  3. C.``
  4. D.All 3 names are incorrect element names.
Q4
❓ MCQ📘 CS311📑 Lec 11🏷️ 11.1. Introduction to XML (Extensible Markup Language)Easy🔁⭐📄🎓VU🏛️VU
What does the acronym XML stand for in modern web and data exchange standards?
  1. A.Extensible Markup Language
  2. B.eXtra Modern Link
  3. C.Example Markup Language
  4. D.eXtensible Style Listing
Q5
❓ MCQ📘 CS311📑 Lec 11🏷️ 11.10. XML Attributes and Syntax RulesEasy🔁⭐📄🎓VU🏛️VU
What is the correct syntax of the XML declaration that defines the XML version of a document?
💻 xml Snippet
<?xml version="1.0"?>
  1. A.``
  2. B.``
  3. C.``
  4. D.``
Q6
❓ MCQ📘 CS311📑 Lec 11🏷️ 11.10. XML Attributes and Syntax RulesEasy🔁⭐💡📄🎓VU🏛️VU
True or False: In XML, all elements with attributes must have values explicitly assigned to those attributes, and minimized attributes without values are prohibited.
💻 xml Snippet
<!-- Incorrect XML -->
<option selected />
<!-- Correct XML -->
<option selected="selected" />
  1. A.True, all attributes must have explicitly assigned quoted values.
  2. B.False, minimized attributes are allowed just like in standard HTML.
Q7
❓ MCQ📘 CS311📑 Lec 11🏷️ 11.2. The Differences Between XML and HTMLEasy🔁⭐💡📄🎓VU🏛️VU
True or False: The primary architectural goal of XML is to eventually replace HTML as the standard markup language for web browsers.
  1. A.True
  2. B.False
Q8
❓ MCQ📘 CS311📑 Lec 11🏷️ 11.12. Introduction to XSLT Stylesheets and TemplatesEasy🔁⭐📄🎓VU🏛️VU
The Extensible Stylesheet Language Transformations (XSLT) is a recommendation standard designed primarily to transform and translate which category of documents?
  1. A.XML
  2. B.PDF
  3. C.DOM
  4. D.RTF
Q9
❓ MCQ📘 CS311📑 Lec 11🏷️ 11.10. XML Attributes and Syntax RulesEasy🔁⭐💡📄🎓VU🏛️VU
In XML documents, which syntactic components are declared inside the start tag of an element to provide extra, descriptive metadata or properties about that element?
💻 xml Snippet
<payment type="check" />
  1. A.Child Elements
  2. B.Attributes
  3. C.Entity References
  4. D.CDATA Sections
Q10
❓ MCQ📘 CS311📑 Lec 11🏷️ 11.12. Introduction to XSLT Stylesheets and TemplatesEasy🔁⭐💡📄🎓VU🏛️VU
Which extensible stylesheet component is used to transform an XML source-tree document into another XML, HTML, or XHTML document format recognized by standard web browsers?
💻 xml Snippet
<?xml-stylesheet type="text/xsl" href="example.xsl"?>
  1. A.XQuery
  2. B.XPath
  3. C.XSLT
  4. D.XLink