BCA Semester 3 – Web Technology – Unit 4: The Server Tier (8Hrs)
Comprehensive questions and detailed answers for Unit 4: The Server Tier (8Hrs). Perfect for exam preparation and concept clarity.
Why server side programming is important for web development? Explain with its major features.
Why session is important for web development, write a server side script to create, store, retrieve and remove session and cookies.
Explain Multi-Tier Technology with its Advantages and Disadvantages
Write a Server-Side Script for Implementing Login
List common application of web server, Explain how session works.
What is anonymous access? Discuss about Integrated windows authentication.
What is session? Explain how session works with proper example.
What is web server? Explain different functions of web server.
Write a valid and well-formed xml to store details of visitor list of ABC College with following details and validate record with following information:
- Record must include details of name, mobile, department, related contact person, date, entry time, exit time and visitor number as attribute.
- Mobile must be 10 digit. Visitor may not have any contact person.
- Record must belongs to Admin, IT, Account and Exam Department.
How does Tier Technology function inside the architectural framework of a web application?
How does a web server process and handle HTTP requests and responses with example?
Create a server site script to use cookie variables for the login and logout process without using databases.
Use server-site scripting to calculate the x using the data from two text boxes.
Given an XML document that contains a list of products with the following elements: productname, category, price, and quantity, write an XSLT stylesheet that:
- a) Filters out any products that have a quantity less than 10.
- b) Groups the remaining products by category and creates a new XML document with a new element called "category" that contains the products within that category as child elements.
- c) Within each category element, sort the products by price in descending order.
- d) Transforms the element "productname" into an attribute of each product element.
- e) Add a new element called "total-price" to each product element, which contains the total price of the product (price quantity).
Make a script for the server site to display the following data by reading from adatabase and saving any new values that the user has updated. Think about the specifications of your own database, if any.

Critically analysis the pitfall of the 3-tier technology in comparison with n-tier technology.
Define Session. Explain its use with example.
Write an example of server side script to insert data in database.
Explain the key component of XML file. Write an XML to describe "address" as an element and "state, city, municipality and house-no" as its attributes. Also define XSD for the XML file.
Write a server side script for implementing login. Your program should take username and password as input and redirect to home page if validated otherwise prints an error "try again".
Sample Questions
Why session is important for web development, write a server side script to create, store, retrieve and remove session and cookies.
Explain Multi-Tier Technology with its Advantages and Disadvantages
Write a Server-Side Script for Implementing Login
List common application of web server, Explain how session works.
And more questions available on this page.