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 81 โ€“ 90 of 114 Questions
Page 9 of 12
Q81
โ“ MCQ๐Ÿ“˜ CS311๐Ÿ“‘ Lec 11๐Ÿท๏ธ 11.5. Introduction to Document Type Definition (DTD)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Which of the following describes the mechanism XML uses to define and describe the legal structure and building blocks of its data?
  1. A.XML uses a Document Type Definition (DTD) to describe and validate the data structure.
  2. B.XML uses Extensible Stylesheet Language (XSL) templates to define structural constraints.
  3. C.XML uses a description node inside the root element to validate element tags.
  4. D.XML relies on browser-side scripting files to define tag nesting rules.
Q82
โ“ MCQ๐Ÿ“˜ CS311๐Ÿ“‘ Lec 11๐Ÿท๏ธ 11.10. XML Attributes and Syntax RulesMedium๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Which of the following represents a known limitation of XML attributes compared to nested child elements when designing data-oriented schemas?
  1. A.Attributes cannot contain multiple values.
  2. B.Attributes cannot be formatted using self-closing tags.
  3. C.Attributes cannot be parsed by JavaScript client-side parsers.
  4. D.Attributes must be declared inline within element end tags.
Q83
โ“ MCQ๐Ÿ“˜ CS311๐Ÿ“‘ Lec 11๐Ÿท๏ธ 11.12. Introduction to XSLT Stylesheets and TemplatesEasy๐Ÿ”โญ๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
The Extensible Stylesheet Language Transformations (XSLT) is a W3C recommendation standard designed primarily to transform and translate 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
Q84
โ“ MCQ๐Ÿ“˜ CS311๐Ÿ“‘ Lec 11๐Ÿท๏ธ 11.7. XML Name Conflicts and NamespacesEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Which of the following mechanisms is standardly used to resolve element name conflicts when combining XML documents from different XML applications?
๐Ÿ’ป xml Snippet
<h:table xmlns:h="http://www.w3.org/TR/html4/">
  1. A.A name prefix associated with an XML Namespace
  2. B.An inline XML schema definition
  3. C.Empty element self-closing tags
  4. D.Predefined replacement entities
Q85
โ“ MCQ๐Ÿ“˜ CS311๐Ÿ“‘ Lec 11๐Ÿท๏ธ 11.6. Inline (Internal) vs External DTDsEasy๐Ÿ”โญ๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
If a Document Type Definition (DTD) is declared inline (internal subset) within an XML source document, it must be wrapped in a DOCTYPE declaration using which of the following syntaxes?
๐Ÿ’ป xml Snippet
<?xml version="1.0"?>
<!DOCTYPE note [
  <!ELEMENT note (to,from,heading,body)>
  <!ELEMENT to (#PCDATA)>
]>
  1. A.""
  2. B.""
  3. C.""
  4. D.""
Q86
โ“ MCQ๐Ÿ“˜ CS311๐Ÿ“‘ Lec 11๐Ÿท๏ธ 11.1. Introduction to XML (Extensible Markup Language)Easy๐Ÿ”โญ๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
What does the abbreviation XML stand for in modern web technology standards?
  1. A.Extensible Markup Language
  2. B.X-Markup Language
  3. C.Example Markup Language
  4. D.eXtra Modem Link
Q87
โ“ MCQ๐Ÿ“˜ CS311๐Ÿ“‘ Lec 11๐Ÿท๏ธ 11.6. Inline (Internal) vs External DTDsMedium๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Which of the following is the correct syntax to associate or link an external DTD file called 'note.dtd' to an XML document?
๐Ÿ’ป xml Snippet
<?xml version="1.0"?>
<!DOCTYPE note SYSTEM "note.dtd">
  1. A.``
  2. B.``
  3. C.``
  4. D.None of the given options
Q88
โ“ MCQ๐Ÿ“˜ CS311๐Ÿ“‘ Lec 11๐Ÿท๏ธ 11.12. Introduction to XSLT Stylesheets and TemplatesEasy๐Ÿ”โญ๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
What does the abbreviation XSLT stand for in the context of XML documents formatting and transformations?
  1. A.Extensible Stylesheet Language Templates
  2. B.Extensible Stylesheet Language Transformations
  3. C.XML Stylesheet Language Transformations
  4. D.Extensible Schema Language Transformations
Q89
โ“ MCQ๐Ÿ“˜ CS311๐Ÿ“‘ Lec 11๐Ÿท๏ธ 11.10. XML Attributes and Syntax RulesEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Which of the following statements about XML documents is TRUE?
  1. A.All XML documents must have a DTD to be valid or well-formed.
  2. B.All XML elements must be written strictly in lower-case characters.
  3. C.All XML elements must be properly closed with matching start and end tags.
  4. D.All of the above statements are true.
Q90
โ“ MCQ๐Ÿ“˜ CS311๐Ÿ“‘ Lec 11๐Ÿท๏ธ 11.10. XML Attributes and Syntax RulesEasy๐Ÿ”โญ๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
What is the correct case-sensitive syntax of the declaration statement that defines the XML version at the beginning of a document?
  1. A.``
  2. B.``
  3. C.``
  4. D.``