(SEM V) THEORY EXAMINATION 2020-21 WEB TECHNOLOGY

B.Tech Engineering 0 downloads
₹29.00

WEB TECHNOLOGY (KIT501)

B.Tech (SEM-V) – AKTU


SECTION A

(Attempt all questions – 2 × 10 = 20 marks)


Q1 (a) How is an object created in Java?

In Java, an object is created using the new keyword. The new keyword allocates memory for the object and calls the constructor of the class to initialize it.
Example:
ClassName obj = new ClassName();


Q1 (b) Compare between JDK, JRE and JVM.

JDK (Java Development Kit) is used for developing Java applications and includes JRE and development tools.
JRE (Java Runtime Environment) provides libraries and environment to run Java programs.
JVM (Java Virtual Machine) executes Java bytecode and makes Java platform independent.


Q1 (c) Differentiate between HTML and XML.

HTML is used to design and display web pages, while XML is used to store and transport data.
HTML has predefined tags, whereas XML allows user-defined tags.
HTML focuses on presentation, XML focuses on data structure.


Q1 (d) Write a program with external style sheet using CSS.

An external CSS file is linked to an HTML document using the <link> tag.
The CSS file contains styling rules that can be applied to multiple web pages.


Q1 (e) Compare between Internet and WWW.

The Internet is a global network of connected computers.
The World Wide Web is a service running on the Internet that allows access to web pages using browsers.


Q1 (f) How HTTPS is different from HTTP?

HTTP transfers data in plain text and is not secure.
HTTPS uses SSL/TLS encryption to secure data, making it safe for sensitive information.


Q1 (g) Difference between JDBC and ODBC.

JDBC is a Java-based API used to connect Java applications with databases.
ODBC is language independent and can be used by various programming languages.


Q1 (h) What are JAR and Manifest files?

A JAR file is a package file format used to bundle Java classes and resources.
A Manifest file contains metadata about the JAR file such as main class and version information.


Q1 (i) Compare doGet() and doPost() method.

doGet() sends data through URL and is less secure.
doPost() sends data in request body and is more secure for sensitive data.


Q1 (j) Write difference between JSP and Servlet.

Servlets are Java programs that generate dynamic content using Java code.
JSP is easier to use for presentation and is converted internally into a Servlet.


SECTION B

(Attempt any three – 3 × 10 = 30 marks)


Q2 (a) How is exception handled in Java? Differentiate throw and throws.

Exception handling in Java is done using try, catch, finally, throw, and throws.
The try block contains risky code, catch handles exceptions, and finally executes compulsory code.

The throw keyword is used to explicitly throw an exception.
The throws keyword declares exceptions that a method may pass to the calling method.


Q2 (b) Explain HTML tags for Tables, Frames, and Forms with examples.

HTML tables are created using <table>, <tr>, <td>, and <th> tags to display data in rows and columns.
Frames divide the browser window into multiple sections using <frameset> and <frame>.
Forms are created using <form> tag and include input elements like text fields, radio buttons, and submit buttons.


Q2 (d) Write steps to connect database with web application using JDBC.

First, load the JDBC driver.
Then establish a connection using DriverManager.
Create a statement object to execute SQL queries.
Execute the query and process the result set.
Finally, close the connection.


SECTION C

(Attempt any two – one from each unit, 2 × 10 = 20 marks)


Q3 (a) What do you understand by web technology? Explain web protocols and working of HTTP.

Web technology refers to tools and technologies used to develop websites and web applications.
Protocols such as HTTP, HTTPS, FTP, and SMTP help communication over the web.

HTTP works on a request-response model where the client sends a request and the server responds with data such as HTML pages.


Q7 (a) Explain Servlets with its Life Cycle. How is it different from JSP life cycle?

A Servlet is a Java program that runs on a web server to handle client requests.
The Servlet life cycle includes loading, initialization, request handling, and destruction.

JSP life cycle is different as JSP pages are first translated into Servlets and then executed. JSP focuses more on presentation while Servlets focus on business logic.

File Size
147.48 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

Public Speaking Training Near Sector 55 Gurugram – Build Confidence, Communication & Leadership Skills Sector 55, Gurugram
Spoken English Classes Near Sector 117 Noida – Improve Fluency, Confidence and Communication Skills Noida
🇯🇵 Japanese Language Classes Near Golf Course Extension Road – Complete Guide to Learning Japanese Golf Course Ext Road, Gurugram
Dance Classes (Bollywood, Hip-Hop, Classical) Near Sector 129 Greater Noida – Learn, Express, and Stay Fit Through Dance Noida
IELTS Coaching Near Noida Sector 105 – Complete Guide for Students Preparing for Study Abroad Noida
Spoken English Classes Near By Mehrauli Build Fluency, Improve Confidence & Unlock Better Opportunities in 2026 Mehrauli, Delhi
Yoga Classes Near Saket Transform Your Mind, Body & Lifestyle with Professional Yoga Training in 2026 Saket, Delhi
Japanese Language Classes Near Uttam Nagar – Learn Japanese for Global Opportunities Uttam Nagar, Delhi
Zumba Classes Near Sector 130 Greater Noida – Enjoy Dance Fitness and Stay Active Sector 130, Noida
Video Editing Classes Near Sector 82A Gurugram – Learn Professional Editing Skills Sector 82A, Gurugram
Painting Classes Near Sector 67A Gurugram – Explore Creativity & Master Artistic Expression Sector 67A, Gurugram
Dance Classes (Bollywood, Hip-Hop, Classical) Near Palam Vihar Extension – Learn Dance with Professional Trainers New Palam Vihar, Gurugram
English Spoken Classes Near Rosewood City – Improve Your Confidence and Fluency Rosewood, Gurugram
Drum Lessons (Electronic Drums Preferred at Home) Near Sector 146 Noida – Learn Drumming with Professional Trainers Sector 146, Noida
Physiotherapy Guidance (Certified Professionals Only) Near Uppal Southend – Expert Care for Pain Relief and Recovery Uppal Southend, Gurugram
Guitar Classes Near South Extension – Professional Guitar Training in South Delhi South Extension, Delhi
History Classes Near By Dwarka Mor Build Strong Conceptual Understanding & Score High in Board Exams Dwarka Mor, Delhi
Baking Classes Near By Dwarka Mor – Learn Professional Baking Skills Dwarka Mor, Delhi
Drawing & Sketching Classes Near Sector 67 Gurugram – Nurture Creativity & Artistic Skills Sector 67, Gurugram
Voice-over Training Classes Near By Saket – Build a Powerful & Professional Voice Saket, 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