Q1. Explain about following the protocol:

a) Web Server, b) Email, c) Static Web page, d) Dynamic web page.

Ans.

a) Web servers use the Hypertext Transfer Protocol (HTTP) to respond to requests from client browsers and deliver web pages and other content. HTTP is an application layer protocol that defines how messages are formatted and transmitted between servers and clients.

b) Email uses multiple protocols to send and receive messages:

c) Static web pages have fixed, pre-written content that is served as simple HTML files. They display the same information to all users and do not change dynamically.

d) Dynamic web pages are generated on-the-fly when a user requests a page. They may pull information from databases and can provide customised content for each user. Common technologies for dynamic pages include server-side scripts (PHP, ASP.NET) and client-side JavaScript.

The key difference is static pages have pre-built content, while dynamic pages generate content at runtime based on variables like user input. Web servers and email follow common protocols, while static and dynamic web content differ in how they are created and delivered.

(b) Compare TCP/IP and OSI Models of networking with suitable diagram.

Ans.

Difference between OSI Model and TCP/IP Model

Parameters OSI Model TCP/IP Model
Full Form OSI stands for Open Systems Interconnection. TCP/IP stands for Transmission Control Protocol/Internet Protocol.
Layers It has 7 layers. It has 4 layers.
Usage It is low in usage. It is mostly used.
Approach It is vertically approached. It is horizontally approached.
Delivery Delivery of the package is guaranteed in OSI Model. Delivery of the package is not guaranteed in TCP/IP Model.
Replacement Replacement of tools and changes can easily be done in this model. Replacing the tools is not easy as it is in OSI Model.
Reliability It is less reliable than TCP/IP Model. It is more reliable than OSI Model.

OSI model

OSI model

TCP/IP model

TCP/IP model