National Digital LMS
Networking & Infrastructure

Chapter 1: Letters A to G Phonic Sounds

Letters and beginning sounds: Apple, Ball, Cat, Duck, Elephant, Fish, Grapes.

25 mins read Pages 1 - 19
Bilingual Learning (English & اردو) Class 12 / HSSC-II Level

Chapter 1: Computer Networks (Page 1 – 19)

پہلا باب: کمپیوٹر نیٹ ورکس

A computer network is an interconnected collection of autonomous computing devices (computers, servers, smartphones, IoT nodes, printers) linked via communication channels to share hardware resources, exchange files, and facilitate seamless digital collaboration. This chapter covers network classifications, physical and logical topologies, the OSI 7-layer reference architecture, the TCP/IP protocol suite, transmission media, and switching hardware.

کمپیوٹر نیٹ ورک سے مراد دو یا دو سے زیادہ خود مختار کمپیوٹرز اور ڈیوائسز کا ایسا باہمی رابطہ ہے جو تاروں یا وائرلیس سگنلز کے ذریعے جڑے ہوں تاکہ معلومات، ڈیٹا، انٹرنیٹ اور ہارڈویئر وسائل (جیسے پرنٹر اور سرور) کا باہمی تبادلہ کیا جا سکے۔ اس باب میں نیٹ ورک کی اقسام، ٹوپولوجیز، او ایس آئی کے سات درجات، ٹی سی پی/آئی پی ماڈل اور نیٹ ورکنگ کے آلات کا تفصیلی احاطہ کیا گیا ہے۔
Visual Diagram: Network Topologies (Star, Bus, Ring, Mesh) تصویری خاکہ
Official PCTB Class 12: Network Topologies (نیٹ ورک ٹوپولوجیز) Physical & Logical Arrangement of Network Nodes (Chapter 1, Pages 1–19) 1. Star Topology (اسٹار ٹوپولوجی) All nodes connect directly to a central Switch/Hub SWITCH PC 1 PC 2 PC 3 PC 4 Server 2. Bus Topology (بس ٹوپولوجی) Single shared backbone cable with terminators Node A Node B Node C 3. Ring Topology (رنگ ٹوپولوجی) Token passing in a closed circular loop A B C D Token Loop 4. Mesh Topology (میش ٹوپولوجی) Full point-to-point redundancy: Nodes = N(N-1)/2 links 1 2 3 4 5
Visual Architecture: The OSI 7-Layer Reference Model
The OSI 7-Layer Reference Model (او ایس آئی ماڈل) Open Systems Interconnection Framework | Chapter 1 (Pages 1-19) LAYER LAYER NAME & PURPOSE DATA UNIT (PDU) KEY PROTOCOLS & HARDWARE 7 Application Layer (ایپلیکیشن لیئر) Direct interface to user software and network applications Data (پیغام) HTTP, HTTPS, DNS, SMTP, FTP 6 Presentation Layer (پریزنٹیشن لیئر) Data encryption, compression, and character syntax translation Data (اینکرپٹڈ) SSL/TLS, ASCII, JPEG, MPEG 5 Session Layer (سیشن لیئر) Establishes, manages, and terminates interactive dialogues Data NetBIOS, RPC, Sockets 4 Transport Layer (ٹرانسپورٹ لیئر) End-to-end reliability, flow control, port addressing Segments (سیگمنٹس) TCP (Reliable), UDP (Fast) 3 Network Layer (نیٹ ورک لیئر) Logical IP addressing and optimal path routing Packets (پیکٹس) IPv4, IPv6, ICMP, Routers 2 Data Link Layer (ڈیٹا لنک لیئر) Physical MAC addressing, framing, and hop-to-hop transfer Frames (فریمز) Ethernet, Wi-Fi (802.11), Switches 1 Physical Layer (فزیکل لیئر) Transmission of raw electrical pulses, light signals, and radio bits Bits (0s & 1s) Fiber Optic, Cat6, Hubs, Modems
Comprehensive Textbook Learning Material (تفصیلی تعلیمی مواد)
Full Syllabus Coverage • BISE Punjab
1 1. Geographical Classification of Networks (LAN, MAN, WAN, PAN)
۱. جغرافیائی لحاظ سے نیٹ ورکس کی اقسام
English Theoretical Concept & Technical Breakdown:
Networks are classified by their geographic span and communication speed:
1. **PAN (Personal Area Network):** Spans a range of a few meters around an individual (e.g., Bluetooth connection between smartphone and wireless earbuds, or smartwatch syncing).
2. **LAN (Local Area Network):** Spans a limited physical area such as a single classroom, computer laboratory, office building, or college campus. LANs deliver ultra-high data transfer rates (1 Gbps to 10 Gbps) with negligible transmission delays and very low error rates. Usually owned by a single private organization.
3. **MAN (Metropolitan Area Network):** Covers an entire town or city (typically 5 km to 50 km). Examples include cable television networks spanning across Lahore or inter-branch optical links connecting bank branches within a city.
4. **WAN (Wide Area Network):** Spans vast geographical territories across provinces, whole countries, or across continents. The largest and most famous WAN is the **Internet**. WANs utilize telecommunication carriers, fiber optic submarine cables, microwave links, and communication satellites.
آسان اردو میں مکمل اور تفصیلی وضاحت:
نیٹ ورک کو ان کے فاصلے اور وسعت کے لحاظ سے چار بڑی اقسام میں تقسیم کیا جاتا ہے:
۱. **پین (PAN - پرسنل ایریا نیٹ ورک):** کسی ایک شخص کے اردگرد چند میٹر کے فاصلے پر مشتمل نیٹ ورک (جیسے موبائل اور بلوٹوتھ ہیڈ فون یا اسمارٹ واچ کا رابطہ)۔
۲. **لین (LAN - لوکل ایریا نیٹ ورک):** کسی ایک کمرے، کمپیوٹر لیب، اسکول یا کالج کی عمارت تک محدود نیٹ ورک۔ اس میں ڈیٹا کی رفتار انتہائی تیز (۱ سے ۱۰ گیگا بٹ فی سیکنڈ) ہوتی ہے اور اس کا مالک کوئی ایک ادارہ ہوتا ہے۔
۳. **مین (MAN - میٹروپولیٹن ایریا نیٹ ورک):** پورے شہر پر محیط نیٹ ورک (جیسے لاہور یا راولپنڈی شہر کا کیبل ٹی وی نیٹ ورک یا کسی بینک کی تمام شہری برانچوں کا باہمی رابطہ)۔
۴. **وین (WAN - وائیڈ ایریا نیٹ ورک):** ملکوں، براعظموں اور پوری دنیا میں پھیلا ہوا سب سے بڑا نیٹ ورک۔ اس کی سب سے بڑی اور زندہ مثال **انٹرنیٹ (Internet)** ہے۔ اس میں سمندری آپٹیکل فائبر اور سیٹلائٹ کے ذریعے ڈیٹا بھیجا جاتا ہے۔
Real-World Student Analogy (روزمرہ زندگی سے آسان فہم مثال):
In English: PAN is whispering to a friend beside you. LAN is talking in your college classroom. MAN is using a city-wide radio broadcast. WAN is making an international phone call from Pakistan to London.
پین کلاس میں اپنے ساتھ بیٹھے دوست سے سرگوشی ہے۔ لین پوری کلاس میں بولنا ہے۔ مین پورے شہر کے لاؤڈ اسپیکر پر بولنا ہے، اور وین پاکستان سے برطانیہ بین الاقوامی کال کرنا ہے۔
BISE Punjab Board Examination Tip (اہم امتحانی نکات):
Frequently asked BISE question: "Differentiate between LAN and WAN with respect to coverage area, speed, ownership, and transmission error rate."
2 2. Physical and Logical Network Topologies in Depth
۲. نیٹ ورک ٹوپولوجیز کی مکمل اور تفصیلی وضاحت
English Theoretical Concept & Technical Breakdown:
A network topology defines how nodes and links are arranged geographically and logically:
- **Star Topology:** Every single computer connects via a dedicated point-to-point cable to a central Switch or Hub.
- *Advantages:* High fault tolerance (if one cable snaps, only that single PC drops off; all other nodes communicate unimpeded). Adding or removing nodes causes zero disruption.
- *Disadvantages:* Central point of failure (if the central switch fails, the entire network halts). Requires substantial cable length.
- **Bus Topology:** Every node is tapped into a single central transmission line known as the **Backbone Cable**. Both physical ends of the bus are capped with **Terminators** to absorb signals and prevent echo reflections.
- *Advantages:* Low cost and simple cable installation. Requires minimal wire length.
- *Disadvantages:* If the central backbone cable breaks at any point, the entire network goes down. Difficult to troubleshoot individual connection issues; collisions increase under heavy traffic.
- **Ring Topology:** Nodes are connected in a continuous unbroken circular loop. Data packets circulate strictly in one direction (clockwise or counter-clockwise) using an electronic **Token Passing** protocol.
- *Advantages:* Predictable latency; zero packet collision because only the node holding the token may transmit.
- *Disadvantages:* A failure in any single computer or wire break disrupts the complete loop unless a Dual-Ring backup is installed.
- **Mesh Topology:** Every node possesses a dedicated point-to-point connection to every other computer in the network. For $N$ computers, total links required equals $\frac{N(N-1)}{2}$.
- *Advantages:* Maximum reliability, absolute privacy, and zero bottlenecks. Failure of any single link never stops communication because alternative paths exist.
- *Disadvantages:* Extremely expensive cabling costs and complex network interface hardware installation.
آسان اردو میں مکمل اور تفصیلی وضاحت:
نیٹ ورک میں کمپیوٹرز کو آپس میں جوڑنے کا طبعی ڈھانچہ ٹوپولوجی کہلاتا ہے:
- **اسٹار ٹوپولوجی (Star):** تمام کمپیوٹرز ایک مرکزی ڈیوائس یعنی سوئچ (Switch) سے جڑے ہوتے ہیں۔ اگر کسی ایک کمپیوٹر کی تار کٹ جائے تو باقی تمام نیٹ ورک بالکل ٹھیک کام کرتا رہتا ہے۔ لیکن اگر مرکزی سوئچ خراب ہو جائے تو پورا نیٹ ورک بند ہو جائے گا۔
- **بس ٹوپولوجی (Bus):** تمام کمپیوٹر ایک ہی مرکزی تار (Backbone) کے ذریعے جڑے ہوتے ہیں جس کے دونوں سروں پر ٹرمینیٹرز (Terminators) لگے ہوتے ہیں جو سگنل کو ٹکرا کر واپس آنے سے روکتے ہیں۔ اگر مین تار کسی بھی جگہ سے ٹوٹ جائے تو پورا نیٹ ورک بند ہو جاتا ہے۔
- **رنگ ٹوپولوجی (Ring):** کمپیوٹر دائرے کی شکل میں آپس میں جڑے ہوتے ہیں۔ ڈیٹا ایک ہی سمت میں ایک خاص الیکٹرانک ٹوکن (Token) کے ذریعے سفر کرتا ہے۔ اگر دائرے میں ایک کمپیوٹر بھی بند ہو جائے تو پورا رابطہ ٹوٹ جاتا ہے۔
- **میش ٹوپولوجی (Mesh):** ہر کمپیوٹر دوسرے تمام کمپیوٹرز سے الگ الگ تاروں کے ذریعے براہ راست جڑا ہوتا ہے۔ پانچ کمپیوٹرز کے لیے ۱۰ تاریں درکار ہوتی ہیں۔ یہ سب سے زیادہ محفوظ ہے کیونکہ ایک تار ٹوٹ بھی جائے تو دوسرے راستے سے ڈیٹا پہنچ جاتا ہے، مگر یہ سب سے زیادہ مہنگا نظام ہے۔
Real-World Student Analogy (روزمرہ زندگی سے آسان فہم مثال):
In English: Star is a teacher talking to 30 students individually. Bus is an intercom loudspeaker heard along one school corridor. Ring is passing a whispered secret around a circle of friends. Mesh is having a private dedicated hotline phone connecting every friend directly.
اسٹار ٹوپولوجی استاد کا ہر بچے سے انفرادی بات کرنا ہے۔ بس ٹوپولوجی برآمدے کا مشترکہ لاؤڈ اسپیکر ہے۔ رنگ بچوں کا گول دائرہ بنا کر ایک دوسرے کے کان میں بات بتانا ہے۔ اور میش ہر دوست کے گھر کے درمیان الگ ٹیلیفون تار بچھانا ہے۔
BISE Punjab Board Examination Tip (اہم امتحانی نکات):
High Probability 8-Mark Question: "What is network topology? Draw Star, Bus, and Mesh topologies, and compare their pros and cons."
3 3. The OSI 7-Layer Reference Model & Data Flow Architecture
۳. او ایس آئی ماڈل کے سات درجات اور ڈیٹا کا سفر
English Theoretical Concept & Technical Breakdown:
Created by the International Organization for Standardization (ISO), the Open Systems Interconnection model decouples complex network communication into seven independent functional layers.

