Publish-subscribe paradigms, log-based messaging with Apache Kafka, consumer groups, and stream processing.
20 mins read
Pages 96 - 114
Bilingual Learning (English & اردو)
Class 12 / HSSC-II Level
Chapter 6: Data and Analysis (Page 72 – 88)
چھٹا باب: ڈیٹا اور اس کا تجزیہ (Data Analysis)
Data analysis is the systematic process of inspecting, cleansing, transforming, modeling, and visualizing raw datasets to discover actionable patterns, draw informed conclusions, and drive evidence-based decisions. This chapter covers the data science lifecycle, structured vs. unstructured data, descriptive statistics (Measures of Central Tendency and Spread), and data visualization techniques.
ڈیٹا کا تجزیہ (Data Analysis) خام اعداد و شمار کو جمع کرنے، ان کی صفائی کرنے، ان سے کارآمد معلومات نکالنے اور چارٹس کے ذریعے نتائج پیش کرنے کا علم ہے۔ اس باب میں ڈیٹا کی اقسام، مرکزی رجحان کے پیمانے (اوسط، میڈین، موڈ)، ڈیٹا کا پھیلاؤ (معیاری انحراف) اور مناسب گراف کے چناؤ کے اصول سکھائے گئے ہیں۔
Comprehensive Textbook Learning Material (تفصیلی تعلیمی مواد)
Full Syllabus Coverage • BISE Punjab
11. The Data Science Lifecycle (ڈیٹا کا مکمل لائف سائیکل)
۱. ڈیٹا سائنس کا مکمل لائف سائیکل
English Theoretical Concept & Technical Breakdown:
The end-to-end data pipeline follows 5 rigorous stages:
1. **Data Collection:** Gathering raw inputs from sensors, relational databases, web scraping, survey forms, or log files.
2. **Data Cleansing / Scrubbing:** Removing duplicate rows, imputing missing null values, rectifying inconsistent spelling (e.g. "Lahore", "Lhr", "LAHORE"), and filtering outliers.
3. **Data Transformation & Wrangling:** Converting string dates into datetime objects, normalizing scales, and structuring tables.
4. **Exploratory Data Analysis (EDA):** Computing summary statistical metrics to discover trends and correlations.
5. **Data Visualization:** Presenting insights through intuitive charts to non-technical stakeholders.
آسان اردو میں مکمل اور تفصیلی وضاحت:
ڈیٹا کو کارآمد معلومات بنانے کے ۵ بنیادی مراحل ہوتے ہیں:
۱. **ڈیٹا اکٹھا کرنا (Collection):** سروے، انٹرنیٹ، سنسرز یا ڈیٹابیس سے خام ڈیٹا جمع کرنا۔
۲. **ڈیٹا کی صفائی (Cleansing):** خالی خانوں، ڈپلیکیٹ ریکارڈز اور غلط املا کو درست کرنا۔
۳. **ڈیٹا کو ڈھالنا (Transformation):** مختلف فارمیٹس کو یکساں شکل میں لانا۔
۴. **شماریاتی تجزیہ (Analysis):** ریاضی اور شماریات کے فارمولوں سے اوسط اور رجحانات معلوم کرنا۔
۵. **ڈیٹا کو دکھانا (Visualization):** بار چارٹ اور پائی چارٹ کے ذریعے خوبصورت انداز میں پیش کرنا۔
Real-World Student Analogy (روزمرہ زندگی سے آسان فہم مثال):
In English: Like making mango juice: Plucking raw mangoes (Collection), washing away mud and peeling spoiled parts (Cleaning), slicing into pulp (Transformation), blending (Analysis), and serving in clean glasses (Visualization).
آم کا جوس بنانا: باغ سے کچے آم توڑنا (Collection)، دھونا اور خراب حصے کاٹنا (Cleaning)، گودا بنانا (Transformation)، بلینڈ کرنا (Analysis) اور شیشے کے گلاس میں پیش کرنا (Visualization)۔
BISE Punjab Board Examination Tip (اہم امتحانی نکات):
Name and explain the stages of the Data Analysis pipeline.
22. Descriptive Statistics: Central Tendency vs. Dispersion
۲. مرکزی رجحان اور پھیلاؤ کے شماریاتی پیمانے
English Theoretical Concept & Technical Breakdown:
### Measures of Central Tendency:
- **Mean (Average):** Sum of all items divided by count ($\mu = \frac{\sum x}{N}$). Heavily influenced by extreme outliers (e.g., if nine students earn Rs. 20,000 and one CEO earns Rs. 20,000,000, the Mean becomes completely misleading).
- **Median:** The exact middle item when numbers are sorted in ascending order. **Resistant to outliers.** Best metric for skewed distributions like income or house prices.
- **Mode:** The single most frequently occurring number in the dataset. Ideal for categorical data (e.g., most popular shoe size sold in a store).
### Measures of Dispersion (Spread):
- **Range:** Maximum value minus minimum value.
- **Variance ($\sigma^2$):** Average squared difference from the Mean.
- **Standard Deviation ($\sigma$):** The square root of variance. Indicates how tightly clustered or widely scattered student marks are around the class average.
آسان اردو میں مکمل اور تفصیلی وضاحت:
### مرکزی رجحان کے پیمانے (Central Tendency):
- **اوسط (Mean):** تمام نمبروں کا مجموعہ تقسیم کل تعداد۔ اس میں اگر کوئی ایک بہت بڑا غیر معمولی نمبر آ جائے تو اوسط خراب ہو جاتی ہے۔
- **میڈین (Median):** ترتیب دینے کے بعد عین درمیانی قیمت۔ اس پر کسی ایک بہت بڑے یا چھوٹے نمبر کا اثر نہیں پڑتا۔ تنخواہوں اور امتحانات کے جائزوں کے لیے سب سے بہترین۔
- **موڈ (Mode):** سب سے زیادہ مرتبہ آنے والی قیمت۔
### پھیلاؤ کے پیمانے (Dispersion):
- **رینج (Range):** سب سے بڑی قیمت نفی سب سے چھوٹی قیمت۔
- **معیاری انحراف (Standard Deviation):** یہ پیمانہ بتاتا ہے کہ کلاس کے طلبہ کے نمبر اوسط سے کتنے دور دور پھیلے ہوئے ہیں۔ اگر سٹینڈرڈ ڈیوی ایشن کم ہو تو اس کا مطلب ہے کہ تمام بچوں کے نمبر اوسط کے قریب قریب ہیں۔
Real-World Student Analogy (روزمرہ زندگی سے آسان فہم مثال):
In English: Shoe Store Inventory: The store manager orders shoe sizes based on the **Mode** (the most frequently bought size, e.g. size 9), not the Mean (size 8.36)!
جوتے کی دکان: دکاندار سب سے زیادہ بکنے والے جوتے کے سائز کا مال منگواتا ہے (جو کہ موڈ Mode ہے)، وہ اوسط نہیں نکالتا کیونکہ ۸ اعشاریہ ۳ سائز کا جوتا نہیں بنتا۔
BISE Punjab Board Examination Tip (اہم امتحانی نکات):
Problem solving question: Calculate Mean, Median, and Mode for a given list of 8 student scores.
Looking for the official textbook pages?
Jump directly to pages 96 - 114 in the embedded streaming viewer.