National Digital LMS
Module 4: Core Competencies

Chapter 8: Shortest Paths & Minimum Spanning Trees

Dijkstra's single-source shortest path, Bellman-Ford, Prim's and Kruskal's MST algorithms.

20 mins read Pages 134 - 152
Bilingual Learning (English & اردو) Class 12 / HSSC-II Level

Chapter 8: Applications of Computer Science (Page 103 – 117)

آٹھواں باب: کمپیوٹر سائنس کے جدید اطلاقات

Computer science is no longer confined to desktop productivity; it drives frontier innovations altering agriculture, healthcare, autonomous transport, finance, and industrial engineering. This chapter surveys Artificial Intelligence and Machine Learning, the Internet of Things (IoT), Cloud Computing service delivery architectures, Blockchain, and Big Data analytics.

کمپیوٹر سائنس اب صرف کاغذی کاموں تک محدود نہیں رہا بلکہ زراعت، میڈیکل، گاڑیوں، بینکنگ اور جدید صنعتوں کا انجن بن چکا ہے۔ اس باب میں مصنوعی ذہانت (AI)، انٹرنیٹ آف تھنگز (IoT)، کلاؤڈ کمپیوٹنگ کے تینوں ماڈلز، بلاک چین اور بگ ڈیٹا کا جامع تجزیہ کیا گیا ہے۔
Comprehensive Textbook Learning Material (تفصیلی تعلیمی مواد)
Full Syllabus Coverage • BISE Punjab
1 1. Artificial Intelligence (AI) and Machine Learning (ML)
۱. مصنوعی ذہانت (AI) اور مشین لرننگ کے اصول
English Theoretical Concept & Technical Breakdown:
- **Artificial Intelligence (AI):** The overarching discipline of engineering smart machines capable of simulating human cognitive abilities: perception, speech recognition, reasoning, and synthesis.
- **Machine Learning (ML):** A subfield of AI where algorithms learn mathematical representations directly from data patterns rather than explicit human rule programming.
- *Supervised Learning:* The algorithm is trained on labeled pairs (e.g., 50,000 photos labeled "Cat" or "Dog").
- *Unsupervised Learning:* Finds hidden clusters in unlabeled datasets (e.g., grouping bank customers by spending habits).
- *Reinforcement Learning:* Agent learns via trial and error receiving mathematical rewards or penalties (e.g. self-driving cars navigating traffic).
آسان اردو میں مکمل اور تفصیلی وضاحت:
- **مصنوعی ذہانت (AI):** کمپیوٹرز کو انسانوں کی طرح سوچنے، زبان سمجھنے اور فیصلے کرنے کے قابل بنانا۔
- **مشین لرننگ (ML):** کمپیوٹر کو کوئی کام رٹانے کے بجائے اسے خود ڈیٹا دیکھ کر سیکھنے کی صلاحیت دینا:
- **سپروائزڈ لرننگ:** کمپیوٹر کو لیبل شدہ ڈیٹا دے کر سکھانا (جیسے ۵۰،۰۰۰ تصاویر جن پر پہلے سے بلی یا کتا لکھا ہو)۔
- **ان سپروائزڈ لرننگ:** بغیر کسی رہنمائی کے ڈیٹا کے اندر چھپے ہوئے گروپس تلاش کرنا۔
- **رینفورسمنٹ لرننگ:** انعامات اور غلطیوں کے ذریعے خود کار طریقے سے سیکھنا (جیسے خودکار ڈرائیونگ کاریں)۔
Real-World Student Analogy (روزمرہ زندگی سے آسان فہم مثال):
In English: Supervised learning is like studying with an answer key at the back of the book. Reinforcement learning is like learning to ride a bicycle by skinning your knees until you find balance.
سپروائزڈ لرننگ استاد کی نگرانی میں کتاب کے حل شدہ سوالات دیکھ کر پڑھنا ہے۔ رینفورسمنٹ لرننگ خود سائیکل چلانا سیکھنے جیسا ہے جہاں گرنے سے بندہ سیکھتا ہے۔
BISE Punjab Board Examination Tip (اہم امتحانی نکات):
Differentiate between Supervised and Unsupervised machine learning with an example.
2 2. Cloud Computing Delivery Models: IaaS, PaaS, SaaS
۲. کلاؤڈ کمپیوٹنگ کے سروس ماڈلز (IaaS, PaaS, SaaS)
English Theoretical Concept & Technical Breakdown:
Cloud computing provides on-demand network access to shared pools of configurable computing resources over the internet.
1. **IaaS (Infrastructure as a Service):** Cloud providers rent out raw virtual machines, physical storage, and networking switches. The customer installs their own operating system and software. Examples: Amazon AWS EC2, Microsoft Azure VMs.
2. **PaaS (Platform as a Service):** Provides a managed hardware and software execution environment where software engineers deploy code without managing servers, OS updates, or load balancing. Examples: Google App Engine, Heroku.
3. **SaaS (Software as a Service):** Fully turnkey end-user application software hosted in the cloud, accessed directly through web browsers. Examples: Google Docs, Gmail, Microsoft Office 365.
آسان اردو میں مکمل اور تفصیلی وضاحت:
کلاؤڈ کمپیوٹنگ انٹرنیٹ کے ذریعے سرورز، اسٹوریج اور سافٹ ویئرز کرائے پر حاصل کرنے کا نام ہے:
۱. **آئس (IaaS - انفراسٹرکچر):** خالی کمپیوٹر اور اسٹوریج کرائے پر لینا جس پر ونڈوز یا لینکس آپ خود انسٹال کرتے ہیں (جیسے AWS اور Azure)۔
۲. **پائس (PaaS - پلیٹ فارم):** پروگرامرز کے لیے تیار شدہ ماحول جہاں سرور کی فکر کیے بغیر صرف پائتھن کوڈ چلا دیا جاتا ہے (جیسے Google App Engine)۔
۳. **ساس (SaaS - سافٹ ویئر):** انٹرنیٹ پر چلنے والا بالکل تیار سافٹ ویئر جسے براؤزر میں کھولا جائے (جیسے گوگل ڈرائیو، جی میل اور مائیکروسافٹ آفس ۳۶۵)۔
Real-World Student Analogy (روزمرہ زندگی سے آسان فہم مثال):
In English: Pizza Analogy: SaaS is ordering a delivered baked pizza to your door. PaaS is buying a frozen pizza to bake in your own oven. IaaS is renting a commercial kitchen where you buy flour, cheese, and cook the dough from scratch.
پیزا کی مثال: ساس (SaaS) بنا بنایا پیزا آرڈر کرنا ہے۔ پائس (PaaS) تیار شدہ پیزا خرید کر اپنے اوون میں گرم کرنا ہے۔ اور آئس (IaaS) خالی کچن کرائے پر لے کر خود آٹا گوندھ کر پیزا تیار کرنا ہے۔
BISE Punjab Board Examination Tip (اہم امتحانی نکات):
Board Question: "What is Cloud Computing? Differentiate IaaS, PaaS, and SaaS."
Looking for the official textbook pages?

Jump directly to pages 134 - 152 in the embedded streaming viewer.

PCTB Official Textbook - Chapter 8 Start Page: 134
Download
Protected Stream Proxy: Direct hotlinking is blocked. Byte-ranges are streamed dynamically.
Class 12 Chapters