Topic 3- Time and frequency

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/92

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 12:16 PM on 6/5/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

93 Terms

1
New cards

How are memory cells arranged in RAM?

8-bit (byte) words arranged in rows and columns (e.g., 8x8 matrix)

2
New cards

What does a row-select decoder do?

Decodes address lines to select a specific row in memory

3
New cards

10 address lines can address how many bytes?

2^10 = 1024 bytes

4
New cards

Name 4 types of ROM

ROM, EEPROM, UV Erasable Programmable ROM, Flash Memory

5
New cards

How many times can ROM be written?

Once (read many times)

6
New cards

Can Flash Memory be written multiple times?

Yes, but limited number of writes

7
New cards

What is the memory hierarchy pyramid (top to bottom)?

CPU Register → CPU Cache → RAM → Hard Disk Drive

8
New cards

Which is fastest: CPU Register or HDD?

CPU Register (1 nanosecond vs 10 milliseconds)

9
New cards

Which has larger capacity: Cache or RAM?

RAM (gigabytes vs megabytes)

10
New cards

Why is memory faster at the top of the pyramid?

Faster memory is more expensive, so smaller in capacity

11
New cards

What is the Von Neumann memory bottleneck?

Instructions and data share the same memory path → can't transfer at same time → slows CPU

12
New cards

How to solve the Von Neumann bottleneck?

Store instructions and data in two separate memory spaces with two separate paths

13
New cards

What does CPU stand for?

Central Processing Unit

14
New cards

What is a CPU (explain, not just acronym)?

The brain of the computer — processes instructions and data, controls everything

15
New cards

Where is the CPU located?

On the motherboard, under a heat sink and fan

16
New cards

What does the CPU do?

Fetches instructions and data from RAM/cache, decides what to do, executes, repeats

17
New cards

What does ALU stand for?

Arithmetic and Logic Unit

18
New cards

What does ALU do?

Arithmetic (add/sub/mul/div), bitwise logic (AND/OR/NOT), shifts/rotates, value comparisons (eq/neq/gt/lt)

19
New cards

Name 5 things ALU does

Arithmetic, bitwise logical operations, shifts/rotates, comparisons, maintains temp results

20
New cards

3 & 1 in binary equals?

0011 & 0001 = 0001 = dec 1

21
New cards

8 in binary equals?

0011

22
New cards

^8 in binary equals?

NOT 1000 = 0111 = dec 7

23
New cards

1 << 2 equals?

Shift left 0001 → 0100 = dec 4

24
New cards

What does Control Unit do?

Fetches instructions, decodes, executes, provides timing control, handles interrupts, provides pipelining

25
New cards

Name the 3 stages of instruction execution

Fetch → Decode → Execute

26
New cards

What happens in Fetch stage?

CPU gets instruction from memory/cache

27
New cards

What happens in Decode stage?

Control Unit interprets what to do

28
New cards

What happens in Execute stage?

ALU performs the operation

29
New cards

What does the Control Unit provide?

Timing and synchronisation control/ Pipelining (concurrent fetch/decode/execute stages)

30
New cards

What does the Control Unit handle?

Instruction vectoring (interrupts)

31
New cards

How is CPU speed measured?

Gigahertz (GHz)

32
New cards

How is CPU performance measured?

Instructions per second

33
New cards

What is the maximum CPU speed range?

Around 6 GHz

34
New cards

Name 4 techniques to improve CPU performance

Cache memories, instruction optimisations, instruction pipelines, out of order execution

35
New cards

How does caching improve performance?

Stores recently used instructions (e.g., local loops) in fast cache so CPU doesn't wait for RAM

36
New cards

What is instruction prediction?

Predict next jump target based on previous history; roll back if wrong

37
New cards

What is pipelining?

Concurrent Fetch/Decode/Execute stages — overlapping instructions

38
New cards

Which image shows pipelining?

Multiple instructions overlapping at same time

39
New cards

What happens if CPU predicts a loop correctly?

Bypasses the test and goto instruction — saves time

40
New cards

What is cache?

Very fast RAM that stores copies of frequently used data from main memory

41
New cards

Why is cache faster than RAM?

Cache is closer to CPU + made of faster memory (SRAM vs DRAM)

42
New cards

Example: 1 GHz CPU, 3 nsec cache read time = ?

CPU wait time = 3 cycles

43
New cards

How does cache work?

CPU requests data from cache. If not there (cache miss), copied from RAM into cache

44
New cards

What happens if data requested is not in cache?

Copied from RAM, possibly replacing old data in cache

45
New cards

What are computer buses?

Highways of information that travel at high speeds under strict timing rules

46
New cards

Name the 3 types of buses

