0% found this document useful (0 votes)
53 views15 pages

Web Technology Assignment 1

The document outlines an assignment on web technology, covering various topics including network topologies, HTTP vs HTTPS, client-server architecture, and webpage creation. It describes three network topologies (star, bus, and ring) with their advantages, and details characteristics of HTTP and differences with HTTPS. Additionally, it provides tasks for creating HTML webpages for displaying CEO information, mathematical formulas, a registration page, and a multi-page website for universities.

Uploaded by

karanlodhi0552
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
53 views15 pages

Web Technology Assignment 1

The document outlines an assignment on web technology, covering various topics including network topologies, HTTP vs HTTPS, client-server architecture, and webpage creation. It describes three network topologies (star, bus, and ring) with their advantages, and details characteristics of HTTP and differences with HTTPS. Additionally, it provides tasks for creating HTML webpages for displaying CEO information, mathematical formulas, a registration page, and a multi-page website for universities.

Uploaded by

karanlodhi0552
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 15

WEB TECHNOLOGY ASSIGNMENT

(SUBJECT CODE = BCSC O070)


Q1. A server needs to be connected to 5 clients. Demonstrate any
three topologies to make such connections through different diagrams.
Name each topology and an advantage of each of the topology offered.
Answer:
Network topology refers to the arrangement of different elements like
nodes, links, or devices in a computer network. It defines how these
components are connected and interact with each other. Understanding
various types of network topologies helps in designing efficient and
robust networks. Common types include bus, star, ring, mesh, and tree
topologies, each with its own advantages and disadvantages. In this
article, we are going to discuss different types of network topology their
advantages and disadvantages in detail.
TOPOLOGIES REQUIRED TO CONNECT 5 CLIENTS ARE GIVEN
BELOW:-
i) STAR TOPOLOGY
In this topology, all clients are connected to the central server, which acts
as a hub for communication
ADVANTAGE OF STAR TOPOLOGY:-
*Easy to manage: Since the server is the central hub, it’s easier to
troubleshoot problems, as any issues with the clients won’t affect the
rest of the network.
ii) BUS TOPOLOGY
All clients are connected to a single communication line(bus) where the
server is also connected.

ADVANTAGE OF BUS TOPOLOGY:-


*Cost-effective: Since it require fewer cables, bus topology is cheaper
to set up than other topologies.
iii) RING TOPOLOGY
Each client is connected to exactly two other clients, forming a closed
loop, with the server as part of the loop.
ADVANTAGE OF RING TOPOLOGY:-
*Predictable data flow: The data movies in a defined direction, making
communication easier to manage.
RING TOPOLOGY
Q2. Enlist any two characteristics of http. Differentiate between http
and https?
Answer:
Two Characteristics of HTTP:

1. Stateless Protocol: HTTP is stateless meaning each request from a client to a server is
independent. The server does not retain any information about previous requests.
2. Plain Text Communication: Data transferred over HTTP is not encrypted. It is sent
as plain text, which can be easily intercepted by third parties.

Differences between HTTP and HTTPS:

1. Security:
o HTTP: Data is transmitted in plain text, making it vulnerable to interception
and eavesdropping.
o HTTPS: Stands for Hypertext Transfer Protocol Secure. It uses SSL/TLS
encryption to secure the data, ensuring confidentiality and integrity during
transmission.
2. Port Number:
o HTTP: Uses port 80 by default.
o HTTPS: Uses port 443 by default, which is secured by SSL/TLS encryption.

HTTPS is generally preferred for any site where security is a concern, such as online
banking, email, and e-commerce platforms.
Q3. Draw a neat diagram of a Client Server Architecture. Explain each of the components
briefly?

Answer:

Client-Server Architecture is a computing model that separates tasks or workloads


between two entities: clients and servers. This architecture is commonly used in networked
environments, where multiple clients request and receive services from a centralized
server.

Explanation of Components:

1. Client: This is the device or application that makes requests to the server. It could be a
computer, smartphone, or any other device capable of connecting to the network.
Clients initiate communication and wait for responses from the server.
2. Server: The server is a more powerful machine that stores data, hosts applications, or
manages network resources. It processes the client's requests, performs necessary
actions, and sends back the required information or services.
3. Network: This is the medium through which the client and server communicate. It can
be a local area network (LAN), the internet, or any other type of network
infrastructure. The network allows data to be transmitted back and forth between the
client and server.
Q4. Create a webpage that displays the name and photograph of the CEOs of
the following IT Organizations:

(a) Microsoft Corporation (b) IBM (c) Accenture (d) Oracle (e) Amazon Inc.

Answer:

HTML CODE
OUTPUT
Q5. Create a webpage that displays the following content on
browser.

Answer: HTML CODE

OUTPUT
Q6. Create a webpage that displays the mathematical formula for the following:

a. Area of a circle b. Trigonometric Identities with angle alpha(α)


c. Square of (a+b) d. Cube of (a+b) e. Difference between squares of two
variables f. Time Period of a pendulum g. Gravitational Force h. Kinetic
Energy

Answer:

HTML CODE
OUTPUT
Q7. Create a webpage that displays a registration page for an
organization named ABC INFOTECH. It should ask the user to
input the following details for registering the user for
recruitment :
a. User Name
b. Password
c. Confirm Password
d. Email Id
e. Contact Number
f. Gender
g. Highest Qualification
h. Languages Known (English, Hindi)
i. Preferred programming Language (C++, Java, Python
j. Two lines to describe yourself

Use tables to display labels and input fields in proper alignment.


Use CSS to display with acceptable look and feel. Apply html5
validations as follows:
(a) No field should be left blank
(b) Mobile number should take digits only
(c) Email should be in correct format.
Answer: HTML CODE
OUTPUT
AAQ8. Create a website that contains three webpages namely
index.html, page1.html and page2.html. The first page shall display a
list of 5 Universities in the form of ordered list having symbols a, b, c, d
and e. It should also have a hyperlink NEXT to move to the next page.
The next page shall display a list of next 5 Universities in the form of
ordered list having symbols f, g, h, i and j. The page shall have two
hyperlinks PREVIOUS and NEXT, which does their respective tasks. The
last page shall display a list of next 5 Universities in the form of ordered
list having symbols k, l, m, n and o. The page shall also contain two
hyperlinks to move to the first and the second page respectively.

Answer:
HTML CODE
PAGE 1:
PAGE 2:

PAGE 3:
OUTPUT
PAGE 1:

PAGE 2:

PAGE 3:

You might also like