Number Systems and Computer Networks

Number Systems

  • Definition of Numbering System:

    • A method of writing and representing numbers using specific digits or symbols.

  • Binary System:

    • Definition: A number system used by computers that uses only 00 and 11.

    • Binary Base: Binary is Base 22 because it uses two digits: 00 and 11.

  • Decimal System:

    • Definition: The everyday number system that uses the digits 00 to 99.

    • Decimal Base: Decimal is Base 1010 because it uses ten digits: 00 to 99.

  • Hexadecimal System:

    • Definition: A number system that uses 00–99 and AA–FF.

    • Hexadecimal Base: Hexadecimal is Base 1616 because it uses sixteen symbols: 00–99 and AA–F$.\n * Hexadecimal Character Values:\n * A = 10\n * B = 11\n * C = 12\n * D = 13\n * E = 14\n * F = 15\n\n* Binary to Decimal Conversion:\n * Conversion Step-by-Step Breakdown for 1011_2:\n * Digit 1(Placevalue(Place value8):Valueused=): Value used =8\n * Digit 0(Placevalue(Place value4):Valueused=): Value used =0\n * Digit 1(Placevalue(Place value2):Valueused=): Value used =2\n * Digit 1(Placevalue(Place value1):Valueused=): Value used =1\n * Conversion Equation: 1 \times 8 + 0 \times 4 + 1 \times 2 + 1 \times 1 = 8 + 0 + 2 + 1 = 11_{10}\n\n* Decimal to Binary Conversion (Repeated Division Method):\n * Procedure: Convert a decimal number to binary by repeatedly dividing by 2 and recording each remainder.\n * Step-by-Step Example for Converting 13_{10} to Binary:\n * Step 1: 13 \div 2givesQuotient=gives Quotient =6,Remainder=, Remainder =1\n * Step 2: 6 \div 2givesQuotient=gives Quotient =3,Remainder=, Remainder =0\n * Step 3: 3 \div 2givesQuotient=gives Quotient =1,Remainder=, Remainder =1\n * Step 4: 1 \div 2givesQuotient=gives Quotient =0,Remainder=, Remainder =1\n * Reading Order: Read remainders from bottom to top (1\,1\,0\,1\n * Result: 13_{10} = 1101_2\n\n\n# Computer Networks and Network Types\n\n* Definition of Computer Network:\n * Two or more devices connected together to communicate and share data or resources.\n\n* Network Types by Geographic Scale:\n * Personal Area Network (PAN):\n * Definition: Connects devices around one person.\n * Example: Phone + smartwatch.\n * Local Area Network (LAN):\n * Definition: Connects devices in a small area or small geographic area.\n * Examples: School computer lab or network in hospital.\n * Metropolitan Area Network (MAN):\n * Definition: Connects networks across a city or multiple cities.\n * Examples: Offices across one city or multiple cities (e.g., Dubai, Sharjah, Ajman, UAQ) or within the same city but in different locations.\n * Wide Area Network (WAN):\n * Definition: Connects networks over very large areas.\n * Example: The Internet.\n\n* Geographic Progression Memory Aid:\n * \text{PAN (Person)} \rightarrow \text{LAN (Building)} \rightarrow \text{MAN (City)} \rightarrow \text{WAN (Countries/World)}\n\n\n# Network Topologies\n\n* Definition of Network Topology:\n * The way devices are arranged or connected in a network.\n\n* Primary Network Topologies:\n * Bus Topology:\n * All devices connect to one main cable (single backbone cable).\n * Star Topology:\n * All devices connect to one central device, usually a switch or Hub.\n * Ring Topology:\n * Devices are connected in a circular path.\n * Mesh Topology:\n * Devices have multiple connections to other devices (all connected).\n * Hybrid Topology:\n * Combination of different topologies connected to each other creates hybrid topology.\n\n![Diagram showing four main types of network topology: Bus, Star, Ring, and Mesh](https://assets.knowt.com/pdf-flow-prod/9f061505-5efb-4cd0-9723-83735b6af6d6-figures/0.jpg)\n\n\n# Data Performance Metrics: Bandwidth and Throughput\n\n* Bandwidth:\n * Definition: The maximum amount of data a connection can carry.\n * Example Metric: Maximum = 100\,\text{Mbps}.\n\n* Throughput:\n * Definition: The actual amount of data successfully transferred.\n * Example Metric: Actual = 70\,\text{Mbps}$$.

  • Road Capacity Analogy:

    • Bandwidth = maximum road capacity.

    • Throughput = the number of cars actually moving on it.

Network Architecture

  • Peer-to-Peer (P2P) Architecture:

    • Definition: Computers share files and resources directly with each other without a central server; all devices (computer, laptop, CCTV, printer, tablet, mobile phone) are considered same on the network.

    • Key Points:

    • No central server.

    • All devices are equal (peers).

    • Devices share files and resources directly.

    • Simple and cost-effective.

    • Suitable for small networks (e.g., home or small office).

    • Example: A small office where computers share files directly with each other.

Diagram illustrating a Peer-to-Peer (P2P) network layout connecting laptop, desktop PC, mobile phone, tablet, and printer
  • Client-Server Architecture:

    • Definition: Client devices request information or services from a central server. Server provides resources to all clients and managed from central computer called Server.

    • Core Principle: One server. Many clients. Connected through a network.

Diagram of Client-Server Architecture showing a server, router, switch, and connected end devices

Network Connections, Cabling, and Transmission Flow

  • Connection Types:

    • Wired Connection: Devices connect using a physical cable.

    • Wireless Connection: Devices connect without cables, usually through Wi-Fi.

  • Network Cabling Media:

    • Ethernet Cable: A common cable used to connect computers, switches and routers over short distances.

    • Coaxial Cable: A protected copper cable used for TV, Internet and some older network connections.

    • Fiber-Optic Cable: A very fast cable that uses light to carry large amounts of data over long distances.

  • Real-World Infrastructure Flow:

    • An Internet Service Provider (ISP) provides a high-speed fiber-optic connection to a school, home, hospital, or organization.

    • The ISP connects to a router, which directs data to intermediate devices like switches or Wi-Fi access points.

    • Inside the building, end devices connect either wirelessly through Wi-Fi or wired, mostly using Ethernet cables.

Flowchart showing network infrastructure connection from ISP through router and switch or Wi-Fi to end devices

Key Network Terms and Devices

  • Network Terminology Definitions:

    • Server: A computer that provides data, resources or services to other computers.

    • Client: A computer or device that requests data or services from a server.

    • Switch: A device that connects devices in a LAN and sends data to the correct device.

    • Hub: A basic device that sends received data to all connected devices.

    • Router: A device that connects different networks and directs data between them.

    • Protocol: A set of rules that devices follow to communicate with each other.

    • End Device: User devices such as computers, laptops, phones, iPads, printers, CCTVs, or Smart TVs.

    • Intermediate Devices: Routers and Switches (or Hubs) that connect and route network communications between end devices.

    • ISP: A company that provides Internet access.

  • Quick Memory Summary:

    • Network Type = WHERE / size

    • Topology = HOW end devices are connected

    • Bandwidth = maximum

    • Throughput = actual