(SEM V) THEORY EXAMINATION 2019-20 WEB TECHNOLOGIES

B.Tech General 0 downloads
₹29.00

WEB TECHNOLOGIES (RCS-052)

B.Tech (SEM-V) – AKTU


SECTION A

(Attempt all questions in brief – 2 × 7 = 14 marks)


Q1 (a) Define Path in JDK. How is path different from class path?

Path in JDK is an environment variable that tells the operating system where to find executable Java tools like javac and java.
Classpath is used by JVM to locate class files and libraries required during program execution. Path is for command execution, while classpath is for program compilation and execution.


Q1 (b) Define webpage with its types. Discuss responsive webpage with example.

A webpage is a document written in HTML and accessed through a web browser.
Types of webpages include static and dynamic webpages.
A responsive webpage adjusts its layout automatically according to screen size using CSS media queries, ensuring proper display on mobile, tablet, and desktop devices.


Q1 (c) Define box model in CSS with block diagram.

CSS box model consists of content, padding, border, and margin. It defines spacing and layout of HTML elements. Content is the actual data, padding creates space inside the border, border surrounds padding, and margin creates space outside the element.


Q1 (d) Describe garbage collection and explain how it functions.

Garbage collection is an automatic memory management process in Java. It removes unused objects from memory to free space. JVM periodically identifies unreachable objects and reclaims memory without programmer intervention.


Q1 (e) Define DHTML with suitable example.

DHTML (Dynamic HTML) is a combination of HTML, CSS, JavaScript, and DOM that allows dynamic changes in web pages without reloading.
Example: Changing text color dynamically using JavaScript.


Q1 (f) Compare JDBC and ODBC. List different types of JDBC drivers.

JDBC is Java-specific API for database connectivity, while ODBC is language-independent. JDBC is platform independent and faster.

Types of JDBC drivers are:

Type-1: JDBC-ODBC bridge

Type-2: Native API driver

Type-3: Network protocol driver

Type-4: Thin driver


Q1 (g) Discuss Tomcat server. How to set classpath for servlet in Tomcat?

Apache Tomcat is a web server and servlet container used to run Java Servlets and JSP pages.
Classpath for servlet is set by placing class files in the WEB-INF/classes directory and JAR files in WEB-INF/lib folder of the web application.


SECTION B

(Attempt any three – 7 × 3 = 21 marks)


Q2 (a) Compare object-oriented programming and object-based programming with example. Also write features of OOP and demonstrate use of this keyword in Java.

Object-oriented programming supports classes, objects, inheritance, polymorphism, encapsulation, and abstraction.
Object-based programming supports objects and encapsulation but not inheritance or polymorphism.

Features of OOP include data hiding, code reusability, modularity, and flexibility.
The this keyword in Java refers to the current object and is used to differentiate instance variables from local variables.


Q2 (b) Define thread. How to create a thread in Java? Write a program that executes two threads.

A thread is a lightweight process that executes independently within a program.
Threads are created by extending Thread class or implementing Runnable interface.

One thread prints even numbers and another prints odd numbers from 1 to 5 using multithreading.


Q2 (c) Define XML. Which technologies are used? Explain the structure of XML document.

XML (Extensible Markup Language) is used to store and transport data.
Technologies include DTD, XML Schema, XPath, XSLT, and DOM.

XML structure includes declaration, root element, child elements, attributes, and content in a hierarchical format.


SECTION C

Q5 (a) Discuss AJAX. Explain applications of AJAX with suitable examples.

(7 marks)

AJAX (Asynchronous JavaScript and XML) allows web pages to update data asynchronously without reloading.
Applications include live search, auto-suggest, form validation, and real-time content updates such as Google search suggestions.


Q6 (a) Explain JDBC application architecture. List JDBC drivers. Write steps to connect database with web application using JDBC.

(7 marks)

JDBC architecture consists of Java application, JDBC API, JDBC driver, and database.
Steps include loading driver, establishing connection, creating statement, executing query, processing result, and closing connection.


Q7 (a) Explain Servlets with its life cycle. How is servlet life cycle different from JSP life cycle? Explain with example.

(7 marks)

Servlet is a Java program that handles client requests and generates dynamic responses.
Servlet life cycle includes loading, initialization, request handling, and destruction.

JSP life cycle differs as JSP pages are first translated into servlets and then compiled. JSP focuses on presentation while servlets focus on business logic.

File Size
51.62 KB
Uploader
SuGanta International

Featured educators

Meet our verified teachers

Browse profiles with clear experience, subjects, and availability—then open the full profile in SuGanta.

KISHAN KUMAR DUBEY

KISHAN KUMAR DUBEY

Sant Ravidas Nagar Bhadohi, Uttar Pradesh