| Layer Number & Name | Primary Functionality | Protocol Data Unit (PDU) | Associated Protocols & Hardware |
|---|---|---|---|
| **7. Application Layer** | Human-computer interface; presents network services directly to software applications. | Data (پیغام) | HTTP, HTTPS, DNS, SMTP, FTP, Telnet |
| **6. Presentation Layer** | Character translation, data compression, and cryptographic encryption/decryption. | Data | SSL, TLS, ASCII, Unicode, JPEG, MP3 |
| **5. Session Layer** | Initiates, manages, checkpoints, and terminates interactive communication sessions. | Data | NetBIOS, RPC, Sockets |
| **4. Transport Layer** | End-to-end transport reliability, packet sequencing, flow control, and port multiplexing. | Segments (سیگمنٹس) | TCP (Reliable), UDP (Fast, Connectionless) |
| **3. Network Layer** | Logical addressing (IP address) and dynamic routing across intermediate networks. | Packets (پیکٹس) | IPv4, IPv6, ICMP, Routers |
| **2. Data Link Layer** | Physical MAC addressing, error detection, data framing, and media access control. | Frames (فریمز) | Ethernet (802.3), Wi-Fi (802.11), Switches, Bridges |
| **1. Physical Layer** | Electrical transmission of raw binary bits over copper, fiber optics, or radio airwaves. | Bits (0s and 1s) | Twisted Pair, Coaxial, Fiber, Hubs, Modems |

