PYQ Vault

SSC CGL Tier II Computer Knowledge · Computer Hardware

CPU, Memory, Ports and Devices

What the CPU's parts and registers do, how the kinds of memory and storage differ, and which ports and devices do what.

Why this matters

44 questions in the Tier II bank, 30 EASY, 11 MODERATE and 3 HARD. 21 of them are on memory, and several ask which statement is incorrect, so knowing each memory's speed and whether it keeps data without power answers many at once.

Concept 1 of 3: The CPU and its registers

The CPU has a control unit (directs the work), an arithmetic logic unit (does the calculating) and registers (tiny, very fast stores inside it). Each register has one job in the cycle of fetching, decoding and running an instruction.

Definition

Key facts:

  • CU controls and times the steps; ALU does arithmetic and logic.
  • Registers hold data for the instruction being worked on.
  • Buses are groups of wires carrying bits in parallel between parts.
  • Microprogrammed control is easier to change than a hardwired one.
PartWhat it doesAsked in
Memory Address Register (MAR)Holds the address of the memory location in use2022, 2023
Instruction Register (IR)Holds the instruction being decoded and run2022, 2025
Instruction Buffer Register (IBR)Holds an instruction not to be run at once2022
RegistersHigh-speed stores used during processing2022
BusA path of parallel wires between devices2022
Single-core CPUThe oldest type of CPU2022
Control unitControls the timing and execution of instructions2024
Microprogrammed control unitInstruction set is easy to update2025
Practise this conceptself-check · 3 quick reps

The same idea in a real exam question:

SSC CGL Tier II · 2022 · Tier II (CGL 2022), 7 Mar 2023 · Q136Easy

Example 1 · Computer Hardware · CPU, Memory, Ports and Devices

______ holds address of the active memory location.

Mixing up MAR and IR

The MAR holds an ADDRESS (where in memory); the IR holds an INSTRUCTION (what to do). Read which one the question asks for.

Concept 2 of 3: Memory and storage

Memory is a ladder: registers and cache are fastest and smallest, then main memory (RAM), then storage (disks, drives). RAM forgets when power goes off; ROM and storage keep their data.

Definition

Key facts:

  • Cache sits between the CPU and RAM, holding frequently used data; it is FASTER than main memory.
  • RAM is volatile (loses data without power); ROM keeps firmware such as the BIOS.
  • DRAM must be refreshed because its capacitors leak charge.
  • EEPROM can be erased electrically and rewritten many times.
  • Secondary memory (disks) is non-volatile.
  • Address lines: 2 to the power n locations need n lines (4K = 4,096 = 2 to the 12, so 12 lines).

Diagram · the memory ladder

Registersinside the CPUCachebetween the CPU and RAMMain memory (RAM)talks directly to the CPUforgets when power goes offStoragedisks, SSD, pen drivekeeps data without powerfasterbiggerCache is faster than RAM; RAM is faster than storage.
Device or termFact askedAsked in
Cache memorySpeeds processing; faster than main memory2022, 2023
Main memoryCommunicates directly with the CPU2022
Solid-state driveAlso called an electronic disk2022
Pen driveAlso called a flash drive2022
DVD, memory cardNot magnetic storage2022
Network Attached Storage (NAS)Shared disk storage over Ethernet2022
ROMStores the BIOS or firmware2024
EEPROMROM erased and rewritten electrically2024
DRAM refreshRecharges the capacitors holding bits2024
Tape driveFull backups, slow to restore2023
Copy-on-write snapshotStores pointers until blocks change2025
Practise this conceptself-check · 3 quick reps

The same idea in a real exam question:

SSC CGL Tier II · 2024 · Tier II (CGL 2024), 18 Jan 2025 · Q140Easy

Example 2 · Computer Hardware · CPU, Memory, Ports and Devices

Which of the following is an example of a type of ROM that can be electronically erased and reprogrammed multiple times?

Calling cache slower than RAM

Cache is faster than main memory; that is its whole purpose. A statement saying it is slower is the incorrect one.

Concept 3 of 3: Ports and input and output devices

A port is where a device plugs in, and many have second names SSC likes to ask. A serial port sends bits one after another; a parallel port sends several at once.

Definition

Key facts:

  • Serial port: one bit at a time; slow data over long distances.
  • Parallel port: several bits at once; also called the line printer port.
  • VGA connector: 15 holes, monitor to video card.
  • Input devices send data in (touchscreen, keyboard); output devices show it (monitor, printer).
Port or deviceFact askedAsked in
Parallel portLine printer port2022
PS/2 portMouse port2022
Serial portOne bit at a time, long distances2022
VGA connector15 holes2022
MonitorVisual Display Unit (VDU)2022
OCRReads printed text character by character2022
TouchscreenAn input device2023
Hardware handshaking (RTS/CTS)Prevents buffer overflow and data loss2025
DisplayPortDaisy chaining of monitors (MST)2025
Practise this conceptself-check · 3 quick reps

The same idea in a real exam question:

SSC CGL Tier II · 2022 · Tier II (CGL 2022), 7 Mar 2023 · Q144Easy

Example 3 · Computer Hardware · CPU, Memory, Ports and Devices

Which among the following ports is also called as mouse port?

Swapping serial and parallel

Serial sends one bit after another (slow, long distance); parallel sends several bits side by side (printer port).

Summary — formulas & gotchas at a glance

A revision cheat-sheet for the formulas and gotchas above. Click any concept name to jump back to its full explanation.

Reference tables (3)

The CPU and its registers8 rows
PartWhat it doesAsked in
Memory Address Register (MAR)Holds the address of the memory location in use2022, 2023
Instruction Register (IR)Holds the instruction being decoded and run2022, 2025
Instruction Buffer Register (IBR)Holds an instruction not to be run at once2022
RegistersHigh-speed stores used during processing2022
BusA path of parallel wires between devices2022
Single-core CPUThe oldest type of CPU2022
Control unitControls the timing and execution of instructions2024
Microprogrammed control unitInstruction set is easy to update2025
Memory and storage11 rows
Device or termFact askedAsked in
Cache memorySpeeds processing; faster than main memory2022, 2023
Main memoryCommunicates directly with the CPU2022
Solid-state driveAlso called an electronic disk2022
Pen driveAlso called a flash drive2022
DVD, memory cardNot magnetic storage2022
Network Attached Storage (NAS)Shared disk storage over Ethernet2022
ROMStores the BIOS or firmware2024
EEPROMROM erased and rewritten electrically2024
DRAM refreshRecharges the capacitors holding bits2024
Tape driveFull backups, slow to restore2023
Copy-on-write snapshotStores pointers until blocks change2025
Ports and input and output devices9 rows
Port or deviceFact askedAsked in
Parallel portLine printer port2022
PS/2 portMouse port2022
Serial portOne bit at a time, long distances2022
VGA connector15 holes2022
MonitorVisual Display Unit (VDU)2022
OCRReads printed text character by character2022
TouchscreenAn input device2023
Hardware handshaking (RTS/CTS)Prevents buffer overflow and data loss2025
DisplayPortDaisy chaining of monitors (MST)2025

Watch out for (3)

Test yourself on Computer Hardware

15 past SSC CGL Tier II questions from this chapter, timed at 12 minutes and marked the way the exam marks it. You see your score and every answer the moment you finish. Free to start.