CDS Physics · Electronics and Computer Fundamentals
Electronics, Hardware and Data
Semiconductors and the transistor, the five computer generations with quantum computing and AI, memory types and file sizes, and binary numbers with logic operators.
Why this matters
Nine CDS questions from 2016 (II) to 2026 (I), five of them EASY, and seven of the nine from 2025 and 2026. One asks about the transistor; the rest ask about computer generations, qubits and AI, memory and file sizes, and binary logic.
Concept 1 of 4: Semiconductors, diodes and transistors
Definition
What to know:
- Semiconductors: silicon and germanium. Unlike a metal, a semiconductor conducts better when heated.
- n-type: doped with a five-valence-electron element (phosphorus, arsenic); extra electrons carry the current.
- p-type: doped with a three-valence-electron element (boron, aluminium, gallium); holes carry the current.
- p-n junction diode: current flows one way only, so it rectifies AC into DC. An LED is a diode that gives out light.
- Bipolar junction transistor (n-p-n or p-n-p): three regions, the emitter, the base and the collector. Used as an amplifier and a switch.
| Region of a transistor | Doping | Size |
|---|---|---|
| Emitter | Heavy (the most impurity): it supplies the charge carriers | Medium |
| Base | Light (the least impurity) | Very thin, so carriers cross it without being lostQ CDS 2016 (II): in a bipolar junction transistor the base has the least impurity. |
| Collector | Moderate | The largest, so it can get rid of heat |
Practice this conceptself-check · 4 quick reps
The same idea in a real exam question:
Example 1 · Electronics and Computer Fundamentals · Electronics, Hardware and Data
The base is thin and lightly doped
A hot semiconductor conducts better
Concept 2 of 4: Computer generations and new kinds of computing
Definition
What to know:
- The first microprocessor, the Intel 4004, came in 1971; it began the fourth generation.
- A qubit is the unit of information in a quantum computer. A bit is either 0 or 1; a qubit can be in a mix (superposition) of 0 and 1 at the same time.
- Artificial intelligence (AI): a machine doing tasks that need human intelligence, above all reasoning and making decisions. Voice assistants, face unlock and chatbots are examples.
- Merely storing data is not intelligence: that is what a database does.
| Generation | Main hardware | Roughly when |
|---|---|---|
| First | Vacuum tubes | 1940s to mid 1950s |
| Second | Transistors | Late 1950s to mid 1960s |
| Third | Integrated circuits (ICs) | Mid 1960s to early 1970s |
| Fourth | Microprocessors (very large scale integration) | From 1971Q CDS 2026 (I): the fourth generation used microprocessors. |
| Fifth | Artificial intelligence and parallel processing | Still developing |
Practice this conceptself-check · 4 quick reps
The same idea in a real exam question:
Example 2 · Electronics and Computer Fundamentals · Electronics, Hardware and Data
Integrated circuits are the third generation, microprocessors the fourth
A qubit belongs to quantum computers
Concept 3 of 4: Memory, storage and file sizes
Definition
What to know:
- RAM is volatile: it loses its data without power. ROM is non-volatile.
- PROM is written once. EPROM is erased by ultraviolet light. EEPROM is erased electrically.
- Flash memory is a kind of EEPROM: electrically erasable and non-volatile (pen drives, memory cards, phone storage, SSDs).
- 8 bits = 1 byte. Computer memory counts 1 KB = 1024 bytes, 1 MB = 1024 KB, 1 GB = 1024 MB; makers of drives often use 1000 instead.
- Bit rates are in kilobits per second (kbps). MP3 at 128 kbps is about 1 MB a minute; uncompressed CD sound (1411 kbps) is about 10 MB a minute.
- Multimedia mixes text, graphics, audio, video and images that the user can interact with. JPEG and PNG are image formats, MP3 is audio, MP4 is video.
Size of a sound or video file
- bit ratebits stored for each second of playing time
- 8bits in one byte
Worked example
Practice this conceptself-check · 4 quick reps
The same idea in a real exam question:
Example 3 · Electronics and Computer Fundamentals · Electronics, Hardware and Data
Flash is erased electrically, not by ultraviolet light
Bits are not bytes
Two sizes of megabyte
Concept 4 of 4: Binary numbers and logic operators
Definition
The rules:
- Binary place values from the right: 1, 2, 4, 8, 16, ... So .
- AND: 1 only if both inputs are 1. OR: 1 if at least one input is 1. NOT: turns 1 into 0 and 0 into 1. NAND, NOR and XOR are also logic operators.
- Arithmetic operators (+, −, ×, ÷) are not logic operators.
- 2's complement of a number: flip every bit, then add 1.
- To find : add and the 2's complement of . On an -bit machine only bits are kept, so the carry out of the left end falls away.
Subtraction by 2's complement
- B with every bit flipped (1's complement)
- nnumber of bits the machine holds
Worked example
Practice this conceptself-check · 4 quick reps
The same idea in a real exam question:
Example 4 · Electronics and Computer Fundamentals · Electronics, Hardware and Data
AND needs both, OR needs one
Flip, then add 1
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.
Formulas (2)
- Memory, storage and file sizes
Size of a sound or video file
- Binary numbers and logic operators
Subtraction by 2's complement
Reference tables (2)
Semiconductors, diodes and transistors3 rows
| Region of a transistor | Doping | Size |
|---|---|---|
| Emitter | Heavy (the most impurity): it supplies the charge carriers | Medium |
| Base | Light (the least impurity) | Very thin, so carriers cross it without being lostQ CDS 2016 (II): in a bipolar junction transistor the base has the least impurity. |
| Collector | Moderate | The largest, so it can get rid of heat |
Computer generations and new kinds of computing5 rows
| Generation | Main hardware | Roughly when |
|---|---|---|
| First | Vacuum tubes | 1940s to mid 1950s |
| Second | Transistors | Late 1950s to mid 1960s |
| Third | Integrated circuits (ICs) | Mid 1960s to early 1970s |
| Fourth | Microprocessors (very large scale integration) | From 1971Q CDS 2026 (I): the fourth generation used microprocessors. |
| Fifth | Artificial intelligence and parallel processing | Still developing |
Watch out for (9)
- The base is thin and lightly doped→ Semiconductors, diodes and transistors
- A hot semiconductor conducts better→ Semiconductors, diodes and transistors
- Integrated circuits are the third generation, microprocessors the fourth→ Computer generations and new kinds of computing
- A qubit belongs to quantum computers→ Computer generations and new kinds of computing
- Flash is erased electrically, not by ultraviolet light→ Memory, storage and file sizes
- Bits are not bytes→ Memory, storage and file sizes
- Two sizes of megabyte→ Memory, storage and file sizes
- AND needs both, OR needs one→ Binary numbers and logic operators
- Flip, then add 1→ Binary numbers and logic operators
Test yourself on Electronics and Computer Fundamentals
10 past CDS questions from this chapter, timed at 10 minutes and marked the way the exam marks it. You see your score and every answer the moment you finish. Free to start.