Address bus, Data bus, Control bus

47
New cards

What do buses do?

Flow of data between major functional components (CPU, RAM, I/O)

48
New cards

What are buses made of?

Sets of wires or tracks on motherboards or embedded in microprocessors

49
New cards

Bus width is determined by?

CPU's word size (8-bit, 16-bit, 32-bit, etc.)

50
New cards

Bus speed is measured in?

KHz, MHz

51
New cards

Bus bandwidth formula?

Bandwidth (MB/sec) = width (bytes) × speed (MHz)

52
New cards

What does bus bandwidth measure?

Efficiency of the bus and its components

53
New cards

RISC stands for?

Reduced Instruction Set Computer

54
New cards

CISC stands for?

Complex Instruction Set Computer

55
New cards

CISC characteristics?

Many complex instructions, few fast registers, instructions use memory references → slower, complicated circuitry

56
New cards

RISC characteristics?

Few simple instructions, many fast registers, only load/store use memory → faster, simpler circuitry

57
New cards

Disadvantage of RISC?

RISC programs are larger (more instructions needed to do same work as CISC)

58
New cards

In 1976, Intel 8086 had how many transistors?

29,000 transistors (3.2 micron process)

59
New cards

In 2023, Intel i9 had how many transistors?

4.2 billion transistors (10 nano process)

60
New cards

50 years ago, 1 Mbyte core memory cost?

£100,000

61
New cards

Today, 1 GByte memory costs?

Tens of pounds

62
New cards

How much has CPU chip density increased in 50 years?

1 million times more

63
New cards

What does DMA stand for?

Direct Memory Access

64
New cards

What does DMA allow?

I/O to communicate directly with memory without CPU involvement

65
New cards

What is the R/W signal?

Read/Write signal — determines if memory is being read from or written to

66
New cards

What are column I/O circuits?

Circuits that handle data input/output for selected memory column

67
New cards

What is the difference between UV Erasable ROM and EEPROM?

UV Erasable needs ultraviolet light to erase; EEPROM uses electrical signals

68
New cards

What is the memory bottleneck problem?

Instructions and data share same path → can't transfer simultaneously → CPU waits

69
New cards

What is out of order execution?

CPU executes instructions not in original order to avoid waiting

70
New cards

What is the RISC disadvantage?

Programs are larger (more instructions needed for same task)

71
New cards

Which CPU architecture is simpler?

RISC (simpler instructions, simpler circuitry)

72
New cards

What does "quad-core" mean?

Four processing cores inside one CPU chip — can work on 4 tasks at once

73
New cards

What is RAM (explain, not just acronym)?

Temporary working memory — stores currently running programs and data

74
New cards

What happens when RAM fills up?

Computer uses virtual memory (hard drive space pretending to be RAM) — much slower

75
New cards

Can you upgrade RAM?

Yes — adding more RAM usually makes computer faster for multitasking

76
New cards

What is ROM (explain, not just acronym)?

Permanent memory that holds instructions the computer needs to start up (BIOS/UEFI)

77
New cards

What is stored in ROM?

BIOS/UEFI — basic instructions to boot the computer

78
New cards

What is cache (explain)?

Very small, extremely fast memory inside or very close to the CPU

79
New cards

What are cache levels?

L1 (fastest, smallest, inside CPU), L2 (bigger, slightly slower), L3 (even bigger, shared)

80
New cards

What is a "cache hit"?

Data found in cache → CPU gets it quickly

81
New cards

What is a "cache miss"?

Data not in cache → CPU must fetch from RAM (slower)

82
New cards

What is an HDD (explain)?

Traditional permanent storage with spinning magnetic platters

83
New cards

What does HDD stand for?

Hard Disk Drive

84
New cards

What is an SSD (explain)?

Permanent storage with no moving parts — uses flash memory chips

85
New cards

What does SSD stand for?

Solid State Drive

86
New cards

Why is SSD more expensive than HDD?

Faster technology + no moving parts = higher cost per GB

87
New cards

What is a computer bus (explain)?

Communication system that transfers data between components inside computer

88
New cards

Analogy for pipelining?

Like an assembly line — each stage works on different instruction at same time

89
New cards

What is the memory hierarchy?

Arrangement of memory types from fastest/smallest to slowest/largest

90
New cards

Why not just use all fast memory?

Fast memory is very expensive

91
New cards

How to solve Von Neumann bottleneck?

Harvard architecture — separate paths for instructions and data

92
New cards

What is a micro-controller?

Small computer on single chip — CPU + RAM + ROM all integrated

93
New cards

Difference between CPU and micro-controller?

CPU is just processor; micro-controller has memory and I/O on same chip