S.No Module #
S.No Module #
No Module #
MODULE 1
1 1
2 1
3 1
4 1
5 1
6 1
7 1
8 1
9 1
10 1
11 1
12 1
13 1
14 1
15 1
16 1
17 1
18 1
19 1
20 1
21 1
22 1
23 1
24 1
25 1
26 1
27 1
28 1
29 1
30 1
31 1
32 1
33 1
34 1
35 1
36 1
37 1
38 1
39 1
40 1
41 1
42 1
43 1
44 1
45 1
46 1
47 1
48 1
49 1
50 1
51 1
52 1
53 1
54 1
55 1
56 1
57 1
58 1
59 1
60 1
61 1
62 1
63 1
64 1
65 1
66 1
67 1
68 1
69 1
70 1
71 1
72 1
73 1
74 1
75 1
76 1
77 1
78 1
79 1
80 1
MODULE 2
1 2
2 2
3 2
4 2
5 2
6 2
7 2
8 2
9 2
10 2
11 2
12 2
13 2
14 2
15 2
16 2
17 2
18 2
19 2
20 2
21 2
22 2
23 2
24 2
25 2
26 2
27 2
28 2
29 2
30 2
31 2
32 2
33 2
34 2
35 2
36 2
37 2
38 2
39 2
40 2
41 2
42 2
43 2
44 2
45 2
46 2
47 2
48 2
49 2
50 2
51 2
52 2
53 2
54 2
55 2
56 2
57 2
58 2
59 2
60 2
61 2
62 2
63 2
64 2
65 2
66 2
67 2
68 2
69 2
70 2
71 2
MODULE 3
1 3
2 3
3 3
4 3
5 3
6 3
7 3
8 3
9 3
10 3
11 3
12 3
13 3
14 3
15 3
16 3
17 3
18 3
19 3
20 3
21 3
22 3
23 3
24 3
25 3
26 3
27 3
28 3
29 3
30 3
30 3
CSE2067- WEB TECHNOLOGIES
Question Bank
MODULE 1
Define the World Wide Web (WWW). L1
What is a web browser? Give two examples. L2
What is the primary function of a web server? L1
Explain the term "Internet." L2
What does XHTML stand for? L1
Give one key difference between HTML and XHTML. L2
Define basic text markup. L1
What is the purpose of hypertext links in a web page? L2
What is an HTML tag? Provide an example. L2
Explain the purpose of the <head> element in an HTML document. L2
What is the purpose of the <!DOCTYPE> declaration in XHTML? L2
Name the main sections of a standard XHTML document. L2
What is the purpose of the <strong> tag? L1
How do you create a paragraph in HTML? L1
How do you insert an image in an HTML document? L2
ABC supermarket wants to get customer feedback. Write an HTML code to generate the
following output. Design an HTML form to take the information of a customer visiting a
departmental store such as name, contact phone no, preferred days of purchasing, favorite item L3
(to be selected from a list of items), suggestions, etc. One should provide a button to Submit as
well as Reset the form contents.
Design a static web page for Travel reservation form. Design an HTML form to take the
information of a traveler like Full Name, Email address, Select Tour package (select place
using drop down list), Arrival Date, No. of persons, what would you like to avail? [use
check box to list Boarding, Fooding, sight-seeing], Discount coupon code, Terms and
conditions [use radio buttons: I agree, I disagree] and complete reservation button using
button tag. L3
Choice Facilities
1 Checking PNR Status
2 Booking ticket
3 Ticket Cancellation
4 Seats Availability
5 Editing passenger details
Sample output is given below:
Create a web page as shown in the figure below. Each frame should have the following content
II. Orange frame should have a paragraph describing our national animal and an image of it
L3
Design a Form to apply for the position of junior engineer in TATA Electronic. The form should
contain the sections and fields in the following format (Use appropriate HTML input tags)
L3
Name, Address, Email, Phone Number, Gender and Attach the file, finally submit Application
form.
Develop Static Pages (Using Only HTML) of an Online Book Store. The Pages Should Design
and develop a registration for hotel booking.
• Customer name (numbers not allowed)
• Number of days of stay (use proper input type, should be more than 0)
• Select AC or NON-AC (use radio type)
• Select room type (use checklist: single, double etc) L3
• Select your place (default is Bangalore)
• Select pin which starts with 56….
• Mobile number (exactly 10 numbers)
On click submit button should display proper message in case any of the above entries are
incorrect
Imagine a student who wants to learn JAVA course through online is enquiring through website.
The website collects the details of the student through form whose fields are name of the
student, password, age, address, gender (select gender), mobile number, email id, Name of the
L3
course (multiple options should be given), submit, reset. Design a static website using
appropriate HTML tags which takes the input from student and displays the output as
“successfully registered”.
MODULE 2
What is the 'normal flow' in CSS? L1
Define a CSS float property. L1
What does the position: absolute property do? L1
What is a CSS grid layout? L1
Name two CSS frameworks used for responsive design. L1
What is the difference between block-level and inline elements in normal flow? L1
How do you create a simple two-column layout using floats? L1
What does the display: flex property do? L1
What is the purpose of media queries in CSS? L1
What does XML stand for? L1
Name one characteristic of XML that makes it suitable for data interchange. L1
Explain the basic structure of an XML document and its components. L1
Discuss the advantages of using XML as a data interchange format compared to other formats
L1
like JSON.
Describe the role of XML Schema in defining the structure and constraints of XML documents. L1
Discuss the syntax rules of XML documents, including elements, attributes, and namespaces. L2
Discuss the components of an XML Schema, including elements, attributes, and data types. L1
Describe the process of defining complex data structures using XML Schema. L1
Provide examples of XML Schema constructs for specifying constraints and relationships. L1
Analyze the benefits of using XML Schema for document validation compared to other
L1
validation methods.
Name two common data types used in XML Schema. L1
What is the purpose of defining data types in XML Schema? L1
Discuss the importance of data types in XML Schema for ensuring data integrity and
L1
interoperability.
Explain the difference between simple and complex data types in XML Schema. L2
Describe the built-in data types available in XML Schema and their usage. L1
Provide examples of defining custom data types in XML Schema. L1
Analyze the role of data types in facilitating data interchange and interoperability between
L2
systems.
What is a sample XML program used for? L1
Provide an example of a simple XML document. L1
Walk through the creation of a sample XML document representing information about books. L1
Discuss the structure of the XML document, including elements and attributes. L1
Explain how to validate the XML document against an XML Schema definition. L1
Describe how to parse the XML document using a programming language like Java or Python. L2
Analyze the advantages of using XML for representing structured data in real-world
L2
applications.
Explain the different CSS positioning schemes with examples. L2
Describe the concept of responsive design and how media queries are used in it. L2
How do you construct a multicolumn layout using CSS Grid? Provide an example. L2
Discuss the pros and cons of using CSS frameworks like Bootstrap or Foundation. L2
Describe how the float property affects the layout of web elements. Include an example. L2
Compare and contrast the Flexbox and CSS Grid layout models. L2
Explain how to create a responsive navigation bar using CSS. L2
Explain the structure of an XML document with an example. L2
Describe the difference between XML and HTML. L2
What are the benefits of using XML for data storage and transfer? L2
Explain how XML can be used in web services. L2
Describe the process of validating an XML document against a schema. L2
Explain the concept of XML namespaces and how they are used. L2
Discuss the advantages and disadvantages of using XML compared to JSON. L2
How can XSLT (Extensible Stylesheet Language Transformations) be used to transform XML
L2
data?
Provide an example of an XML document and demonstrate how to parse it using a programming
L2
language of your choice.
Sita wants to order a cake through an online cake delivery system for her son’s birthday. She
visits the website for booking the birthday cake. Help Sita to book a wonderful cake for her son
through a website. You design a website with the following options using HTML & CSS.
L3
1. Home screen with images & text messages
2. list of categories of an occasion -wedding, birthday, congratulations etc.
3. Navigate to birthday page with colorful images of cakes with price details
4. booking confirmation page.
Design a tourist agency web page with following specifications using HTML and CSS:
• Title should be about tourist agency
• Place your tourist agency name and address at the top of the page in large text, text border, text
background color and text color in blue.
L3
• Middle of the page list out some features about your tourist agency with font styles.
• Bottom of the page landmarks and contact details of tourist agency with different color, style.
L3
To Create a Tribute Page Using HTML and CSS. To Create an Abdul Kalam Tribute Page
Using HTML and Create a Style Sheet (CSS) in the Following Ways:
A. Body.
L3
B. Header.
C. Image.
D. Paragraph.
Imagine you are tasked with creating an online catalog for a bookstore using XML to store book
details. Design an XML structure to represent books with attributes like title, author, genre, and
L3
price. Create an XSLT stylesheet to transform this XML into an HTML page for the online
catalog.
You are working on an employee directory system, and the employee data is stored in an XML
file. Define an XML schema for employee records with attributes such as name, department,
L3
position, and hire date. Develop an XSLT stylesheet to present this employee information in an
HTML table.
Assume you are building a news feed application where news articles are stored in XML format.
Design an XML schema for news articles with elements like title, author, publication date, and
L3
content. Create an XSLT stylesheet to transform the XML data into a readable HTML format for
the news feed.
You are given an XML file containing weather data for different cities. Define an XML
structure to represent weather information with elements like city, temperature, humidity, and
L3
conditions. Write an XSLT stylesheet to display this weather data in an organized HTML
format.
Suppose you are managing a product inventory system, and the product data is stored in XML.
Design an XML schema to represent product details with attributes such as product name,
L3
category, price, and quantity. Develop an XSLT stylesheet to transform this XML into an
HTML page displaying the product inventory.
You are maintaining student grade records in XML format. Define an XML structure to store
student information, including attributes such as name, subject, and grade. Create an XSLT L3
stylesheet to generate an HTML report displaying the student grades.
Imagine you are organizing a conference and storing the schedule information in XML. Design
an XML schema for conference sessions with elements like title, speaker, time, and location. L3
Write an XSLT stylesheet to transform this XML into an HTML schedule for the conference.
MODULE 3
What is PHP and what is it commonly used for? L1
How do you declare an array in PHP? L1
What is a superglobal array in PHP? Name any two superglobal arrays. L1
What is the difference between $_GET and $_POST in PHP? L1
What information does the $_SERVER array provide in PHP? L1
How can you upload a file using PHP? L1
What is the syntax for reading a file in PHP? L1
How do you write data to a file in PHP? L1
What is a class in PHP? L1
What is the purpose of the mysqli_connect() function in PHP? L1
Explain the concept of server-side scripting and how PHP fits into it. L2
Discuss the various ways to manipulate arrays in PHP with examples. L2
Describe the purpose of $_GET and $_POST arrays with examples. L2
What is the $_FILES array in PHP? Describe its components with an example. L2
Explain how to handle file uploads in PHP. Include an example script. L2
Describe how to read and write files in PHP. Provide code examples for both operations. L2
Ram wants to know the grade based on the marks he has scored in Maths exam. Write and
execute a php program to check his grade based on the marks he has scored using if-else
statement. Conditions: First get input form the user (through browser) then If marks are 60% or
L3
more, grade will be First Division, If marks between 45% to 59%, grade will be Second
Division, If marks between 33% to 44%, grade will be Third Division, If marks are less than
33%, student will be Fail.
How do you open a file and read the file content character by character using PHP? Write a code
L3
for the same. List and explain the different mode in which a file can be opened.
To design a Temperature converter like Fahrenheit Temperature to Celsius (FTC). The FTC
Function Accepts One Argument $Celsius (input get form the user), which is the Celsius L3
Temperature.
A website needs to implement user registration and authentication functionality. How would you
L3
use PHP and MySQL to allow users to register, log in, and manage their accounts securely?
You're tasked with developing an e-commerce platform using PHP and MySQL. How would
you design the database schema to store product information, handle user orders, and manage L3
inventory levels efficiently?
You're building a discussion forum where users can create topics, post replies, and interact with
each other. How would you implement the backend using PHP and MySQL to store and retrieve L3
forum threads and replies efficiently?
Build a system for managing a product inventory. It should allow users to add new products,
update existing products, view product details, and delete products from the inventory.
Tasks:
• Design a database schema for storing product information such as name, description, price,
and quantity.
L3
• Create PHP scripts to interact with the database for CRUD (Create, Read, Update, Delete)
operations.
• Implement forms for adding new products and updating existing ones.
• Display a list of products with their details, and provide options for editing or deleting each
product.
Ensure proper error handling and validation for user input.
An organization needs an employee management system to track employee details, attendance,
and performance. How would you use PHP and MySQL to develop a system that allows L3
administrators to add, edit, and delete employee records?
Build a customer management system for a small business. It should allow employees to add
new customers, update existing customer information, view customer details, and delete
customers.
Tasks:
• Design a database schema to store customer information such as name, email, phone number, L3
and address.
• Create forms for adding new customers and updating existing ones.
• Display a list of customers with their details, and provide options for editing or deleting each
customer.
• Implement search functionality to allow users to find customers by name or email.
Build a customer management system for a small business. It should allow employees to add
new customers, update existing customer information, view customer details, and delete
customers.
Tasks:
L3
• Design a database schema to store customer information such as name, email, phone number, L3
and address.
• Create forms for adding new customers and updating existing ones.
• Display a list of customers with their details, and provide options for editing or deleting each
customer.
• Implement search functionality to allow users to find customers by name or email.
Indicative
Marks
2
2
2
2
2
4
2
2
2
2
2
2
2
2
2
4
4
4
4
4
4
4
4
4
4
4
4
4
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
10
10
10
10
10
10
10
10
10
10
10
10
2
2
4
2
2
4
2
4
4
2
2
4
2
2
2
2
4
2
2
2
2
2
2
4
2
2
2
2
2
2
6
6
6
6
6
6
6
6
6
6
6
6
6
6
10
10
10
10
10
10
10
10
10
10
10
4
4
4
4
4
4
4
4
4
4
6
6
6
6
6
6
6
10
10
10
10
10
10
10
10
10
10
10