CS132 Computer Organisation & Architecture Revision Flashcards

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

1/28

flashcard set

Earn XP

Description and Tags

Comprehensive vocabulary-style flashcards covering computer architecture topics including numeric representation, logic design, memory systems, I/O, and CPU performance based on lecture notes.

29 Terms

1
New cards

Two's Complement

A signed number representation where the MSB has negative weight; the range for NN bits is −2N−1-2^{N-1} to +2N−1−1+2^{N-1} - 1. Negation is performed by inverting all bits and adding 11.

2
New cards

Booth's Algorithm

A multiplication algorithm for signed Two's Complement numbers that looks at two bits simultaneously, adding or subtracting the multiplicand based on bit transitions to optimize speed.

3
New cards

IEEE 754 Floating Point Formula

The standard representation formula: v=(−1)s×2e×(1+21−p×m)v = (-1)^s \times 2^e \times (1 + 2^{1-p} \times m), where p=mantissa bits+1p = \text{mantissa bits} + 1.

4
New cards

Denormalised numbers

Numbers that are too small in magnitude to be represented in normalized form; they allow values closer to zero using the formula (−1)s×0.m×21−bias(-1)^s \times 0.m \times 2^{1-\text{bias}}.

5
New cards

CMOS (Complementary Metal-Oxide-Semiconductor)

A technology that pairs one NMOS and one PMOS transistor so that one is always OFF, resulting in minimal static power consumption.

6
New cards

Universal Gate

A logic gate (such as NAND or NOR) that can implement any Boolean function entirely by itself.

7
New cards

Sum of Products (SOP)

A canonical representation, also called Disjunctive Normal Form (DNF), created by identifying rows in a truth table where the output is 11 and ORing the resulting minterms.

8
New cards

Karnaugh Map (K-Map)

A 2D truth table where adjacent cells differ by exactly one variable (Gray code), used for simplifying Boolean expressions by grouping 1s in rectangular blocks of size 2n2^n.

9
New cards

Flip-Flop

An edge-triggered sequential logic element that updates its state output only on the rising or falling edge of the clock signal.

10
New cards

Metastable

An unstable intermediate state in a sequential circuit where the voltage is unknown and settles unpredictably, often occurring after forbidden inputs like those in an SR Latch.

11
New cards

Multiplexer (MUX)

A combinational circuit that selects one of NN inputs to connect to a single output based on the value of log2(N)\text{log}_2(N) control select inputs.

12
New cards

3-State Buffer

A component that enables gating signals onto a wire with three possible states: low, high, and an unconnected high-impedance state (ZZ).

13
New cards

Temporal Locality

A principle of memory access stating that recently accessed data is likely to be accessed again soon, such as in loops or variable reuse.

14
New cards

Average Memory Access Time (AMAT)

A performance metric calculated using the formula: AMAT=Hit Time+(Miss Rate×Miss Penalty)\text{AMAT} = \text{Hit Time} + (\text{Miss Rate} \times \text{Miss Penalty}).

15
New cards

SRAM (Static RAM)

A fast, volatile memory using 6 transistors per cell (cross-coupled inverters) that holds data as long as power is supplied and is typically used for CPU caches.

16
New cards

DRAM (Dynamic RAM)

A high-density, cheaper volatile memory using 1 transistor and 1 capacitor (1T1C1T1C) per cell, which requires periodic refreshing as the capacitor charge leaks over time.

17
New cards

SSD Block

The smallest unit of erasure in a Solid State Drive; an entire block must be erased before any page within it can be rewritten due to the 'erase before write' property.

18
New cards

Hamming Code

An Error Correction Code (ECC) that places check bits at power-of-2 positions (1,2,4,8...1, 2, 4, 8 \text{...}) to detect 2-bit errors and correct single-bit errors.

19
New cards

Von Neumann Model

A computer architecture where program instructions and data are stored in the same memory, consisting of a Memory, Processing Unit, Control Unit, Input, and Output.

20
New cards

Instruction Register (IR)

A CPU register that holds the current instruction being decoded and executed by the Control Unit.

21
New cards

Condition Code Register (CCR)

A register containing flags that indicate the results of legal operations, such as NN (negative), ZZ (zero), VV (overflow), and CC (carry).

22
New cards

Interrupt-Driven I/O

An I/O mechanism where the CPU continues other work until a device sends a hardware signal (interrupt) indicating it is ready to be serviced by an Interrupt Service Routine (ISR).

23
New cards

DMA (Direct Memory Access)

An I/O technique where a dedicated controller (DMAC) transfers blocks of data directly between I/O modules and main memory without passing through the CPU.

24
New cards

Microprogrammed Control Unit

A control unit implementation where each instruction is executed as a series of micro-programs from a microcode store, offering high flexibility for CISC architectures.

25
New cards

RISC (Reduced Instruction Set Computer)

An ISA philosophy characterized by a small set of fixed-length instructions, few addressing modes, and a load/store-only architecture to facilitate hardwired control and efficient pipelining.

26
New cards

RAW (Read After Write) Hazard

A data hazard where an instruction requires a result from a previous instruction that has not yet been written back to the register file.

27
New cards

SIMD (Single Instruction, Multiple Data)

A parallel processing architecture where one instruction operates on multiple data elements simultaneously, commonly used in multimedia and GPU workloads.

28
New cards

Deadlock

A multithreading issue where two threads are each waiting for a resource held by the other, resulting in neither thread being able to proceed.

29
New cards

MIPS (Million Instructions Per Second)

A performance metric measuring the number of instructions executed per second, which can be misleading when comparing different architectures like RISC and CISC.