Chapter 12
Computer Fundamentals & The AI Revolution
Unit IV · CS & IT — fastest-growing section. 10 MCQs in 2025. RAM/ROM, generations, AI, ML, NLP.
Practice MCQs · FPSC Pattern
Commit to a choice before opening the explanation. Surface familiarity is the #1 reason candidates fail in the exam hall.
- Q1
Which type of computer memory is VOLATILE — its contents are lost when power is switched off?
- A.ROM
- B.Hard Disk Drive
- C.Flash Storage (SSD)
- D.RAM
Show explanation
RAM is volatile. ROM, HDD, and SSD retain data without power.
MPT 2023 & 2025
- Q2
Machine Learning is a sub-area of which broader field?
- A.Hardware Engineering
- B.Cyber Forensics
- C.Database Management
- D.Artificial Intelligence
Show explanation
ML ⊂ AI. NLP and Computer Vision are also branches of AI.
MPT 2024
Full Chapter Notes
Source · FPSC Trap Decoder · CSS MPT Smart Notes (2026 Edition)
12.1 Context
| Indicator | Value |
|---|---|
| MPT Weightage | 4–6 Marks |
| Difficulty Level | Medium to High |
| Confirmed Past Papers | 2023 · 2024 · 2025 |
Trend Alert. IT is no longer about MS Office. The 2025 paper had 10 direct CS questions — the highest count ever. Confirmed repeaters: RAM = volatile (2025), ROM = non-volatile (2025), I/O Ports = connect peripherals (2025), Machine Learning = sub-area of AI (2024 — repeated twice), OS = manages hardware/software (2025), Modem = converts digital to analog (2025). NLP as an AI branch appeared for the first time in 2025 — expect it to repeat.
12.2 High-Yield Fact Snapshot
| FPSC-Tested Fact | Correct Answer | Year Tested |
|---|---|---|
| Machine Learning = sub-area of | Artificial Intelligence | 2024 — Repeated twice |
| I/O Ports function | Connect computer to external peripherals (printers, keyboards) | 2025 |
| NLP = AI branch for | Human language understanding and processing | 2025 |
| RAM stands for / type | Random Access Memory — volatile (data lost without power) | 2025 — Repeated |
| ROM = type of memory | Non-volatile (retains data without power — stores BIOS) | 2025 — Repeated |
| Operating System function | Manage hardware and software resources | 2025 |
| Drum printers category | Chain printer category (impact printers) | 2024 |
| ALU + CU together form | CPU (Central Processing Unit) | 2023 |
| Touchscreen classification | Both input AND output (hybrid device) | Consistent trap |
| JavaScript — used for | Web development | 2025 |
12.3 Computer Architecture — The Core Components
The MPT tests computer architecture through role identification — who does what. Master the CPU's internal division and the memory volatility distinction — both are confirmed repeat targets.
| Component | Role | FPSC Strategic Fact | Examiner's Note |
|---|---|---|---|
| CPU | The Brain | Divided into ALU (Math/Logic) and CU (Control/Direction). ALU + CU = CPU | Most-tested architecture fact (MPT 2023) |
| ALU | Calculator | Performs arithmetic and logical operations — actual math happens here | Not the CPU generally — specifically the ALU. Common trap |
| CU | Traffic Warden | Controls and coordinates flow of instructions and data between components | CU directs; ALU computes |
| GPU | Parallel Processor | Handles thousands of small tasks simultaneously — ideal for graphics and AI training | Used for deep learning model training |
| NPU | AI Accelerator | Dedicated neural network processor — found in modern smartphones and AI PCs | NPU = Neural Processing Unit (2024 trend) |
| RAM | Volatile Memory | Temporary workspace — loses all data when power is off (MPT 2025) | Random Access Memory. More RAM = more active tasks |
| ROM | Non-Volatile Memory | Permanent — stores BIOS startup instructions. Survives power loss (MPT 2025) | Read-Only Memory. Cannot be easily overwritten |
| I/O Ports | Connectivity | Connect computer to external peripherals — printers, keyboards, mice (MPT 2025) | I/O = Input/Output. USB, HDMI, audio ports |
| Motherboard | Central Hub | Connects all components — CPU, RAM, storage, ports | Main circuit board. Not the same as CPU |
ALU Trap. When asked "Where does actual mathematical calculation happen in a computer?", students answer CPU generally. The correct answer is the ALU (Arithmetic Logic Unit) — the specific sub-component of the CPU that executes all arithmetic and logical operations. CPU = the brain; ALU = the calculator inside the brain. Appeared MPT 2023.
RAM vs ROM Trap. RAM = VOLATILE — loses all data when power is off. ROM = NON-VOLATILE — retains data without power and stores BIOS startup instructions. Both appeared in MPT 2025. Cache is also volatile — RAM and Cache both lose data on power failure. ROM and Hard Drive retain data.
12.4 Input, Output & Hybrid Devices
| Category | Examples | FPSC Note |
|---|---|---|
| Input Devices | Keyboard, Mouse, Scanner, Microphone, Light Pen, Webcam, Joystick | Data flows FROM user TO computer |
| Output Devices | Monitor, Printer, Plotter (large blueprints), Speakers, Projector | Data flows FROM computer TO user |
| Hybrid (Both) | Touchscreen, Headset (with mic), Modem, All-in-One Printers | Both receive input AND produce output. Classic FPSC trap |
| Storage Devices | HDD, SSD, USB Flash Drive, CD/DVD, External Drive | NEITHER input NOR output — they store data. FPSC trap |
Storage Trap. Hard Drives, SSDs, and USB Flash Drives are STORAGE devices — not output devices. FPSC options often list a USB drive under output. A standard monitor is output ONLY; a touchscreen monitor is HYBRID. Drum printers are impact printers classified under the chain-printer family — appeared MPT 2024.
12.5 AI & The Modern Technology Frontier
This is the fastest-growing FPSC target area. NLP appeared for the first time in 2025. Machine Learning appeared in 2024 (twice). Expect 2–3 AI questions in every future paper.
| AI Term | Definition | FPSC Strategic Fact |
|---|---|---|
| Artificial Intelligence (AI) | Broad field of computer science enabling machines to perform tasks that typically require human intelligence | Umbrella term. ML, NLP, Computer Vision are all sub-areas |
| Machine Learning (ML) | A sub-area of AI where systems learn from data to improve performance without explicit programming | MPT 2024 — repeated twice: Machine Learning is a sub-area of Artificial Intelligence |
| Natural Language Processing (NLP) | A branch of AI focused on enabling machines to understand, interpret, and process human language | MPT 2025: Which AI branch processes human language? → NLP. Expect to repeat |
| Computer Vision | A branch of AI enabling machines to interpret visual information (images, video) | Distractor option when NLP is the correct answer |
| LLMs (Large Language Models) | AI models trained on vast text datasets to generate human-like text | Predicted high-yield. LLM = statistical probability of next word. Basis of ChatGPT and Gemini |
| AI Hallucination | When an AI system confidently generates factually incorrect information | Technical term — fundamental probabilistic error, not a malfunction |
| Turing Test | A benchmark test proposed by Alan Turing to determine if a machine's responses are indistinguishable from a human's | If examiner can't tell machine from human → passes Turing Test |
| Deep Fake | AI-generated manipulated video/audio that mimics a real person convincingly | Cyber security and ethics concern. Tested under AI Ethics |
When FPSC asks "Which AI branch enables machines to UNDERSTAND HUMAN LANGUAGE?" the answer is NLP (Natural Language Processing) — not Machine Learning (which is about learning from data generally). When asked "Machine Learning is a sub-area of…?" the answer is Artificial Intelligence. These are two different questions with different answers.
12.6 Operating System & Software
| Concept | Definition | FPSC Note |
|---|---|---|
| Operating System (OS) | System software that manages all hardware and software resources of a computer | MPT 2025: Function of OS = manage hardware and software resources. Examples: Windows, macOS, Linux |
| Hardware | Physical components that can be seen and touched | MPT 2022. Keyboard, monitor, CPU, RAM = hardware |
| Software | Programmed instructions that tell hardware what to do | Two types: System software (OS) and Application software (MS Word, Chrome) |
| Firmware | Software permanently stored in hardware (e.g., BIOS in ROM) | Between hardware and software. Not easily changed by users |
| JavaScript | A programming language primarily used for web development — runs in browsers | MPT 2025: Which language is for web development? → JavaScript. Python = general purpose. C++ = systems |
12.7 Cyber Security Fundamentals
| Term | Category / Definition | FPSC Strategic Fact |
|---|---|---|
| Malware | Umbrella term for all harmful software | Covers viruses, worms, trojans, ransomware, spyware |
| Virus | Malware that attaches to host files and self-replicates | Requires a host file + user action (click) to spread |
| Worm | Standalone malware that spreads across networks automatically | No host file needed. Spreads through network vulnerabilities |
| Trojan Horse | Malware disguised as legitimate software | Does NOT self-replicate. Appears safe but performs malicious actions |
| Phishing | Deceptive emails/sites that steal passwords and personal data | Most common cyber attack globally. Exploits human psychology |
| Ransomware | Encrypts victim's files; demands payment to restore access | WannaCry (2017) = most famous example |
| Firewall | Monitors and controls network traffic based on security rules | Network GATEKEEPER. NOT virus removal — that is antivirus |
| Antivirus | Detects and removes malware from a computer system | Antivirus = cleans inside. Firewall = blocks at entry |
| Zero Trust Architecture | Security model: Never Trust, Always Verify | Every access request verified regardless of source — even internal users |
| Encryption | Converts data to unreadable ciphertext using a key | HTTPS uses SSL/TLS encryption. Decryption reverses it |
| Blockchain | Decentralized digital ledger — records permanent and unalterable | Not controlled by any single entity. Used in cryptocurrency |
Firewall vs Antivirus Trap. Firewall = NETWORK GATEKEEPER — monitors and blocks unauthorised network traffic BEFORE it enters the system. Antivirus = INTERNAL DOCTOR — detects and removes malware already INSIDE the system. FPSC questions ask for one and offer the other as the most attractive distractor.
12.8 Battle Card — 5-Minute Revision
| Fact | Answer |
|---|---|
| Machine Learning = sub-area of | Artificial Intelligence (MPT 2024 — repeated twice) |
| NLP branch of AI — for | Human language understanding (MPT 2025) |
| I/O Ports — function | Connect computer to external peripherals (MPT 2025) |
| RAM = / type | Random Access Memory — VOLATILE (MPT 2025) |
| ROM = / type | Read-Only Memory — NON-VOLATILE (MPT 2025) |
| OS function | Manage hardware and software resources (MPT 2025) |
| JavaScript used for | Web development (MPT 2025) |
| Modem function | Converts digital ↔ analog signals (MPT 2025) |
| Drum printers category | Chain printer (impact printer) (MPT 2024) |
| ALU + CU = | CPU (Central Processing Unit) (MPT 2023) |
| ALU function | Arithmetic and Logic operations — actual math |
| CU function | Controls/directs data flow — traffic warden |
| Touchscreen classification | HYBRID — both input and output |
| Plotter — used for | Large maps, blueprints (output device) |
| Firewall vs Antivirus | Firewall = blocks network traffic. Antivirus = removes malware |
| Zero Trust Architecture | Never Trust, Always Verify — every access verified |
| AI Hallucination | AI confidently generates false information |
| Turing Test | Benchmark: is machine indistinguishable from human? |
12.9 Practice MCQs — FPSC Level
Part A — Basic Recall
Confirmed FPSC facts (Q1–Q4).
Machine Learning is a sub-area of:
Show explanation
Machine Learning is a subset/sub-area of Artificial Intelligence (AI). ML focuses on algorithms that learn from data. AI is the broader field encompassing ML, NLP, Computer Vision, Robotics, and more.
MPT 2024 — Repeated in paper
Which type of memory is volatile and loses its contents when power is switched off?
Show explanation
RAM (Random Access Memory) is volatile — it requires constant electrical power to retain data. When power is cut (computer shutdown or crash), all RAM contents are immediately lost. ROM and Hard Drives are non-volatile.
MPT 2025
Which component connects a computer to external peripherals such as printers and keyboards?
Show explanation
I/O (Input/Output) Ports are the physical connection points that allow a computer to communicate with external peripherals — USB ports, HDMI, audio jacks, etc.
MPT 2025
Which branch of AI is focused on enabling machines to understand and process human language?
Show explanation
NLP (Natural Language Processing) is the AI branch specifically focused on enabling machines to understand, interpret, and generate human language. Computer Vision handles images/video. Machine Learning is about learning from data generally.
MPT 2025 — expect to repeat
Part B — Trap-Based
ALU vs CPU, RAM vs ROM, hybrid devices, printers (Q5–Q8).
The ALU (Arithmetic Logic Unit) and Control Unit (CU) together form the:
Show explanation
The CPU (Central Processing Unit) is composed of two main units: the ALU (Arithmetic Logic Unit) which performs all mathematical and logical operations, and the CU (Control Unit) which directs the flow of data and instructions between components.
MPT 2023
Which is a type of non-volatile memory that stores BIOS startup instructions?
Show explanation
ROM (Read-Only Memory) is non-volatile — it permanently stores the BIOS (Basic Input/Output System) startup instructions. RAM is volatile. Cache is volatile. Virtual Memory is a technique using storage space, not a chip.
MPT 2025 — RAM vs ROM trap
A touchscreen device is technically classified as:
Show explanation
A touchscreen is a hybrid device — it simultaneously functions as an output device (displaying images and information) and an input device (receiving touch commands).
Trap: Touchscreen = hybrid — breaks standard I/O classification
Drum printers belong to which of the following categories?
Show explanation
Drum printers and chain printers are both impact line printers. FPSC's 2024 answer classifies drum printers within the chain-printer family of impact line printers.
MPT 2024
Part C — Elite Simulation
Multi-statement reasoning and AI terminology (Q9–Q12).
Consider: (1) RAM is volatile memory. (2) ROM retains data without power. (3) Cache memory is slower than RAM. Which are correct?
Show explanation
Statement 1 is correct: RAM = volatile. Statement 2 is correct: ROM retains data without power. Statement 3 is FALSE: Cache is FASTER than RAM — not slower. Memory speed hierarchy: Registers → Cache → RAM → Hard Drive.
Trap: Statement 3 is FALSE — Cache is FASTER than RAM
Which combination is correctly matched? (1) ALU — Arithmetic and Logic operations. (2) CU — Directs flow of instructions. (3) GPU — Dedicated to AI workloads only. Which are correct?
Show explanation
Statements 1 and 2 are correct: ALU = arithmetic/logic; CU = directs instructions. Statement 3 is partially wrong — GPUs are designed for massive parallel computations used in graphics AND AI/deep learning training, but they are not dedicated exclusively to AI workloads.
Trap: GPU is for parallel processing and AI training, not exclusively AI
When an AI model confidently provides incorrect information, this is called:
Show explanation
AI Hallucination is the technical term for when an AI model confidently generates factually incorrect information. It occurs because LLMs predict statistically likely responses rather than retrieving verified facts.
Trap: AI Hallucination — technical AI terminology
Which programming language is primarily associated with web development in browsers?
Show explanation
JavaScript is the primary programming language for web development — it runs directly in web browsers and enables interactive web pages. Python is used for data science. C++ is for systems programming. Java is for enterprise applications.
MPT 2025
Answer Key with Trap Analysis
Computer Fundamentals & The AI Revolution (Q1–Q12)
| Q | Correct | Type | Primary Trap | Why Others Fail |
|---|