DEPARTMENT OF INFORMATION TECHNOLOGY
FACULTY OF ENGINEERING AND TECHNOLOGY, UNIVERSITY OF SINDH
WEB TECHNOLOGIES (IT24-426)
BS IT PART-II (EVENING)
Instructions:
1. This assignment contains 10 marks, and each student should submit it individually.
2. Submit your handwritten assignment on or before 28 November 2025. Late submissions
will not be accepted.
3. Assignment should be quoted properly.
4. Assignment should be precise. Do not add extra irrelevant material.
5. The first page should include:
• Your full name
• Roll number
• Subject name
• Submission date
• Teacher name
• Department
6. Answer all questions in sequence. Draw tables, diagrams or graphs wherever required.
7. Clearly label and highlight important points.
Assignment:
1. Compare and contrast web browsers and web servers, and the HTTP request–response cycle
with suitable examples.
2. Discuss the structure, importance, and working of HTML in web development. Describe the
concept of attributes.
3. Explain the role of CSS in web designing. Describe the three types of CSS with syntax (inline,
internal, external) and their advantages.
4. What is JavaScript and why is it called a client-side scripting language? Explain functions with
suitable code examples.
5. Explain cookies and sessions. Compare them based on storage size, security, and lifecycle.
Describe how they are used for authentication and user tracking.
6. Design a registration form with fields: Name, Email, Password, Gender, Country and a Submit
button. Use HTML5 form validations and CSS for styling (without backend).
7. Develop a simple calculator using HTML, CSS, and JavaScript. The calculator should perform
addition, subtraction, multiplication, and division.
8. What are semantic and non-semantic HTML tags? Explain with at least five examples of each.
9. What is the difference between id and class selectors in CSS? How do you change the
background color and font style of a webpage using CSS?
10. Explain the difference between == and === in JavaScript. What is the Document Object Model
(DOM) in JavaScript?