CS311 Final Term Subjective Set 2 by Muhammad Ayaz
- Type
- Final term past paper
- Course
- CS311 Introduction to Web Services Development
- Size
- PDF 317 KB
- Updated
- 23 Oct 2026
You get 3 free files a day on the website. Add the Chrome extensionSign in with the extension for 30 a day.
Preview text
Text from pages 1, 3, 4 of 12. Download the file for all 12 pages.
Q1. JAXP stands for?
Answer: Answer: Java API for XML Processing.
Q2. XSLT stands for?
Answer: Answer: Extensible Stylesheet Language Transformations.
Q3. Working of plugability layer?
Answer: Answer: Plugability layer enables components to be replaced or extended without modifying the system's core functionality.
Q4. SAX stands for?
Answer: Answer: Simple API for XML.
Q5. Name of libraries used by API?
Q6. Why is SAX preferred over DOM?
Answer: SAX is preferred over DOM for large XML documents or memoryconstrained environments due to its event-driven parsing approach.
Q7. Difference between SAX and DOM?
Answer: SAX is event-driven and reads XML sequentially without building a full in-memory representation, while DOM builds a complete in-memory representation of the XML document.
Q8. Marshaling or Unmarshaling?
Answer: Marshaling refers to converting Java objects into XML data, while unmarshaling refers to converting XML data into Java objects.
Q1. Why do we use Java JDBC?
Answer: We use Java JDBC (Java Database Connectivity) to connect and interact with relational databases from Java programs. It provides a standard API for database access, allowing Java applications to execute SQL queries, retrieve and manipulate data.
Q2. What is the connection interface?
Answer: The Connection interface in JDBC represents a connection to a database. It allows Java programs to establish a connection to a specific database and provides methods for executing SQL statements and managing transactions.
Q3. Types of JDBC drivers and advantages/disadvantages of them?
Answer: There are four types of JDBC drivers:
Type 1: JDBC-ODBC Bridge Driver
Type 2: Native-API Driver
Type 3: Network Protocol Driver
Type 4: Thin Driver
Advantages and disadvantages vary based on factors like performance, portability, and dependency on external libraries.
Q4. What is an API?
Answer: An API (Application Programming Interface) is a set of rules, protocols, and tools that allows different software applications to communicate with each other. It defines the methods and data formats that programs can use to request and exchange information.
Q5. Describe the DriverManager class.
Answer: The DriverManager class in JDBC is responsible for managing a list of database drivers. It provides methods to register and deregister drivers, establish database connections, and obtain instances of Connection objects.
Related CS311 files
All CS311 files →- CS311 Final Term Handwritten Notes by Muhammad Ayaz Final term PDF 5 MB
- CS311 Final Term Subjective by Muhammad Ayaz Final term PDF 626 KB
- CS311 Final Term MCQs Final term PDF 294 KB
- CS311 Final Term Past Papers 2019-2021 Final term PDF 175 KB
- CS311 Highlighted Handouts Highlighted PDF 7.2 MB
- CS311 Paper Questions Quiz PDF 98 KB
Get more out of VUBuddy, for free
- Unlimited downloads
- The explanation behind every MCQ answer
- Study offline on slow data
- 30 downloads a day instead of 3
- Sign in and buy Pro Semester here
One Pro Semester membership works in both the extension and the app.