Computer Networks / Lecture / Lecture 1
Lecture · Computer Networks

The Concept of a Computer Network and Why It Is Needed

You type a message in Telegram and press “Send” — in less than a second a ✓✓ appears on your friend’s phone in Tashkent. In that one second your message passes through dozens of devices, cables and radio waves. In this lesson, using the example of a metro map, you will learn what a computer network is, what “bricks” it is built from, and why today neither banks, nor universities, nor games can work without a network.

:ik-kitob: Lecture 1 ⏱ 2 academic hours (80 minutes) 🚇 Packet simulators ⚡ Everything is connected
01

Lesson goals and plan

By the end of the lesson you will…

  • give a precise definition of a computer network and tell it apart from a mere set of devices
  • identify the main components of a network (end and intermediary devices, transmission medium, protocols) with examples
  • explain what role each component plays as a message travels across the network
  • name the reasons networks appeared and the main historical stages (ARPANET, Ethernet, TCP/IP, WWW, Wi-Fi)
  • justify, with calculations, the benefit of resource sharing (hardware, data, software, computing power)
  • assess how modern information systems (banking, public services, education, trade) rely on the network

Plan (according to the syllabus)

  1. The concept of a computer network, its main components and their functions in information exchange
  2. Reasons for the emergence of computer networks, resource sharing and the importance of networks in modern information systems

Hi! I’m Paketman, the course mascot and your travel companion across the network. In this course I ride from station to station (device to device) like a metro passenger. Watch me in every simulator: wherever I stop, something important happens there.

How many devices does a single message pass through?

You wrote “Hello!”. Your phone turns it into numbers and “hands it over” to a Wi-Fi radio wave; your home router sends it to the provider, the provider delivers it over optical fiber to Telegram’s servers, and the server passes it on to your friend’s phone. All in less than a second. This is not a miracle — it is a computer network. Today we will open up its “inner workings”.

Key terms

First recall the meaning of the term yourself, then click the card to check.

The concept of a computer network, its main components and their functions in information exchange

Think of the Tashkent metro: there are stations, they are linked by tracks, trains carry passengers, and everyone moves by the same rules (timetable, signals, “doors are closing”). A computer network is just the same: stations are devices, tracks are cable and radio channels, passengers are data packets, rules are protocols.

Definition

A computer network is the connection of two or more autonomous (able to work independently) computing devices through a transmission medium, working on the basis of common protocols, for the purpose of exchanging data and sharing resources.

Every word in the definition matters. “Autonomous” — each computer can also work on its own (old terminal “screens” were just an extension of one big mainframe and were not considered network nodes). “Transmission medium” — the signal has to pass through something. “Common protocols” — if two devices do not speak the same language, nothing happens even when the cable is plugged in: like an Uzbek and a Japanese person phoning each other without knowing each other’s language.

Smartphone Laptop Smart TV Wi-Firouter Provider(ISP) Internetservers radio (Wi-Fi) cable / fiber backbone fiber end devices intermediary device
Fig. 1.1. A simple home network: end devices → Wi-Fi router → provider → Internet

The four “building blocks” of a network

Any network — whether it is made of two laptops or is the whole Internet — is built from the same kinds of components:

1

End devices (hosts)

They create or consume data: computer, smartphone, server, network printer, IP camera, smartwatch, ATM, POS terminal.

2

Intermediary devices

They direct and distribute data: switch, router, wireless access point, modem, firewall.

3

Transmission medium

The path along which the signal travels: twisted-pair copper cable (UTP), coaxial cable, optical fiber, radio waves (Wi-Fi, Bluetooth, 4G/5G), even infrared light.

4

Protocols and programs

They define how devices talk: Ethernet, Wi-Fi (IEEE 802.11), IP, TCP, UDP, HTTP, DNS — and the drivers, operating systems and applications that carry them out.

Table 1.1. Components and their place in the network
ComponentExamplesMetro analogyMain function
End devicelaptop, smartphone, servera station where passengers get on/offcreating, receiving and processing data
Switcha 24-port switch in an officethe arrow between stations within one linedelivering a frame to exactly the right port inside a local network
Routerhome Wi-Fi router, provider routeran interchange station where lines crosschoosing the best path between different networks
Network card (NIC)Ethernet port, Wi-Fi modulethe station entrance (turnstile)converting digital data into a signal and back
Transmission mediumUTP, fiber, radiorails and tunnelscarrying the signal from one point to another
ProtocolIP, TCP, HTTPtraffic rules, timetableagreeing on the format, order and handling of errors
Remember

