CS311 Mcqs MidTerm By Vu Topper RM.pdf

Verified academic study resource for CS311 (Introduction to Web Services Development) under the Computer Science at Virtual University of Pakistan. This PDF document (Midterm Solved Past Paper & Revision File) covers Mid-Term Exam Scope (Lectures 1 to 22) spanning approximately 240 pages across 4 curriculum modules, and is indexed for student examination review with instant in-browser preview and 100% free direct download.

Course
CS311 – Introduction to Web Services Development
Faculty
Computer Science
Format
PDF
Type
Midterm
Coverage
Mid-Term Exam Scope (Lectures 1 to 22)
Tags
MCQ, MIDTERM

Focus on core definitions and repeated MCQs from Lectures 1–22. Remember that scoring in the First Half builds your safety buffer toward the mandatory 20% Two-Half passing rule in CS311.

What this file covers — CS311 syllabus roadmap

  1. Core Architecture, Syntax & Primitive Data Structures — Lectures 1 to 6 (Pages 1 to 65). 15% Objective Marks (8–10 MCQs)
  2. Conditional Branching, Loops & Logical Control Flow — Lectures 7 to 12 (Pages 66 to 140). 18% Exam Marks (MCQs + 2-Mark Short Questions)
  3. Memory Management, Pointers, Arrays & Functions — Lectures 13 to 18 (Pages 141 to 215). 22% Exam Marks (High Yield for Midterms)
  4. Midterm Consolidation, Strings & Algorithm Synthesis — Lectures 19 to 22 (Pages 216 to 280). Midterm Exam Culmination (Lectures 1–22 Scope)

Frequently asked questions

Where can I download CS311 Mcqs MidTerm By Vu Topper RM.pdf for free?

