CSS Prepare

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.

  1. Q1

    Which type of computer memory is VOLATILE — its contents are lost when power is switched off?

    1. A.ROM
    2. B.Hard Disk Drive
    3. C.Flash Storage (SSD)
    4. D.RAM
    Show explanation

    RAM is volatile. ROM, HDD, and SSD retain data without power.

    MPT 2023 & 2025

  2. Q2

    Machine Learning is a sub-area of which broader field?

    1. A.Hardware Engineering
    2. B.Cyber Forensics
    3. C.Database Management
    4. 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

IndicatorValue
MPT Weightage4–6 Marks
Difficulty LevelMedium to High
Confirmed Past Papers2023 · 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 FactCorrect AnswerYear Tested
Machine Learning = sub-area ofArtificial Intelligence2024 — Repeated twice
I/O Ports functionConnect computer to external peripherals (printers, keyboards)2025
NLP = AI branch forHuman language understanding and processing2025
RAM stands for / typeRandom Access Memory — volatile (data lost without power)2025 — Repeated
ROM = type of memoryNon-volatile (retains data without power — stores BIOS)2025 — Repeated
Operating System functionManage hardware and software resources2025
Drum printers categoryChain printer category (impact printers)2024
ALU + CU together formCPU (Central Processing Unit)2023
Touchscreen classificationBoth input AND output (hybrid device)Consistent trap
JavaScript — used forWeb development2025

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.

ComponentRoleFPSC Strategic FactExaminer's Note
CPUThe BrainDivided into ALU (Math/Logic) and CU (Control/Direction). ALU + CU = CPUMost-tested architecture fact (MPT 2023)
ALUCalculatorPerforms arithmetic and logical operations — actual math happens hereNot the CPU generally — specifically the ALU. Common trap
CUTraffic WardenControls and coordinates flow of instructions and data between componentsCU directs; ALU computes
GPUParallel ProcessorHandles thousands of small tasks simultaneously — ideal for graphics and AI trainingUsed for deep learning model training
NPUAI AcceleratorDedicated neural network processor — found in modern smartphones and AI PCsNPU = Neural Processing Unit (2024 trend)
RAMVolatile MemoryTemporary workspace — loses all data when power is off (MPT 2025)Random Access Memory. More RAM = more active tasks
ROMNon-Volatile MemoryPermanent — stores BIOS startup instructions. Survives power loss (MPT 2025)Read-Only Memory. Cannot be easily overwritten
I/O PortsConnectivityConnect computer to external peripherals — printers, keyboards, mice (MPT 2025)I/O = Input/Output. USB, HDMI, audio ports
MotherboardCentral HubConnects all components — CPU, RAM, storage, portsMain 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

CategoryExamplesFPSC Note
Input DevicesKeyboard, Mouse, Scanner, Microphone, Light Pen, Webcam, JoystickData flows FROM user TO computer
Output DevicesMonitor, Printer, Plotter (large blueprints), Speakers, ProjectorData flows FROM computer TO user
Hybrid (Both)Touchscreen, Headset (with mic), Modem, All-in-One PrintersBoth receive input AND produce output. Classic FPSC trap
Storage DevicesHDD, SSD, USB Flash Drive, CD/DVD, External DriveNEITHER 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 TermDefinitionFPSC Strategic Fact
Artificial Intelligence (AI)Broad field of computer science enabling machines to perform tasks that typically require human intelligenceUmbrella 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 programmingMPT 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 languageMPT 2025: Which AI branch processes human language? → NLP. Expect to repeat
Computer VisionA 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 textPredicted high-yield. LLM = statistical probability of next word. Basis of ChatGPT and Gemini
AI HallucinationWhen an AI system confidently generates factually incorrect informationTechnical term — fundamental probabilistic error, not a malfunction
Turing TestA benchmark test proposed by Alan Turing to determine if a machine's responses are indistinguishable from a human'sIf examiner can't tell machine from human → passes Turing Test
Deep FakeAI-generated manipulated video/audio that mimics a real person convincinglyCyber security and ethics concern. Tested under AI Ethics
Why AI answers are NLP, not Machine Learning

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

ConceptDefinitionFPSC Note
Operating System (OS)System software that manages all hardware and software resources of a computerMPT 2025: Function of OS = manage hardware and software resources. Examples: Windows, macOS, Linux
HardwarePhysical components that can be seen and touchedMPT 2022. Keyboard, monitor, CPU, RAM = hardware
SoftwareProgrammed instructions that tell hardware what to doTwo types: System software (OS) and Application software (MS Word, Chrome)
FirmwareSoftware permanently stored in hardware (e.g., BIOS in ROM)Between hardware and software. Not easily changed by users
JavaScriptA programming language primarily used for web development — runs in browsersMPT 2025: Which language is for web development? → JavaScript. Python = general purpose. C++ = systems

12.7 Cyber Security Fundamentals

TermCategory / DefinitionFPSC Strategic Fact
MalwareUmbrella term for all harmful softwareCovers viruses, worms, trojans, ransomware, spyware
VirusMalware that attaches to host files and self-replicatesRequires a host file + user action (click) to spread
WormStandalone malware that spreads across networks automaticallyNo host file needed. Spreads through network vulnerabilities
Trojan HorseMalware disguised as legitimate softwareDoes NOT self-replicate. Appears safe but performs malicious actions
PhishingDeceptive emails/sites that steal passwords and personal dataMost common cyber attack globally. Exploits human psychology
RansomwareEncrypts victim's files; demands payment to restore accessWannaCry (2017) = most famous example
FirewallMonitors and controls network traffic based on security rulesNetwork GATEKEEPER. NOT virus removal — that is antivirus
AntivirusDetects and removes malware from a computer systemAntivirus = cleans inside. Firewall = blocks at entry
Zero Trust ArchitectureSecurity model: Never Trust, Always VerifyEvery access request verified regardless of source — even internal users
EncryptionConverts data to unreadable ciphertext using a keyHTTPS uses SSL/TLS encryption. Decryption reverses it
BlockchainDecentralized digital ledger — records permanent and unalterableNot 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

FactAnswer
Machine Learning = sub-area ofArtificial Intelligence (MPT 2024 — repeated twice)
NLP branch of AI — forHuman language understanding (MPT 2025)
I/O Ports — functionConnect computer to external peripherals (MPT 2025)
RAM = / typeRandom Access Memory — VOLATILE (MPT 2025)
ROM = / typeRead-Only Memory — NON-VOLATILE (MPT 2025)
OS functionManage hardware and software resources (MPT 2025)
JavaScript used forWeb development (MPT 2025)
Modem functionConverts digital ↔ analog signals (MPT 2025)
Drum printers categoryChain printer (impact printer) (MPT 2024)
ALU + CU =CPU (Central Processing Unit) (MPT 2023)
ALU functionArithmetic and Logic operations — actual math
CU functionControls/directs data flow — traffic warden
Touchscreen classificationHYBRID — both input and output
Plotter — used forLarge maps, blueprints (output device)
Firewall vs AntivirusFirewall = blocks network traffic. Antivirus = removes malware
Zero Trust ArchitectureNever Trust, Always Verify — every access verified
AI HallucinationAI confidently generates false information
Turing TestBenchmark: 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)

                          QCorrectTypePrimary TrapWhy Others Fail