Unit 1 of 4 · BCA Sem 4

Unit 1: Network models and topologies

Computer Networks-I notes · PTU syllabus (UGCC2517)

3 min read4 topics9 exam questions
On this page
  1. Unit summary
  2. Computer networks: definition, objectives and components
  3. The OSI reference model
  4. The TCP/IP model
  5. Network topologies
  6. Key terms
  7. Quick revision
  8. Important questions

Unit summary

A computer network connects devices so they can share data and resources. This unit covers the objectives, components and architecture of networks, the OSI and TCP/IP reference models, and the physical and logical topologies used to arrange devices.

After this unit you can

  • Define a computer network and list its objectives and components
  • Explain the seven OSI layers and their functions
  • Explain the TCP/IP model and compare it with OSI
  • Compare bus, star, ring, mesh and hybrid topologies

PTU syllabus topics

  • Definition and objectives of computer networks
  • network components and architecture
  • OSI model layers and functions
  • TCP/IP model layers and functions
  • comparison of OSI and TCP/IP
  • physical vs logical topologies (star, ring, bus, mesh, hybrid) and their trade-offs
HierarchyThe OSI model (top to bottom)
  1. 7 Application

    HTTP, FTP, SMTP

  2. 6 Presentation

    Encryption, compression

  3. 5 Session

    Opening and closing sessions

  4. 4 Transport

    TCP, UDP

  5. 3 Network

    IP addressing and routing

  6. 2 Data link

    MAC addressing, frames

  7. 1 Physical

    Cables, signals, bits

1

Topic 1

Computer networks: definition, objectives and components

A computer network is a set of interconnected autonomous computers and devices that exchange data and share resources. Objectives: resource sharing (printers, files, internet), communication (email, chat), reliability (backups and alternatives), cost reduction and scalability. Components: end devices (computers, phones), network interface cards, transmission media (cables, wireless), networking devices (switches, routers) and protocols (rules for communication). Types by size: PAN (personal), LAN (building/campus), MAN (city) and WAN (country or world).

2

Topic 2

The OSI reference model

The OSI (Open Systems Interconnection) model, from ISO, divides communication into seven layers.

LayerFunctionExample
7 ApplicationNetwork services to usersHTTP, FTP, SMTP, DNS
6 PresentationTranslation, encryption, compressionJPEG, SSL/TLS, ASCII
5 SessionEstablishes, manages and ends sessionsNetBIOS, RPC
4 TransportEnd-to-end delivery, segmentation, error and flow controlTCP, UDP
3 NetworkLogical addressing and routingIP, ICMP, routers
2 Data linkFraming, MAC addressing, error detectionEthernet, switches
1 PhysicalTransmission of raw bitsCables, hubs, signals

Exam tip

Mnemonic (top to bottom): "All People Seem To Need Data Processing".

3

Topic 3

The TCP/IP model

The TCP/IP model is the practical model used by the internet. It has four layers: Application (OSI layers 5–7), Transport, Internet (network) and Network Access (data link + physical).

ComparisonOSI vs TCP/IP
OSI
TCP/IP

Layers

7

4

Developed by

ISO, as a reference model

US Department of Defense, from real protocols

Approach

Model first, protocols later

Protocols first, model describes them

Use

Teaching and reference

Used on the internet

Transport

Connection-oriented and connectionless

TCP and UDP

4

Topic 4

Network topologies

Physical topology is the actual layout of cables and devices; logical topology is how data actually flows.

ComparisonTopologies
Advantage
Disadvantage

Bus

Cheap, little cable

A cable break stops the network

Star

Easy to add devices and find faults

Hub/switch failure stops everything

Ring

Orderly access, no collisions

One break can stop the ring

Mesh

Highly reliable, many paths

Costly cabling: n(n − 1)/2 links

Hybrid

Flexible, combines strengths

Complex to design

Example

A full mesh of 5 devices needs 5 × 4 / 2 = 10 links.

Key terms

Computer network
Interconnected devices sharing data and resources
Protocol
A set of rules for communication
OSI model
A seven-layer reference model for networking
TCP/IP model
The four-layer model used by the internet
Topology
The arrangement of devices and links in a network

Quick revision

  • PAN < LAN < MAN < WAN.
  • OSI: physical, data link, network, transport, session, presentation, application.
  • TCP/IP: network access, internet, transport, application.
  • Star is most common in LANs; mesh needs n(n − 1)/2 links.

Important exam questions

Practice questions written to the PTU exam pattern for this unit's syllabus: short answers (Section A style) and long answers (Sections B and C style).

Short-answer questions

  1. Q1.Define a computer network and list two objectives.
  2. Q2.Name the seven layers of the OSI model.
  3. Q3.Which OSI layer handles routing?
  4. Q4.Compare OSI and TCP/IP models.
  5. Q5.Differentiate between physical and logical topology.
  6. Q6.How many links does a full mesh of 6 devices need?

Long-answer questions

  1. Q1.Explain the OSI reference model with the functions of each layer.
  2. Q2.Explain the TCP/IP model and compare it with the OSI model.
  3. Q3.Explain the different network topologies with their merits and demerits.

Stuck on this unit?

Message SBS on WhatsApp for help with Computer Networks-I, or to ask about studying BCA at Synetic.

WhatsApp us