(SEM VI) THEORY EXAMINATION 2021-22 WEB TECHNOLOGY
WEB TECHNOLOGY (KCS602) – Section-Wise Exam Notes
SECTION A – Short Answer Notes (2 Marks Each)
1. Thread in Java & Ways to Create Thread
A thread is a lightweight process used to achieve multitasking.
Threads allow multiple tasks to run simultaneously within a program.
Ways to create thread:
By extending Thread class By implementing Runnable interface
2. Life Cycle of Applet
The applet life cycle consists of:
init() – Initializes the applet start() – Starts execution
paint() – Displays output stop() – Stops execution
destroy() – Removes applet from memory
3. Advantages of CSS
CSS separates content from presentation, improves page loading speed, ensures consistency across pages, and simplifies website maintenance.
4. Creating Object in JavaScript
An object can be created using: Object literal
new Object() Constructor function
Example: let car = { brand: "Audi", model: "A6" };
5. Difference Between HTML and XML
HTML is used to design web pages and has predefined tags, whereas XML is used to store and transport data and allows user-defined tags.
6. ResultSetMetaData Interface
ResultSetMetaData provides information about database result sets such as column count, column name, and data type.
7. Implicit Objects in JSP
JSP provides built-in objects like request, response, session, application, out, and config for easy server-side programming.
8. Web Server vs Application Server
A web server handles HTTP requests, while an application server executes business logic and supports enterprise applications.
9. Directory Structure of Web Application
Key folders include: WEB-INF
classes lib
web.xml
10. Characteristics of JavaBeans
JavaBeans are reusable components, follow getter/setter methods, are serializable, and have a no-argument constructor.
SECTION B – Long Answer Notes (10 Marks)
1. Features of Java Programming Language
Java is platform-independent, object-oriented, secure, robust, multithreaded, and supports automatic memory management through garbage collection.
2. CSS Rule for Font Scaling & Integration
CSS example:
body { font-size: 200%; } CSS can be integrated using:
Inline CSS Internal CSS
External CSS
3. AJAX – Working & Applications
AJAX allows web pages to update asynchronously without refreshing the page.
It uses JavaScript, XML/JSON, and HTTP requests.
Used in live search, form validation, and dynamic content loading.
4. Advantages of Servlet Over CGI
Servlets are faster, platform-independent, support multithreading, and consume less memory compared to CGI programs.
5. Using Beans in JSP
JavaBeans are used in JSP for separating logic from presentation.
They are accessed using <jsp:useBean> and <jsp:getProperty> tags.
SECTION C – Descriptive / Program-Based Answers (10 Marks)
1. Procedural vs Object-Oriented Programming
Procedural programming focuses on functions, whereas OOP focuses on objects.
OOP supports inheritance, polymorphism, encapsulation, and abstraction.
2. Inheritance & Multiple Inheritance in Java
Inheritance allows one class to acquire properties of another.
Java does not support multiple inheritance using classes to avoid ambiguity but supports it using interfaces.
3. HTML Registration Form
Includes input fields like name, DOB, gender, email, and mobile number using <form>, <input>, and <select> tags.
4. XML DTD for Weather Report
DTD defines structure of XML elements like date, location, temperature range, city, state, and country.
5. JavaScript Program for Date & Time
Uses Date() object to display current date and time dynamically.
6. JDBC Drivers
Types of drivers:
Type 1 – JDBC-ODBC Bridge Type 2 – Native API
Type 3 – Network Protocol Type 4 – Thin Driver
7. Session Tracking Techniques
Includes cookies, URL rewriting, hidden fields, and HttpSession object.
8. Servlet & Types
Servlet is a server-side Java program.
Types include: GenericServlet
HttpServlet
Related Notes
BASIC ELECTRICAL ENGINEERING
ENGINEERING PHYSICS THEORY EXAMINATION 2024-25
(SEM I) ENGINEERING CHEMISTRY THEORY EXAMINATION...
THEORY EXAMINATION 2024-25 ENGINEERING MATHEMATICS...
(SEM I) THEORY EXAMINATION 2024-25 ENGINEERING CHE...
(SEM I) THEORY EXAMINATION 2024-25 ENVIRONMENT AND...
Need more notes?
Return to the notes store to keep exploring curated study material.
Back to Notes StoreLatest Blog Posts
Best Home Tutors for Class 12 Science in Dwarka, Delhi
Top Universities in Chennai for Postgraduate Courses with Complete Guide
Best Home Tuition for Competitive Exams in Dwarka, Delhi
Best Online Tutors for Maths in Noida 2026
Best Coaching Centers for UPSC in Rajender Place, Delhi 2026
How to Apply for NEET in Gurugram, Haryana for 2026
Admission Process for BTech at NIT Warangal 2026
Best Home Tutors for JEE in Maharashtra 2026
Meet Our Exceptional Teachers
Discover passionate educators who inspire, motivate, and transform learning experiences with their expertise and dedication
Explore Tutors In Your Location
Discover expert tutors in popular areas across India
Discover Elite Educational Institutes
Connect with top-tier educational institutions offering world-class learning experiences, expert faculty, and innovative teaching methodologies