(SEM VI) THEORY EXAMINATION 2021-22 WEB TECHNOLOGY

B.Tech Engineering 0 downloads
₹29.00

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

File Size
128.97 KB
Uploader
SuGanta International
⭐ Elite Educators Network

Meet Our Exceptional Teachers

Discover passionate educators who inspire, motivate, and transform learning experiences with their expertise and dedication

KISHAN KUMAR DUBEY

KISHAN KUMAR DUBEY

Sant Ravidas Nagar Bhadohi, Uttar Pradesh , Babusarai Market , 221314
5 Years
Years
₹10000+
Monthly
₹201-300
Per Hour

This is Kishan Kumar Dubey. I have done my schooling from CBSE, graduation from CSJMU, post graduati...

Swethavyas bakka

Swethavyas bakka

Hyderabad, Telangana , 500044
10 Years
Years
₹10000+
Monthly
₹501-600
Per Hour

I have 10+ years of experience in teaching maths physics and chemistry for 10th 11th 12th and interm...

Vijaya Lakshmi

Vijaya Lakshmi

Hyderabad, Telangana , New Nallakunta , 500044
30+ Years
Years
₹9001-10000
Monthly
₹501-600
Per Hour

I am an experienced teacher ,worked with many reputed institutions Mount Carmel Convent , Chandrapu...

Shifna sherin F

Shifna sherin F

Gudalur, Tamilnadu , Gudalur , 643212
5 Years
Years
₹6001-7000
Monthly
₹401-500
Per Hour

Hi, I’m Shifna Sherin! I believe that every student has the potential to excel in Math with the righ...

Divyank Gautam

Divyank Gautam

Pune, Maharashtra , Kothrud , 411052
3 Years
Years
Not Specified
Monthly
Not Specified
Per Hour

An IIT graduate having 8 years of experience teaching Maths. Passionate to understand student proble...

Explore Tutors In Your Location

Discover expert tutors in popular areas across India

🇯🇵 Japanese Language Classes Near Golf Course Extension Road – Complete Guide to Learning Japanese Golf Course Ext Road, Gurugram
Spanish Language Classes Near Sector 43 Gurugram – Learn Spanish with Expert Trainers Sector 43, Gurugram
Language Classes Near Tilak Nagar – Learn, Speak & Grow with Confidence Tilak Nagar, Delhi
Spoken English Classes Near By Malviya Nagar Build Confidence, Improve Fluency & Unlock Career Opportunities in 2026 Malviya Nagar, Delhi
Guitar Classes Near Chhatarpur – Professional Guitar Training in South Delhi Chhatarpur, Delhi
Candle Making Classes Near Sector 83 Gurugram – Learn the Art of Handmade Candles Gurugram
Guitar Classes Near Central Noida Sector 10 – Learn Guitar with Expert Trainers A Block Sector 10, Noida
Spoken English Classes Near By Kirti Nagar Improve Fluency, Build Confidence & Unlock Career Opportunities in 2026 Kirti Nagar, Delhi
Physiotherapy Guidance (Certified Professionals Only) Near Uppal Southend – Expert Care for Pain Relief and Recovery Uppal Southend, Gurugram
IELTS / TOEFL Coaching Near Uttam Nagar – Achieve Your Study Abroad Dream Uttam Nagar, Delhi
Meditation Coaching Near By Nangloi – Find Inner Peace & Mental Clarity Nangloi, Delhi
Dance Classes (Bollywood, Hip-Hop, Classical) Near Sohna Road – Learn, Perform & Shine Sohna Road, Gurugram
App Development Classes Near Noida Sector 102 – Complete Guide to Build Your Career in Mobile App Development Noida
Maths Coaching Near Sector 88 Gurugram – Build Strong Concepts, Improve Scores, and Gain Confidence Sector 88, Gurugram
Yoga Classes Near Hauz Khas Experience Holistic Wellness, Strength & Inner Balance in 2026 Hauz Khas, Delhi
Harmonium Classes Near Sushant Lok Phase 1 – Learn Classical Music with Confidence Sushant Lok Phase 1, Gurugram
Meditation Coaching Near Sohna Road – Discover Peace, Focus, and Mental Balance Sohna Road, Gurugram
Hindi Coaching Classes Near By Dwarka Mor Build Strong Language Skills Dwarka Mor, Delhi
Spoken English Classes Near By Green Park Build Fluency, Confidence & Professional Communication Skills in 2026 Green Park, Delhi
Spoken English Classes Near By Greater Kailash Improve Fluency, Build Confidence & Unlock Career Opportunities in 2026 Greater Kailash, Delhi
⭐ Premium Institute Network

Discover Elite Educational Institutes

Connect with top-tier educational institutions offering world-class learning experiences, expert faculty, and innovative teaching methodologies

Réussi Academy of languages

sugandha mishra

Réussi Academy of languages
Madhya pradesh, Indore, G...

Details

Coaching Center
Private
Est. 2021-Present

Sugandha Mishra is the Founder Director of Réussi Academy of Languages, a premie...

IGS Institute

Pranav Shivhare

IGS Institute
Uttar Pradesh, Noida, Sec...

Details

Coaching Center
Private
Est. 2011-2020

Institute For Government Services

Krishna home tutor

Krishna Home tutor

Krishna home tutor
New Delhi, New Delhi, 110...

Details

School
Private
Est. 2001-2010

Krishna home tutor provide tutors for all subjects & classes since 2001

Edustunt Tuition Centre

Lakhwinder Singh

Edustunt Tuition Centre
Punjab, Hoshiarpur, 14453...

Details

Coaching Center
Private
Est. 2021-Present
Great success tuition & tutor

Ginni Sahdev

Great success tuition & tutor
Delhi, Delhi, Raja park,...

Details

Coaching Center
Private
Est. 2011-2020