This is Kishan Kumar Dubey. I have done my schooling from CBSE, graduation from CSJMU, post graduation from ASU and appear in B.Ed. from MGKVP on aided seat. I have 2 years experience in academic class (Future Shapers C...

Both Online & Offline · Member since 2026

A-Level Chemistry A-Level Mathematics

Subjects

2

Experience

5 Years

Hourly

₹201-300

Swethavyas bakka

Swethavyas bakka

Hyderabad, Telangana

I have 10+ years of experience in teaching maths physics and chemistry for 10th 11th 12th and intermediate students all my students till today are 90% grade. Even an average student got 90%

Both Online & Offline · Member since 2026

A-Level Mathematics Advanced Chemistry (Secondary) +3

Subjects

5

Experience

10 Years

Hourly

₹501-600

Vijaya Lakshmi

Vijaya Lakshmi

Hyderabad, Telangana

I am an experienced teacher ,worked with many reputed institutions Mount Carmel Convent , Chandrapur Maharashtra India, St Paul’s H.S Hyderabad, Fiitjee school Narayanaguda. I have handled students of different age gr...

Online Only · Member since 2026

A-Level Biology A-Level Physics +8

Subjects

10

Experience

30+ Years

Hourly

₹501-600

Shifna sherin F

Shifna sherin F

Gudalur, Tamilnadu

Hi, I’m Shifna Sherin! I believe that every student has the potential to excel in Math with the right guidance. I offer dedicated tutoring for 10th-grade students, covering everything from foundational basics to advanced...

Both Online & Offline · Member since 2026

Advanced Mathematics (Middle School) Advanced Mathematics (Secondary) +6

Subjects

8

Experience

5 Years

Hourly

₹401-500

Divyank Gautam

Divyank Gautam

Pune, Maharashtra

An IIT graduate having 8 years of experience teaching Maths. Passionate to understand student problems and accordingly innovate teaching methodology.

Private tutor · Member since 2026

Subjects

—

Experience

—

Status

—

Explore Tutors In Your Location

Discover expert tutors in popular areas across India

SEO Training Near Noida Sector 93 – Learn Search Engine Op... Sector 93, Greater Noida
Data Analytics Training Near Noida Sector 94 – Learn Data... Greater Noida
SEO Training Near Noida Sector 95 – Learn Search Engine Op... Greater Noida
Digital Marketing Classes Near Noida Sector 96 – Learn Mod... Greater Noida
Graphic Designing Classes Near Noida Sector 97 – Learn Cre... Sector 97, Greater Noida
Digital Marketing Classes Near Noida Sector 98 – Learn Mod... Expressway, Sector 98, Noida, Greater Noid...
Graphic Designing Classes Near Noida Sector 99 – Learn Cre... Greater Noida
App Development Classes Near Noida Sector 100 – Learn Mobi... Sector 100, Greater Noida
Web Development Classes Near Noida Sector 101 – Learn Codi... Greater Noida
App Development Classes Near Noida Sector 102 – Complete G... Greater Noida
Web Development Classes Near Noida Sector 103 – Complete G... Greater Noida
TOEFL Coaching Near Noida Sector 104 – Complete Preparatio... Sector 104, Greater Noida
IELTS Coaching Near Noida Sector 105 – Complete Guide for... Greater Noida
TOEFL Coaching Near Noida Sector 106 – Complete Guide for... Greater Noida
IELTS Coaching Near Noida Sector 107 – Expert Training for... Greater Noida
Public Speaking Training Near Sector 108 Noida – Build Con... Greater Noida
Public Speaking Training Near Sector 109 Noida – Improve C... Greater Noida
🇯🇵 Japanese Language Classes Near Sector 110 Noida – Learn... Sector 110, Greater Noida
🇪🇸 Spanish Language Classes Near Sector 111 Noida – Learn... Greater Noida
🇫🇷 French Language Classes Near Sector 112 Noida – Learn F... Greater Noida
⭐ Premium Institute Network

Discover Elite Educational Institutes

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

SHASTRI'S PHYSICS CLASSES, NAGPUR

Type

Coaching Center

SHASTRI'S PHYSICS CLASSES, NAGPUR

Nagpur, Maharashtra

Best Physics Classes in Nagpur | Shastri's Physics Classes offers expert coaching for CBSE. MS-BOARD, NEET, JEE, MHT-CET, 11th & 12th Physics. Clear concepts, regular tests & personal doubt solving. J...

Private · Est. 2021-Present

Students

51-100

Teachers

1-10

Branches

1

Réussi Academy of languages

Type

Coaching Center

Réussi Academy of languages

Geeta Bhawan Square, Indore, Madhya pradesh

Excellence in Language. Leadership in Results. With over 18 years of distinguished experience, Réussi Academy of Language stands as a trusted name in foreign language and communication training. Foun...

Private · Est. 2021-Present

Students

1-50

Teachers

1-10

Branches

1

IGS Institute

Type

Coaching Center

IGS Institute

Sector 22, Noida, Uttar Pradesh

IGS Institute provide classes for SSC, Bank, Railway, Police, NDA, Airforce Group X and Group Y, Teaching exams. IGS - Institute for Government Services providing classes since 2018 to the students.

Private · Est. 2011-2020

Students

51-100

Teachers

1-10

Branches

1

Krishna home tutor

Type

School

Krishna home tutor

New Delhi, New Delhi

Hi everyone, Krishna home tutor. Providing tutors for all subjects and classes since 2001.

Private · Est. 2001-2010

Students

201-500

Teachers

76-100

Branches

1

Edustunt Tuition Centre

Type

Coaching Center

Edustunt Tuition Centre

Hoshiarpur, Punjab

We provide online& offline tuition classes,doubt clearance sessions & exam preparation services for students from school level to university level.

Private · Est. 2021-Present

Students

1-50

Teachers

1-10

Branches

1