THEORY EXAMINATION (SEM–VI) 2016-17 WEB TECHNOLOGY
WEB TECHNOLOGY (ECS604)
B.Tech – Semester VI
Time: 3 Hours | Max Marks: 100
SECTION – A (10 × 2 = 20 marks)
(Attempt all questions)
(a) What is VBScript? Write a “Hello World” program in VBScript.
VBScript is a lightweight scripting language developed by Microsoft, mainly used for client-side scripting in web pages.
Program:
<script language="VBScript"> document.write("Hello World") </script>
(b) What is HTTPS? How is HTTPS different from HTTP?
HTTPS is a secure version of HTTP that uses SSL/TLS encryption to protect data transmission.
HTTPS provides data encryption, authentication, and integrity, whereas HTTP sends data in plain text.
(c) What is client-side validation? How is JavaScript used for it?
Client-side validation checks user input in the browser before sending it to the server.
JavaScript validates forms by checking fields like empty input, email format, and password length.
(d) What are the features of Java Servlets?
Java Servlets are platform-independent, secure, scalable, and efficient. They run on the server and handle client requests dynamically.
(e) What is a Form? Explain method and action attribute.
A form is used to collect user input.
The method attribute defines how data is sent (GET or POST), and the action attribute specifies the server URL that processes the data.
(f) Write a brief note on ASP.NET.
ASP.NET is a Microsoft web framework used to build dynamic web applications using languages like C# and VB.NET.
(g) What are hyperlinks in HTML? Write markup for image hyperlink.
Hyperlinks connect web pages.
Example:
<a href="home.html"> <img src="image.jpg"> </a>
(h) Write a program with external style sheet using CSS.
HTML File:
<link rel="stylesheet" href="style.css"> <h1>Hello Web</h1>
CSS File (style.css):
h1 { color: blue; }
(i) What are Entity Beans?
Entity Beans are Java Beans used in EJB to represent persistent data stored in a database.
(j) What is the use of SMTP? Where is it used?
SMTP (Simple Mail Transfer Protocol) is used to send emails over the Internet. It is used by mail servers and email applications.
SECTION – B (5 × 10 = 50 marks)
(Attempt any five questions)
2(a) Explain Java Applets and their applications.
Java Applets are small Java programs embedded in web pages that run in a browser.
They are used for animations, interactive games, graphical displays, and educational tools.
2(b) What are JAR and Manifest files? How are they accessed?
JAR files package Java classes and resources.
Manifest files contain metadata like main class and version info.
They are accessed using Java commands or browsers.
2(c) What are JSPs? Explain JSP life cycle and advantages over Servlets.
Java Server Pages are server-side programs used to create dynamic content.
Life cycle: Translation → Compilation → Initialization → Execution → Destruction.
JSPs are easier to code and maintain than Servlets because they separate presentation from logic.
2(d) Differentiate between SAX and DOM parsers.
SAX parser reads XML sequentially and uses less memory.
DOM parser loads entire XML into memory and allows random access.
SAX is faster; DOM is easier for modification.
2(e) Explain XML DTD with book catalog example.
DTD defines structure of XML.
Example:
<!DOCTYPE book [ <!ELEMENT book (title, author, price)> ]>
Rules include proper nesting, unique element names, and correct structure.
2(f) What is client-server relationship? Compare with peer-to-peer.
Client-server model has centralized server serving multiple clients.
Peer-to-peer allows direct communication between nodes without a central server.
2(g) Differentiate between Internet and WWW.
Internet is a global network; WWW is a service over Internet.
Internet services include email, FTP, VoIP, and web browsing.
2(h) Explain Java Bean introspection and persistence.
Introspection allows tools to analyze bean properties.
Persistence allows beans to save and restore state using serialization.
SECTION – C (2 × 15 = 30 marks)
(Attempt any two questions)
3. Write a note on Struts Framework.
Struts is an MVC-based Java framework for building web applications.
It separates business logic, presentation, and control.
Components include Action classes, JSP pages, and configuration files.
Struts improves maintainability and scalability.
4. Explain JDBC drivers and web database management.
JDBC drivers allow Java applications to connect with databases.
Web databases are managed using Servlets/JSP with JDBC.
Example includes login form storing user data in database.
5. Explain need of JavaScript and role of AJAX in single-page applications.
JavaScript enables dynamic content and client-side validation.
AJAX allows asynchronous server communication without page reload.
It is used in single-page applications to improve performance and user experience.
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