A switch works “inside one network” (it recognizes devices by MAC address), while a router works “between networks” (it chooses a route by IP address). The “Wi-Fi router” at home is actually several devices in one box: router + switch + access point (+ often a modem). Details — in Lecture 6.

Simulator: the metro journey of a message

Aziz in Andijan wrote “Hello!” to Malika in Tashkent on Telegram. On the map below, move the yellow packet station by station and read which component is working at each station and what task it performs. The “Auto” button runs the whole route by itself.

:ik-xarita: Route of the “Hello!” message: Andijan → Tashkent

What tasks does the network perform in information exchange?

In the simulator you saw that, to deliver a message, the network solves several tasks at once. Knowing them is the “key” to all later lessons: the OSI model (Lecture 8) divides exactly these tasks into layers.

Table 1.2. Main functions of the network in information exchange
FunctionQuestionWho/what does itEveryday example
AddressingWho is it being sent to?MAC and IP addressesthe address on a postal envelope
RoutingBy which route?routersYandex Navigator choosing a route
TransmissionHow do the bits arrive?NIC, cable, radioa train running on rails
ReliabilityWhat if it gets lost?TCP: retransmission, acknowledgmentthe courier’s “delivered” signature
Flow controlWill the receiver keep up?TCP windowgoing onto an escalator one after another
NamingWhere is “telegram.org”?DNSa phone book
SecurityCan others read it?encryption, firewall, authenticationa sealed envelope, a guard

The smallest network: two computers

If you connect two laptops with one Ethernet cable and give them suitable IP addresses — that is already a network. In Windows you check the network settings with ipconfig and the connection with the ping command (Win + R → cmd). Read the output below — these commands will be your constant companions in the coming practical classes.

cmd.exe — computer 1
C:\Users\Aziz> ipconfig

Ethernet adapter Ethernet:

   Connection-specific DNS Suffix  . :
   IPv4 Address. . . . . . . . . . . : 192.168.0.1
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . :

C:\Users\Aziz> ping 192.168.0.2

Pinging 192.168.0.2 with 32 bytes of data:
Reply from 192.168.0.2: bytes=32 time<1ms TTL=128
Reply from 192.168.0.2: bytes=32 time<1ms TTL=128
Reply from 192.168.0.2: bytes=32 time<1ms TTL=128
Reply from 192.168.0.2: bytes=32 time<1ms TTL=128

Ping statistics for 192.168.0.2:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),

Reading it: “Reply from…” — the second computer answered, so the transmission medium (cable), the interfaces (NIC) and the protocols (IP, ICMP) work. time<1ms — the message arrived in under a millisecond (the devices are side by side). “Default Gateway” is empty — there is no way out of this network (to the Internet). Each of these concepts will be studied in depth in a separate lesson.

Reasons for the emergence of computer networks, resource sharing and the importance of networks in modern information systems

Imagine: a dean’s office has 20 computers but no network. Every document has to be copied to a flash drive and carried to another room; each desk needs its own printer; the student list exists in 20 different “latest” copies… Networks appeared precisely to solve these problems.

How networks appeared: a short history

Table 1.3. Main stages in the development of computer networks
PeriodEventWhat changed?
1950s–60sLarge mainframes and terminals connected to them (time-sharing systems)Many people used one expensive computer in turns
1969ARPANET — computers of 4 universities in the USA were connectedThe first major network based on packet switching; the “grandfather” of the Internet
1973–1980Ethernet (Xerox PARC, Robert Metcalfe) and its standardizationCheap connection of computers inside an office — the era of local networks (LAN)
1983ARPANET switched to the TCP/IP protocolsDifferent networks were joined by a single “language” — the Internet was born
1989–1991Tim Berners-Lee (CERN) created the World Wide WebWeb pages, links, the browser — the Internet opened up to ordinary people
1990sThe Internet came to Uzbekistan and the national domain .uz appearedAt first universities and organizations, then home users
1997The wireless network standard IEEE 802.11 (Wi-Fi)Cable-free connection — for laptops and later smartphones
2007–2010sSmartphones, 3G/4G, cloud servicesThe Internet went into the pocket; data began to be stored “in the cloud”
Today5G, the Internet of Things (IoT), data centersBillions of devices: cameras, meters, cars, watches — everything is on the network
Did you know?