**Data Encapsulation Principle:** When an application generates a message, it travels DOWN the sender stack (Layers 7 to 1). Each layer prepends its own control header (and trailer at Layer 2). At the destination, the packet travels UP the stack (Layers 1 to 7) where each layer strips off its corresponding header (Decapsulation).
آسان اردو میں مکمل اور تفصیلی وضاحت:
بین الاقوامی ادارہ برائے معیار سازی (ISO) نے کمپیوٹر نیٹ ورکنگ کے پیچیدہ نظام کو ۷ درجات (Layers) میں تقسیم کیا ہے تاکہ مختلف کمپنیوں کے کمپیوٹر آپس میں آسانی سے رابطہ کر سکیں:
۱. **ایپلیکیشن لیئر (Layer 7):** صارف اور انٹرنیٹ کے درمیان براہِ راست رابطہ (جیسے براؤزر، واٹس ایپ، ای میل)۔
۲. **پریزنٹیشن لیئر (Layer 6):** ڈیٹا کا ترجمہ، فائل کو چھوٹا کرنا (Compression) اور خفیہ بنانا (Encryption جیسے SSL/TLS)۔
۳. **سیشن لیئر (Layer 5):** دو کمپیوٹرز کے درمیان رابطہ شروع کرنا، برقرار رکھنا اور صحیح طریقے سے بند کرنا۔
۴. **ٹرانسپورٹ لیئر (Layer 4):** پورے ڈیٹا کو چھوٹے چھوٹے ٹکڑوں یعنی سیگمنٹس (Segments) میں بانٹنا اور ڈیٹا پہنچنے کی تصدیق کرنا (TCP اور UDP)۔
۵. **نیٹ ورک لیئر (Layer 3):** ڈیٹا کے ٹکڑوں پر بھیجنے والے اور وصول کنندہ کا آئی پی ایڈریس (IP Address) لگانا اور راؤٹر کے ذریعے بہترین راستہ تلاش کرنا (Packets)۔
۶. **ڈیٹا لنک لیئر (Layer 2):** ہارڈویئر کے میک ایڈریس (MAC Address) کی مدد سے ڈیٹا کو فریمز (Frames) میں بدلنا اور سوئچ کے ذریعے آگے بھیجنا۔
۷. **فزیکل لیئر (Layer 1):** ڈیٹا کو برقی سگنلز، روشنی کی لہروں (Fiber Optic) یا ریڈیو ویوز کی شکل میں بٹس (0s اور 1s) کی صورت میں تار پر بھیجنا۔
Real-World Student Analogy (روزمرہ زندگی سے آسان فہم مثال):
In English: Sending a postal parcel: You write a letter (Layer 7), translate it into English (Layer 6), book a tracking ID (Layer 5), package it safely into boxes (Layer 4), label the postal street address (Layer 3), put it into the local mail van (Layer 2), and drive the van across the physical asphalt motorway (Layer 1).
جیسے ڈاک کا پارسل بھیجنا: خط لکھنا (L7)، انگریزی میں ترجمہ کرنا (L6)، بکنگ رسید لینا (L5)، ڈبے میں بند کرنا (L4)، گھر کا پتہ لکھنا (L3)، ڈاک کے تھیلے میں ڈالنا (L2)، اور ڈاک کی گاڑی کا سڑک پر سفر کرنا (L1)۔
BISE Punjab Board Examination Tip (اہم امتحانی نکات):
Exam Must-Know: "Differentiate between TCP and UDP at the Transport Layer." (TCP is connection-oriented and guarantees delivery via 3-way handshake; UDP is connectionless, faster, but does not guarantee delivery, used in gaming & video streaming).
4 4. Transmission Media: Guided vs. Unguided
۴. ڈیٹا ترسیل کے ذرائع: تار دار (Guided) بمقابلہ بے تار (Unguided)
English Theoretical Concept & Technical Breakdown:
- **Guided Media (Cables):**
- *Twisted Pair Cable:* Pairs of insulated copper wires twisted together to cancel electromagnetic interference (EMI) and crosstalk. Category 6 (Cat6) supports up to 10 Gbps over 55 meters. Most common in college labs.
- *Coaxial Cable:* Single solid copper core surrounded by plastic insulation, a braided metallic shield, and an outer jacket. Highly resistant to interference, used for cable television.
- *Fiber Optic Cable:* Core made of ultra-pure silica glass as thin as a human hair. Data travels as pulses of light utilizing the physics principle of **Total Internal Reflection**. Completely immune to electrical noise, lightning, and EMI. Delivers enormous bandwidth over hundreds of kilometers.
- **Unguided Media (Wireless):**
- *Radio Waves:* Omnidirectional (propagates in all directions), easily penetrates walls, used for Wi-Fi, cellular networks, and AM/FM radio.
- *Microwaves:* Unidirectional line-of-sight propagation requiring dish antennas aligned precisely without physical obstacles. Used in cellular backhaul towers and satellite uplinks.
آسان اردو میں مکمل اور تفصیلی وضاحت:
- **تار دار ذرائع (Guided Media):**
- **ٹوئسٹڈ پیئر کیبل (Twisted Pair):** تانبے کے دو تاروں کے جوڑے جو آپس میں لپٹے ہوتے ہیں تاکہ بیرونی برقی شور (Noise) ختم ہو سکے۔ یہ اسکول اور کالج کی لیبز میں استعمال ہونے والی عام نیلے رنگ کی انٹرنیٹ کیبل ہے۔
- **کو ایکسیل کیبل (Coaxial):** درمیان میں تانبے کی ایک موٹی تار اور اوپر جالی دار شیلڈ ہوتی ہے۔ یہ عام طور پر کیبل ٹی وی کے لیے استعمال ہوتی ہے۔
- **آپٹیکل فائبر کیبل (Fiber Optic):** انسان کے بال سے بھی باریک شیشے (Glass) کا دھاگہ۔ اس میں ڈیٹا بجلی کے بجائے **روشنی کی رفتار سے مکمل داخلی انعکاس (Total Internal Reflection)** کے ذریعے سفر کرتا ہے۔ اس میں ڈیٹا نہ تو ہیک ہو سکتا ہے اور نہ برقی گرج چمک سے خراب ہوتا ہے۔ یہ دنیا کے تمام براعظموں کو سمندر کے نیچے جوڑتی ہے۔
- **بے تار ذرائع (Unguided Media):**
- **ریڈیو ویوز:** ہر طرف پھیلنے والی لہریں جو دیواروں کے آر پار جا سکتی ہیں (جیسے وائی فائی اور موبائل سگنل)۔
- **مائیکرو ویوز:** سیدھی لکیر میں سفر کرنے والی تیز رفتار لہریں جو موبائل کے بڑے ٹاورز اور سیٹلائٹ میں استعمال ہوتی ہیں۔
Real-World Student Analogy (روزمرہ زندگی سے آسان فہم مثال):
In English: Twisted pair is speaking through a garden hose. Fiber optic is flashing a high-speed laser beam down an infinitely reflective mirror tube.
ٹوئسٹڈ پیئر عام نلکے کی مانند ہے جس میں سے پانی گزرتا ہے، جبکہ فائبر آپٹک شیشے کی نالی میں لیزر کی روشنی کا تیز رفتار سفر ہے۔
BISE Punjab Board Examination Tip (اہم امتحانی نکات):
MCQ: "Which transmission medium uses total internal reflection of light pulses? Answer: Optical Fiber Cable."
Looking for the official textbook pages?

Jump directly to pages 1 - 19 in the embedded streaming viewer.

PCTB Official Textbook - Chapter 1 Start Page: 1
Download
Protected Stream Proxy: Direct hotlinking is blocked. Byte-ranges are streamed dynamically.
Self-Assessment Results
PASSED
0 / 0 (0%)

Results message will appear here.

Computer Networks Self-Assessment Quiz

Select the correct option for each question to evaluate your understanding.

3 Questions
Q1 Which network topology connects all nodes to a single central device such as a switch or hub?
Q2 Which transmission medium transmits data as pulses of light through thin strands of glass?
Q3 How many layers are defined in the standard Open Systems Interconnection (OSI) reference model?
Passing threshold: 60%
Class 12 Chapters