0% found this document useful (0 votes)
2 views5 pages

In Computer Science

The document outlines network models in computer science, focusing on architectural models like Client-Server and Peer-to-Peer, and layered communication models such as the OSI 7-Layer Model and TCP/IP 4-Layer Model. It details how these models function, their advantages and disadvantages, and provides examples of each. The OSI model serves as a theoretical framework for understanding data movement, while the TCP/IP model is the practical standard for the Internet.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views5 pages

In Computer Science

The document outlines network models in computer science, focusing on architectural models like Client-Server and Peer-to-Peer, and layered communication models such as the OSI 7-Layer Model and TCP/IP 4-Layer Model. It details how these models function, their advantages and disadvantages, and provides examples of each. The OSI model serves as a theoretical framework for understanding data movement, while the TCP/IP model is the practical standard for the Internet.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

In computer science, network models describe either how devices share responsibilities across

a network (architectural models) or how data is formatted and transmitted in steps (layered
communication models).

1. Network Architectural Models

These models describe how computing power, data, and tasks are distributed among devices on
a network.

A. Client-Server Model

 How it works: A central computer (Server) manages network resources, security, and
storage, while individual workstations (Clients) request services from it.

 Examples: Web servers delivering pages to web browsers, or a school central file server
sending files to lab computers.

 Advantages:

o Centralized data management and security.

o Easy central backups and access control.

 Disadvantages:

o High installation and maintenance costs.


o Server dependency: If the central server crashes, clients lose access to network
services.

B. Peer-to-Peer (P2P) Model

 How it works: All computers (Peers) on the network have equal status. Each device can
act as both a client and a server, sharing files and resources directly with other devices.

 Examples: Small home networks, Bluetooth file sharing, or file-sharing networks like
BitTorrent.

 Advantages:

o Simple and inexpensive to set up (no central server needed).

o If one peer fails, the rest of the network keeps operating.

 Disadvantages:

o Security is harder to manage.

o Backups must be performed individually on each device.

2. Layered Communication Models

Layered models break down complex network communications into distinct, manageable steps
(layers). Each layer performs a specific job and passes data to the layer above or below it.
A. The OSI 7-Layer Model

The Open Systems Interconnection (OSI) model is a standard theoretical framework used to
understand how data moves across a network.

Layer Name Function / Description

Provides network services directly to end-user applications (e.g.,


7 Application
HTTP for web browsing).

Handles data translation, encryption, and compression (e.g.,


6 Presentation
SSL/TLS).

Manages, opens, and closes communication sessions between


5 Session
devices.

Manages end-to-end data delivery, flow control, and error


4 Transport
checking (e.g., TCP, UDP).

Handles logical addressing (IP addresses) and routes data


3 Network
packets across networks.

Handles physical node-to-node transfer and hardware


2 Data Link
addressing (MAC addresses).

Transmits raw binary bits ($0$s and $1$s) across physical media
1 Physical
(cables, radio waves).

Mnemonic to remember the layers (Top to Bottom):

All People Seem To Need Data Processing


B. The TCP/IP 4-Layer Model

The Transmission Control Protocol / Internet Protocol (TCP/IP) model is the practical, real-
world model used to power the modern Internet.

+-----------------------------------+-----------------------------------+

| TCP/IP Layer | Corresponding OSI Layers |

+-----------------------------------+-----------------------------------+

| 4. Application Layer | Application, Presentation, Session|

| 3. Transport Layer | Transport |

| 2. Internet Layer | Network |

| 1. Network Access (Link) Layer | Data Link, Physical |

+-----------------------------------+-----------------------------------+

Breakdown of TCP/IP Layers:

1. Application Layer: Enables software programs (browsers, email clients) to access


network services. Protocols include HTTP, HTTPS, FTP, SMTP, and DNS.

2. Transport Layer: Ensures reliable transmission of data packets. Uses TCP (reliable, checks
for lost packets) or UDP (fast, used for video streaming).

3. Internet Layer: Prepares data packets and routes them to their destination across
different networks using IP addresses.

4. Network Access Layer: Translates data into electrical signals, light pulses, or radio waves
to move across physical hardware (Ethernet cables, Wi-Fi).

Would you like to focus on practice exam questions covering the OSI and TCP/IP models, or
explore specific network protocols in more detail?

You might also like