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 and .
Binary Base: Binary is Base because it uses two digits: and .
Decimal System:
Definition: The everyday number system that uses the digits to .
Decimal Base: Decimal is Base because it uses ten digits: to .
Hexadecimal System:
Definition: A number system that uses – and –.
Hexadecimal Base: Hexadecimal is Base because it uses sixteen symbols: – and –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 188\n * Digit 040\n * Digit 122\n * Digit 111\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 261\n * Step 2: 6 \div 230\n * Step 3: 3 \div 211\n * Step 4: 1 \div 201\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\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.

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.

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.

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