The first word sent over ARPANET on 29 October 1969 was supposed to be “LOGIN”. But after the letters “L” and “O” arrived, the receiving system crashed. So the first message in the history of networks became “LO”. An hour later the connection was restored and the full word was sent.

6 reasons why networks appeared

:ik-kompyuter:

Resource sharing

One printer, disk or scanner — for a whole department. Expensive equipment serves many people.

:ik-chat:

Communication

E-mail, messengers, video calls. Distance lost its importance.

:ik-baza:

Single source of data

Data stored in one database is the same and up to date for everyone (for example, student grades).

:ik-qalqon:

Reliability

A copy of the data is kept on another server; if one device breaks, work does not stop.

:ik-osish:

Scalability

A new employee — just plug in a new computer. Computing power is easy to increase.

:ik-tanga:

Cost saving

One Internet channel, one license server, central management — costs go down.

Types of resource sharing

Table 1.4. Shared resources
Resource typeExampleBenefit
Hardwarenetwork printer, scanner, NAS disklower equipment costs
Datathe university’s student database, bank accountssingle, up-to-date, non-duplicated data
Softwarean accounting program on a server, an online office suiteupdated in one place, used by everyone
Computing powercloud servers, artificial intelligence servicesa weak phone gets computations done on a powerful server
Communication channelone Internet connection for the whole officeno need for a separate connection in every room

Interactive calculation: does an office need a network?

Let us compare two solutions for a small firm. Prices are in conventional units (real prices change with the shop and the year, but the logic does not). Move the sliders and find the point from which the network starts to pay off.

:ik-bino: Office without and with a network

Number of employees (computers):8
Printer price (units):30
Without a network
  • a printer for every desk
  • a separate Internet modem for every computer (10)
  • files “run around” on flash drives
With a network
  • 1 shared printer
  • 1 router (15) + switch (12)
  • cable and socket for every computer (2)

Number of connections and the “value” of a network

The more users a phone or messenger has, the more valuable the network becomes for each member: a two-person Telegram is useless to anyone, while a million-person one is useful to everybody. According to Metcalfe’s law, named after Robert Metcalfe, the inventor of Ethernet, the value of a network is roughly proportional to the square of the number of users (∼ n²). The reason is the number of possible pairwise connections: among n participants there are n·(n−1)/2 pairs.

This same formula appears again in Lecture 3: in a “fully connected” (mesh) topology every pair is joined by a separate cable — so the number of cables is also n·(n−1)/2.

Mini-task: the cable counter

Input: the number of computers n. If every computer is connected to all the others with a separate cable, how many cables are needed? The output must look exactly like this: Kabellar: 10. If n < 2 — Tarmoq emas. +30 XP

The importance of the network in modern information systems

Today almost every information system is a system built on top of a network. If the network stops, the system stops too: the ATM gives no money, the card does not go through at the checkout, a grade does not show in HEMIS.

:ik-karta:Payme, Click, bank cardsEvery payment is a packet sent from a POS terminal or an app to the bank’s processing center and a reply that returns within seconds.
:ik-bino:my.gov.uzThe public services portal sends requests over the network to the databases of various ministries and prepares a certificate in a few minutes.
:ik-talaba:UniversityHEMIS, the electronic library, Wi-Fi, Moodle/LMS, video lessons — everything is on the campus network.
:ik-savat:Uzum MarketOrder, warehouse, courier, SMS — dozens of services “talk” to each other over the network.
:ik-avtobus:Railway ticketsSo that two people do not buy the same seat, all ticket offices and the app are connected to a single database over the network.
:ik-oyin:Online gamesIn PUBG or Dota, dozens of packets fly every second: the player’s action to the server, the server’s state to the players.
Warning

Relying on the network brings convenience together with risk: connection outages, cyberattacks, data leaks. That is why backup channels, encryption and authentication are mandatory in modern systems. These topics are covered in the last practical classes of the course (20–21).

Common mistakes

MisconceptionIn reality
“Wi-Fi is the Internet”Wi-Fi is only the radio transmission medium between your device at home and the router. You can have Wi-Fi but no Internet (if the provider’s line is down).
“A router and a modem are one device”The modem adapts the signal to the provider’s line, the router chooses routes between networks. In many home devices they are simply housed in one box.
“A network is only computers”A smartphone, printer, camera, POS terminal, smart meter — all of them can be network nodes.
“If a cable is plugged in, the network works”You also need the same protocols and correctly configured addresses. The cable is only the “road”; without rules there is no traffic.
“The cloud is stored in the sky”The cloud is real servers in data centers somewhere else; you connect to them over the network.
“The Internet and the WWW are synonyms”The WWW is one of the services on the Internet. The Internet itself appeared about 20 years before the WWW.

