Covers HTTP request-response architecture, servlet mapping, <servlet> and <servlet-mapping> tags, HttpServletRequest, and HttpServletResponse handling.
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.
โ MCQ๐ CS311๐ Lec 11๐ท๏ธ 11.5. Introduction to Document Type Definition (DTD)Easy๐โญ๐๐VU๐๏ธVU
In the context of XML schema declarations and document validation rules, what does the abbreviation DTD stand for?
A.Direct Type Definition
B.Document Type Definition
C.Document Type Declaration
Q22
โ MCQ๐ CS311๐ Lec 11๐ท๏ธ 11.5. Introduction to Document Type Definition (DTD)Easy๐โญ๐ก๐๐VU๐๏ธVU
What is the primary way of formally describing and verifying the structural layout, valid element tags, and legal vocabulary of an XML document?
๐ป xml Snippet
<!DOCTYPE note SYSTEM "note.dtd">
A.XML uses a Document Type Definition (DTD) to define the legal building blocks and structure of the data.
B.XML uses Extensible Stylesheet Language (XSL) to describe and store structural constraints.
C.XML uses a specialized inline description node to declare valid tags.
D.XML relies on predefined HTML tags to describe the dataset vocabulary.
Q23
โ MCQ๐ CS311๐ Lec 11๐ท๏ธ 11.1. Introduction to XML (Extensible Markup Language)Easy๐โญ๐๐VU๐๏ธVU
What does the abbreviation XML stand for in web and document development standards?
A.eXtensible Markup Language
B.eXtra Modern Link
C.Example Markup Language
D.X-Markup Language
Q24
โ MCQ๐ CS311๐ Lec 11๐ท๏ธ 11.10. XML Attributes and Syntax RulesEasy๐โญ๐ก๐๐VU๐๏ธVU
Which of the following statements is true regarding XML document structures and tag syntax rules?
A.XML tags are case-sensitive, meaning opening and closing tags must match exactly in case.
B.XML elements must be properly nested within each other.
C.All XML documents must contain exactly one root element that acts as a parent to all other elements.
D.All the statements are true.
Q25
โ 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 and data exchange standards?
A.Extensible Markup Language
B.Extra Modern Link
C.Example Markup Language
D.X-Markup Language
Q26
โ MCQ๐ CS311๐ Lec 11๐ท๏ธ 11.1. Introduction to XML (Extensible Markup Language)Mediumโญ๐ก๐๐VU๐๏ธVU
Which of the following statements represents a FALSE claim regarding the capabilities, scope, and structural design of XML?
A.XML is used to describe and represent only structured data.
B.XML can be used and transmitted only over the public Internet.
C.XML is designed to represent only simple, flat data structures.
D.All of the above statements are false.
Q27
โ MCQ๐ CS311๐ Lec 11๐ท๏ธ 11.4. XML Character Replacement Entities (less than, greater than, ampersand, etc.)Easy๐โญ๐ก๐๐VU๐๏ธVU
Some characters have a special meaning in XML (such as `<` which defines the start of a tag, or `&` which initiates an entity). In order to use these characters as text content, they must be represented by what placeholder components?
๐ป xml Snippet
<message>If temperature < 0, freeze</message>
A.XML Modifiers
B.Entity References (Entities)
C.Namespace Prefixes
D.CDATA tags
Q28
โ MCQ๐ CS311๐ Lec 11๐ท๏ธ 11.2. The Differences Between XML and HTMLEasy๐โญ๐ก๐๐VU๐๏ธVU
Which of the following statements is strictly true regarding the structural differences and tag definitions between HTML and XML?
A.Both XML and HTML utilize identical predefined tag vocabularies specified by the W3C.
B.XML is designed to describe and carry structured data using customizable tags, whereas HTML is designed to format and display data using predefined tags.
C.XML relies on browser-side scripting to compile data, while HTML operates completely independently of browser parsing engines.
D.XML and HTML are structurally identical, and XML is intended to eventually replace HTML on the web.
Q29
โ MCQ๐ CS311๐ Lec 11๐ท๏ธ 11.10. XML Attributes and Syntax RulesHard๐โญ๐ก๐๐VU๐๏ธVU
Which of the following statements is true regarding XML element attributes?
A.Attributes must occur in a strictly defined order inside the start tag.
B.Attributes must always be present on every occurrence of the element.
C.Both of these statements are true.
D.None of these statements are true.
Q30
โ MCQ๐ CS311๐ Lec 11๐ท๏ธ 11.10. XML Attributes and Syntax RulesEasy๐โญ๐ก๐๐VU๐๏ธVU
True or False: XML attribute values are strictly required to be enclosed in double quotation marks, and single quotation marks are forbidden.
๐ป xml Snippet
<!-- Both syntaxes are valid -->
<person name="Anna" />
<person name='Anna' />
A.True, double quotes are mandatory.
B.False, XML attribute values can be enclosed in either single (' ') or double (" ") quotation marks.
๐ Related CS311 - Introduction to Web Services Development Curriculum Units
Continue practicing topic-wise multiple choice questions from adjacent examination units.