Sitemap

Member-only story

Python Basic — 4

--

What is data?
Raw facts and observations.

What is information?
Processed data that has meaning.

Primary vs secondary data?

Primary → collected directly
Secondary → already collected

What is data processing?
Transforming raw data into useful information.

Mean? Sum divided by number of values.

Median? Middle value after sorting.

Mode? Most frequent value.

Range? Maximum minus minimum.

⚠️ INTERVIEW TRAPS

Trap 1 — Data and information are identical

No.

Data
→ raw

Information
→ processed + meaningful

Trap 2 — Median can be found without considering order

You first need the values arranged in order.

Trap 3 — Mean and median are always equal

No.

Example:

1, 2, 100

Median: 2

Mean:

103 / 3 ≈ 34.33

Very different.

Trap 4 — Mode means largest number

No.

--

--

Senior iOS Developer & Mobile Architect | 11+ Years | Swift, SwiftUI, tvOS & OTT | Building Apps, Exploring AI & Share https://resume.nirajpaul.com