CS311 Quiz 2 by Attiq Kundi UpDated on 07-06-2023.pdf
Verified academic study resource for CS311 (Introduction to Web Services Development) under the Computer Science at Virtual University of Pakistan. This PDF document (Live Quiz Dumps & Solved Objective Bank) covers Quizzes & Objective Exam Scope spanning approximately 180 pages across 8 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
- Type
- Quiz
- Coverage
- Quizzes & Objective Exam Scope
Quiz questions often repeat with modified parameter values in both Midterm and Final exams. Practice with our 45-second timed simulator to master exam pacing.
What this file covers — CS311 syllabus roadmap
- Core Architecture, Syntax & Primitive Data Structures — Lectures 1 to 6 (Pages 1 to 65). 15% Objective Marks (8–10 MCQs)
- Conditional Branching, Loops & Logical Control Flow — Lectures 7 to 12 (Pages 66 to 140). 18% Exam Marks (MCQs + 2-Mark Short Questions)
- Memory Management, Pointers, Arrays & Functions — Lectures 13 to 18 (Pages 141 to 215). 22% Exam Marks (High Yield for Midterms)
- Midterm Consolidation, Strings & Algorithm Synthesis — Lectures 19 to 22 (Pages 216 to 280). Midterm Exam Culmination (Lectures 1–22 Scope)
- Object-Oriented Paradigms: Classes & Data Abstraction — Lectures 23 to 29 (Pages 281 to 360). 16% Final-Term Marks (Core OO Concepts)
- Inheritance Hierarchies & Dynamic Polymorphism — Lectures 30 to 36 (Pages 361 to 435). 20% Final-Term Marks (Virtual Functions & V-Tables)
- Templates, Standard Library & Persistent File I/O — Lectures 37 to 41 (Pages 436 to 510). 14% Final-Term Marks (Generic Code & Streams)
- Final-Term Examination Dossier & Capstone Synthesis — Lectures 42 to 45 (Pages 511 to 585). Final-Term Exam Synthesis (Lectures 23–45 Scope)
Frequently asked questions
Where can I download CS311 Quiz 2 by Attiq Kundi UpDated on 07-06-2023.pdf for free?
You can preview and download "CS311 Quiz 2 by Attiq Kundi UpDated on 07-06-2023.pdf" (CS311 PDF, ~180 pages) directly from the MIHORA VU Study Library (https://study.mihora.tech/doc/cs311-quiz-2-by-attiq-kundi-updated-on-07-06-2023-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 Quizzes & Objective Exam Scope across 8 distinct lecture units (Lectures 1 to 6, Lectures 7 to 12, Lectures 13 to 18, Lectures 19 to 22, Lectures 23 to 29, Lectures 30 to 36, Lectures 37 to 41, Lectures 42 to 45), 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
Quiz No.01,02
Quiz by Attiq Kundi
SUBSCRIBE “Knowledge For Us” ON YOU TUBE
100 % CORRECT MCSQ
AND Many MoRe
CS-311
Updated on 07-06-2023
All nodes have __________ parent node.
exactly one
The ____ method returns the value of an attribute.
getAttribute()
All modern browsers support the _______ specification.
W3C DOM
Why we used setAttribute() method ?
to change an attribute value
Traversing means ________ through or traveling across the node tree.
looping
XML DOM Properties These are some typical DOM properties:
x.nodeName - the name of x
x.nodeValue - the value of x
x.parentNode - the parent node of x
x.childNodes - the child nodes of x
x.attributes - the attributes nodes of x In the list above, x is a node object.
Advantages
XML DOM is language and platform independent.
XML DOM is traversable - Information in XML DOM is organized in a hierarchy which
allows developer to navigate around the hierarchy looking for specific information.
XML DOM is modifiable - It is dynamic in nature providing developer a scope to add,
edit, move or remove nodes at any point on the tree.
The ? sign in the example above declares that the child element "message" can occur zero
or one time inside the "note" element.
The * sign in the example above declares that the child element "message" can occur zero
or more times inside the "note" element.
Element nodes do not have a _____ value.
Text
the cloneNode() method has a parameter :
True or False
for all XML processors which encoding must be supported?
UTF-16
which one of the following is recommended language to style XML
elements?
XSLT
______ is used fo navigation in XML documents.
XPoiner
the operational speed of XML DOM, compared to SAX is:
slower
replaceData() method has ____ parameters :
3
which one is correct syntax to declare zero or one occurences of child
element "message":
<!ELEMENT note (message?)>
An XML file whixh contain correct syntax is caleed a ____ XML file.
Well Formed
which one of the following languages used access and manipulate
methods and properties of objects?
JavaScript
Elements with only parsed character data are declared with ____ inside
parantheses.
#PCDATA
Which of the following is representing the empty element tag?
Both <person></person>
the attributes property of an element node returns a list of attribute nodes.
This is called a named ________ .
Node map
the ____ element is the root element of every XML Schema?
<schema>
in XML schema ______ is used to indicate child elements in an element.
ComplexType
what is the description of the attribute-type NMTOKEN.
The value is a valid XML name
DOM stands for
Document Object Model
The term CDATA is used about _______ data that ushould not be parsed
by the XML parser.
Text
Node object can have ____
only one parent node object
what does XML stand for?
Extensible Markup language
XML does not help to simplify data ___
Stylish
gotElementsByTagName() method isused to access a ____
Node
Xpath is used to navigate through
Elements and attibutes
DOM is separated into _____- different parts
3
Attributes are always placed inside the ______ of an elemet.
Opening tag
Which of the following string is a correct XML element name?
_myElement
Nodes in the node list are accessed with index numbers starting from _
0
During a server request, the readyState = 3 means:
Processing request
_____ evaluates XML document as DOM structure.
Parser
The ____ method can be used to remove the specified node.
removeChild()
Converting a java object into an XML file is called _ .
Marshalling
In SAX parsing, which of the following method is used to read contents?
characters()
Which component of the following JDOM Parser represents comments in
a XML document?
Comment
Which of the following is true about JDOM Praser?
JDOM is an open source, java based library to parse XML document
JDOM is typically jaa developer friendly API
Both of the above
In which scenario(s), you will use a JDOM Parser?
You need to use the information in the document more than once.
You are java developer and want to leverage java optimized parsing of
XML.
Both the above
Which of the following method get called at the beginning of a document
in SAX parsing?
startDocument()
Which of the following statement(s) is/are true about SAX parsing?
SAX parser reads an XML document from top bottom, recognizing the
tokens that makeup a well-formed XML document.
SAX parser reports the application program the nature of tokens that the
parser has encountered as they occur.
The application program provides an event handler that must be
registered with the parser.
All of the given options
Which of the following method get called at the end of a document in
SAX parsing?
endDocument()
Converting an XML content into a Java Object is called _ .
Un-Marshalling
If the node type is it is an element node
1
The entity reference < represents character.
&
XPATH is an expression which can be used in .
Navigate
In context of XML DOM, each node is a(n)
Representing a part of the document Google
When a node is removed,-----?
Removed Child()
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".
------ provides extra information about XML elements.?
Attributes
is used to transform an XML document into another XML or
HTML document.?
XSLT
Whenever we access the nodes in the node tree via the relationship
between these nodes, is called .
Navigating Nodes
The property of a node list is the number of nodes in the
list.
Length
which of the following is not the building block of xml documents?
DTD
In XML the term PCDATA Stands for .
Parsed Character Data
More CS311 files
- CS311 Quiz 1 Solved by VU Answer.pdf (PDF · Quiz)
- CS311 Quiz 1 Solved by VU Answer.pdf (PDF · Quiz)
- CS311 Quiz-3 by Attiq Kundi-updated on 06-07-2023.pdf (PDF · Quiz)
- CS311 GDB Solution By Pin✌️.docx (DOC · Assignment)
- All Subjects Mid & Final 25000 Pdf Files.pdf (PDF · Final-Term)
- CS311 Current Final Term Paper 2022.pdf (PDF · Final-Term)
- CS311 Final Term Question File 2019, 2020, 2021.pdf (PDF · Final-Term)
- CS311 - PPTs Module (12-22).zip (ARCHIVE · Handout)