CS311 Final Term Question File 2019, 2020, 2021.pdf

Verified academic study resource for CS311 (Introduction to Web Services Development) under the Computer Science at Virtual University of Pakistan. This PDF document (Final-Term Solved Past Paper & Examination Pack) covers Final-Term Exam Scope (Lectures 23 to 45) spanning approximately 320 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
Final-Term
Coverage
Final-Term Exam Scope (Lectures 23 to 45)
Tags
FINALTERM

Virtual University regulations strictly require achieving at least 20% marks in the Final-Term exam paper alone (typically 12+ marks out of 60) to pass CS311, regardless of midterm scores.

What this file covers — CS311 syllabus roadmap

  1. Object-Oriented Paradigms: Classes & Data Abstraction — Lectures 23 to 29 (Pages 281 to 360). 16% Final-Term Marks (Core OO Concepts)
  2. Inheritance Hierarchies & Dynamic Polymorphism — Lectures 30 to 36 (Pages 361 to 435). 20% Final-Term Marks (Virtual Functions & V-Tables)
  3. Templates, Standard Library & Persistent File I/O — Lectures 37 to 41 (Pages 436 to 510). 14% Final-Term Marks (Generic Code & Streams)
  4. 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 Final Term Question File 2019, 2020, 2021.pdf for free?

You can preview and download "CS311 Final Term Question File 2019, 2020, 2021.pdf" (CS311 PDF, ~320 pages) directly from the MIHORA VU Study Library (https://study.mihora.tech/doc/cs311-final-term-question-file-2019-2020-2021-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 Final-Term Exam Scope (Lectures 23 to 45) across 4 distinct lecture units (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

                              VU Malik

70 percent paperr was easy very conceptual paper overall
Q # 1 Empty text node is problem full? which type of problem raised in this case?
Q # 2 write code in xml file to correect empty text nodes?
Q # 3 J-Dom steps?
Q # 4 steps to connect jdbc with database?
Q # 5 write 2 difference between Rpc and document style?
Q#6 Steps in JAxb
Q # 7 init method code
Q # 8 two ways of vieweed in architecture

                               VU Malik
Objective
- MCQs were mix from XML, Servelet and API.
Subjective Question:
- Write two cases in which we should use DOMParser
- Differentiate between GET and POST
- Write Servelet Methods to execute select and update query
- Write and explain steps using JDOM
+ Create a SAXBuilder
+ Create a Document from a file or stream
+ Extract the root element
- Write 5 steps to connect any java application with the database in java using
JDBC.
- Write Common feature of XML-RPC, SOAP and UDDI
- Write complete syntax of doGet(), doPost() and destry() methods
- A scenario was given. Write XML code to link style.css file and convert scenario
to XML.

Q: how Content handler is implemented
Q: marshalling(mcq) and unmarshalling
Q: servlet life cycle (mcq) =
Answer: init()->service()-->destroy()
Q: servlet call ........ method to process request(mcq)
answer= service() method
Q: service method invoke which method(mcq) ans=all
(doPut,doPost,doDelete,doGet)
Q: which server provide which jar file(mcq and 3 mark question)answer in 275
page
Q: session tracking techniques (mcq and 3 marks question= write the name three
session
tracking techqniques) page 293
Q: five steps to connect with database (page 331-332)
1->register the driver class. 2->creating statment. 3->creating connection 4-
>executing
queryies. 5->closing connection.
Q: database se connect krne or ak table ko print krane ka code likhna tha (page no.
334)
Q: WSDL stands for........(mcq)

                               VU Malik
answer at page no 338
Q: which is not the characteristic of web service.....(mcq)
Q: write the basic functionality of WSDL ,SOAP,and UDDI(3 marks) at page no
343 also in 351
Q: write the name of the three major web service architecture roles and define
them(5 marks).
page no 345
Q: in DTD what is CDATA(character data) and PCDATA(parsed character data) at
page 178

#Q:-Write the type of cookies (2)
#Q:-Write 5 steps to connect any java application with the database in java using
JDBC (5)
#Q:- Difference between RPC and Document web services. (5)
#Q:- In which cases we should use SAX-parser? (3)
#Q:-Write the Server name in which these Jar files are to be used... (5)
1) servlet-api.jar
2) weblogic.jar
3) javaee.jar
4) javaee.jar

Module# 14

Q #1 Jaxp stands for ?

Q #2 XSLT stands for?

Q #3 Working of plugability layer

Q #4 SAX stands for??

                                 VU Malik
Q #5 Name of libraries used by APi?

Q #6 why Sax is prefered over Dom?

Q #7 Difference between Sax and DOM

Q #8 Masrshaling or Unmarshaling

Module # 15

Q#1 Benefits of servlets?

Q #2 What is cookie? Advantages or disadvanatges of cookie?

Q #3 What is CGI?

Q#4 Difference between Forward() or Send Redirect() method??

Q #5 what is session tracking?

Q#6 How many ways servlet can be created?

Q #7 usage of servlet

Q #8 Discuss init() method, service()method,or destroy() method

Module # 16

Q#1 why we use java JDBC?

Q#2 what is connection interface?

Q#3 types of JDBC drivers and advanatages/disadvanatages of them?

Q#4 What is APi?

Q#5 Describe Driver manager class?

Module # 17

                              VU Malik
Q#1 what is web services??

Q#2 WSDL stands for?

Q#3 SOAP stands for?

Q#4 RDF stands for?

Q#5 RSS stands for?

Q#6 Write names of the chracteristics of web services?

Module # 18

Q#1 How many ways we view the web service architecture?

Q#2 Four layers of stack??

Q#3 BEEP stands for?

Q#4 Difference between REST Or SOAP?

Q#5 What is service??

Module # 19

Q#1 Describe JAX-Ws?

Q#2 ways to develop JAX-WS

Q#3 Difference between RPC OR document web services?

More CS311 files

All CS311 files · Midterm Prep 2026 · MCQs Bank