Reinforcement

// REMEMBER IN 1 MINUTE

  1. Network = autonomous devices + transmission medium + common protocols.
  2. 4 building blocks: end devices, intermediary devices, transmission medium, protocols (and programs).
  3. Switch — inside a network, router — between networks.
  4. Functions: addressing, routing, transmission, reliability, naming, security.
  5. Reasons: resource sharing, communication, single data, reliability, scalability, cost saving.
  6. History: ARPANET (1969) → Ethernet (1973) → TCP/IP (1983) → WWW (1991) → Wi-Fi (1997) → mobile and cloud.
:ik-uy:At homePhone, laptop, TV — hosts; Wi-Fi router — intermediary device; air and cable — the medium.
:ik-kompyuter:In a computer class20 computers are connected to a switch; one projector and one printer serve everyone.
:ik-pul:In a bankEvery branch is connected to the central database — your account is the same everywhere.

Final test

Review questions

Define a computer network.

A set of autonomous devices connected through a transmission medium and working on common protocols, for exchanging data and sharing resources.

List the main components of a network.

End devices (hosts), intermediary devices (switch, router, access point, modem, firewall), the transmission medium (cable, fiber, radio), protocols and the programs that carry them out.

What is the difference between end and intermediary devices?

An end device creates or receives data (source/destination); an intermediary device only forwards and passes it on.

Compare the functions of a switch and a router.

A switch forwards frames to the right port by MAC address inside one local network; a router chooses a path for packets by IP address between different networks.

What is a protocol and why is it needed?

The rules of communication between devices: message format, sequence, handling of errors. Without it, devices of different manufacturers would not “understand” each other.

What tasks does the network perform in information exchange?

Addressing, routing, physical transmission, ensuring reliability, flow control, naming (DNS), security.

What are the main reasons computer networks appeared?

Resource sharing, fast communication, a single database, reliability, scalability and cost saving.

What kinds of resources are shared?

Hardware (printer, disk), data (databases), software (server applications), computing power (cloud), communication channel (a shared Internet connection).

Explain the difference between the Internet and the WWW.

The Internet is a global infrastructure of networks based on TCP/IP. The WWW is one of its services: web pages linked by hyperlinks and delivered over HTTP.

Give 3 modern information systems and explain how they depend on the network.

For example: a bank payment system (terminal → processing center), my.gov.uz (requests to ministry databases), HEMIS (the university server and the student’s browser). If the network goes down, the service stops too.

Independent work

The independent study topic in the course syllabus: “Development, Classification and Modern Architecture of Computer Networks” (6 hours). The part related to this lesson is the development of networks and their components.

  1. Draw a diagram of your assigned site’s network (by hand or in draw.io): mark all end and intermediary devices and the transmission media.
  2. Make a table: “Device — type of component — function” (at least 8 rows).
  3. Which resources are shared at this site (hardware, data, software, computing, channel)? Give an example for each.
  4. At home or in your dormitory, run the ipconfig and ping 8.8.8.8 commands, attach a screenshot and explain the result in 3–4 sentences.
Assessment criteria (individual assignment)
CriterionPoints
The network diagram is complete and clear (all devices and media are marked)2
The “Device — type — function” table is made correctly1
The shared resources are justified1
The ipconfig/ping result is attached and correctly explained1

Summary

DefinitionA network is a unity of autonomous devices, a transmission medium and common protocols.
4 building blocksEnd devices, intermediary devices, transmission medium, protocols.
Switch and routerOne works inside a network, the other between networks.
FunctionsAddressing, routing, transmission, reliability, naming, security.
HistoryARPANET → Ethernet → TCP/IP → WWW → Wi-Fi → mobile Internet and the cloud.
Why do we need it?Resource sharing, communication, single data, reliability, scalability, cost saving.
n·(n−1)/2The number of pairwise connections — the formula for a network’s value and for the number of mesh cables.
TodayBanking, public services, education, trade — everything runs on top of the network.

Your lesson results

Your results are saved in this browser. Read all the sections and complete the exercises and assignments.

My personal notes