You can preview and download "CS311 Mcqs MidTerm By Vu Topper RM.pdf" (CS311 PDF, ~240 pages) directly from the MIHORA VU Study Library (https://study.mihora.tech/doc/cs311-mcqs-midterm-by-vu-topper-rm-pdf) with 100% free high-speed downloads and zero registration requirements.

What syllabus chapters and lectures are covered in this CS311 file?

This document covers Mid-Term Exam Scope (Lectures 1 to 22) across 4 distinct lecture units (Lectures 1 to 6, Lectures 7 to 12, Lectures 13 to 18, Lectures 19 to 22), featuring comprehensive definitions, solved objective questions, and examiner marking rubrics.

What is the passing criteria for CS311 under the VU 20% Two-Half Rule?

Under official Virtual University regulations, students must score at least 20% in the First Half (Quizzes, Assignments, GDBs, and Midterm combined) AND independently at least 20% in the Final-Term examination paper. Scoring under 20% in the final exam results in an automatic F grade regardless of earlier marks.

Are CS311 solved past papers and handouts verified for 2026 exams?

Yes. All CS311 materials on MIHORA VU—including Moaaz, Waqar Siddhu, and team archives—are reviewed against the current VU syllabus to help students prepare for 2026 Midterm, Final-Term, and online quiz examinations.

Inside this file

 Cs-311 Important Mid Term
Mcq’s Solution 100% Correct :
  Solve By Vu-Topper RM!!

Question No:1                  (Marks:1)            Vu-Topper RM
If the node type is _______ it is an element node
1                      214

Question No:2                  (Marks:1)               Vu-Topper RM
The entity reference < represents ______ character.
&                     178

Question No:3              (Marks:1)               Vu-Topper RM
XPATH is an expression which can be used in __________.
Navigate            172

Question No:4               (Marks:1)             Vu-Topper RM
In context of XML DOM, each node is a(n) ________
Representing a part of the document       Google

Question No:5              (Marks:1)            Vu-Topper RM
When a node is removed, ___________________________.?
Removed Child()      233

Question No:6                  (Marks:1)               Vu-Topper RM
An XML document is called well-formed document if
"adheres to the syntax rules specified by the XML 1.0 specification
in that it must satisfy both physical and logical structures".
175

Question No:6                  (Marks:1)              Vu-Topper RM
------ provides extra information about XML elements.?
Attributes               177

Question No:7                (Marks:1)             Vu-Topper RM
_________ is used to transform an XML document into another XML
or HTML document.?
XSLT                   170

Question No:8                 (Marks:1)                Vu-Topper RM
Whenever we access the nodes in the node tree via the relationship
between these nodes, is called_________.
Navigating Nodes        225

Question No:9               (Marks:1)                 Vu-Topper RM
The _________ property of a node list is the number of nodes in the
list.
Length               219

Question No:10                  (Marks:1)               Vu-Topper RM
which of the following is not the building block of xml documents?
DTD                     159

Question No:11            (Marks:1)                 Vu-Topper RM
In XML the term PCDATA Stands for _________.
Parsed Character Data   178

Question No:12                 (Marks:1)              Vu-Topper RM
In a DTD, attributes are declared with an _________ declaration.
ATTLIST                  182

Question No:13                (Marks:1)              Vu-Topper RM
Which one is used to add unique label to an element?
Attributes              168

Question No:14                (Marks:1)                 Vu-Topper RM
Which of the following is used to request data from a server?
XML Http Request Object               205

Question No:15            (Marks:1)                 Vu-Topper RM
CDATA Stands for _________.
Character Data       178

Question No:16                (Marks:1)                 Vu-Topper RM
The ? sign in the example above declares that the child element
"message" can occur ____ or ____ time inside the "note" element.
zero or one time          181

Question No:17                 (Marks:1)            Vu-Topper RM
XPointer is the short name for the
Base Pointer              174

Question No:18            (Marks:1)                 Vu-Topper RM
Which property of XML document represents the root node?
The document Element property          Google

Question No:19              (Marks:1)               Vu-Topper RM
Name conflicts in XML elements can easily be avoided using _
Name prefix              161

Question No:20                     (Marks:1)          Vu-Topper RM
Use _________ keyword if you don't have an option for a default value
,but still want to force the attribute to be present.
#REQUIRED                      184

Question No:21                (Marks:1)                  Vu-Topper RM
Which of the following specifies the type of node?
Node type                  217

Question No:22                (Marks:1)                Vu-Topper RM
If the DTD is pointing to ____________ then it is called External
Subset.
External Subset             176

Question No:23                  (Marks:1)                 Vu-Topper RM
A servlet life cycle can be defined as the entire process from its creation
till the ___________.
Destruction                   268

Question No:24               (Marks:1)              Vu-Topper RM
XML often contains new line, or _______ space characters, between
nodes.
White                      222

Question No:25                (Marks:1)                 Vu-Topper RM
XML files can be stored on an Internet server exactly the same way as
_files.
HTML                        192

Question No:26              (Marks:1)                    Vu-Topper RM
How many types of cookies are in servlets? CS311
2                          294

Question No:27                  (Marks:1)            Vu-Topper RM
For all XML documents, which of the following is true?
All XML elements must have a closing tag.
All XML documents must have a DTD or an XML schema.
All XML elements must be lowercase.
All of the statements are true.

Question No:28                 (Marks:1)                Vu-Topper RM
For each question, choose the best choice out of the given choices.
What does XML stand for?
A. X-Markup Language
B. eXtra Modern Link
C. Example Markup Language
D. eXtensible Markup Language

Question No:29              (Marks:1)               Vu-Topper RM
XML’s goal is to replace HTML
A. True
B. False

Question No:30              (Marks:1)               Vu-Topper RM
What does DTD stand for?
A. Direct Type Definition
B. Document Type Definition
C. Document Type Declaration

Question No:31               (Marks:1)              Vu-Topper RM
Is this a correct XML document?
<?xml version=”1.0”?>
<to>Students</to>
<from>Teacher</from>
<heading>Reminder</heading>
<body>We are at Software Park, Thailand</body>
A. Yes
B. No

Question No:32             (Marks:1)            Vu-Topper RM
Which statement is true?
A. All XML elements must have a closing tag
B. All XML documents must have a DTD or an XML schema

C. All XML elements must be lowercase
D. All of the statements are true

Question No:33                (Marks:1)           Vu-Topper RM
Which statement is true?
A. XML tags are case sensitive
B. XML elements must be properly nested

More CS311 files

All CS311 files · Midterm Prep 2026 · MCQs Bank