Computer Systems Architecture

studied byStudied by 11 people
5.0(1)
learn
LearnA personalized and smart learning plan
exam
Practice TestTake a test on your terms and definitions
spaced repetition
Spaced RepetitionScientifically backed study method
heart puzzle
Matching GameHow quick can you match all your cards?
flashcards
FlashcardsStudy terms and definitions

1 / 176

encourage image

There's no tags or description

Looks like no one added any tags here yet for you.

177 Terms

1

Computer

A computer is an electronic device that can accept input, process it according to instructions, store the instructions and the result and output information.

New cards
2

Data

Data refers to information/facts that is processed or stored by a computer to provide information.

New cards
3

Hardware

The physical components of a computer system, allowing input and output

New cards
4

Software

Programs that tell the computer what to do

New cards
5

5 Basic Hardware Components

Input devices, CPU, Primary Storage, Secondary Storage, Output devices

New cards
6

John Vonn Neuman Model

Input unit, Memory unit, ALU, CU, Output unit.

New cards
7

Harvard Architecture

Stores data and instructions in separate memory units

New cards
8

Basic Data Formats

Numeric, Alphanumeric, Graphic, Audio, Video

New cards
9

Bit

The smallest unit of data in a computer, representing a binary value of either 0 or 1

New cards
10

Byte

A unit of data that is a group of 8 bits, used to represent a single character of data (letter , number , symbol etc.)

New cards
11

Kilobyte to byte?

1 Kilobyte = 2^10 bytes = 1,024 bytes

New cards
12

3 Performance Measures

MIPS, MFLOPS, Gigahertz.

New cards
13

MIPS

A general measure of “the amount of work a computer can do”. It stands for "Million Instructions Per Second" and indicates the speed of a computer's instruction processing.

New cards
14

MFLOPS

A measure of a computer's performance, specifically the number of million floating-point operations it can perform per second.

New cards
15

Gigahertz

Unit of measure of the “clock speed” of the processor.

New cards
16

Computer Classification

Supercomputers, Mainframes, Minicomputers, Microcomputers

New cards
17

Supercomputer

Have most processing power available, used for scientific / military work or large simulation models

New cards
18

Mainframes

Used by corporations with large databases ( banks etc.), has high storage etc.

New cards
19

Minicomputers

Midrange computers, small, cheap and compact, somewhat obsolete ( replaced by servers).

New cards
20

Microcomputers

Built around 1 chip processor, relatively small, designed for one individual, “Personal Computers”.

New cards
21

Binary Numbers

Term comes from a Latin word and means ‘two’ in

English (0 and 1).

This means that while counting in binary you cannot

exceed 1.

New cards
22

Unsigned Binary

Direct binary equivalent of any decimal number. Range of 0-255

New cards
23

Binary Coded Decimal

Digit-by-digit binary. Numbers stored as 4 bits per digit.

New cards
24

Signed Magnitude ( Binary )

Using leftmost digit as representation of sign ( + or - ). Range of [-127, -0 , +0 , 127]

New cards
25

ONE’s Complement Process

Magnitude of negative numbers is represented by taking 1’s compliment of each bit. If there is a “carry 1”, we add it to the result.

New cards
26

TWO’s Compliment Process

Turning numbers into negative is: 1. Taking one’s compliment, 2. Adding 1 to that result to ignore carry bits.

New cards
27

Octal Numbers Range

Octal numbers are built from 8 octal digits: 0, 1, 2, 3, 4, 5, 6, 7.

New cards
28

Hexadecimal Numbers Range

Hex numbers are built from 16 digits: 0-9 and A-F

New cards
29

Boolean Algebra

Implies something that can be either true or false ( 0 or 1 ).

New cards
30

4 Main Boolean Operators

NOT, AND, OR, XOR

New cards
31

NOT Boolean Operator

Given a Boolean A, is the opposite of A.

New cards
32

AND Boolean Operator

Given 2 Booleans (A and B), is true if both A and B are true.

New cards
33

OR Boolean Operator

Given 2 Booleans (A and B), is true if either or both A or B are true.

New cards
34

XOR Boolean Operator

Given 2 Booleans (A and B), is true if either but not both A or B are true.

New cards
35

Truth Table

Mathematical table used to represent outputs of a Boolean function of all possible input combinations. n variables = 2^n rows.

New cards
36

Logic Gates

Boolean logic in computers is done through gates, made of transistor switches and others.

New cards
37

De Morgan’s Theorem

( A + B )’ = A’ * B’ or ( A * B )’ = A’ + B’

New cards
38

Boolean Functions

A Boolean function is a mathematical expression consisting of Boolean variables and operators ( OR, AND, NOT).

New cards
39

Literal: Boolean Functions

The variables used (A, B, C’)

New cards
40

Product term: Boolean Functions

Expression of literals combined by AND operator

New cards
41

Sum Term: Boolean Functions

Expression of literals combined by OR operator

New cards
42

Sum of Products: Boolean Functions

The sum of product terms

New cards
43

Product of Sums: Boolean Functions

The product of sum terms

New cards
44

Normal Term: Boolean Functions

A term without repeated variables

New cards
45

Shannon’s Expansion Theorem Steps

  1. Identify pos or neg cofactors (e.g A = 1 and A = 0),

  2. Apply theorem: (e.g. A · f (1, B, C) + A′ · f (0, B, C))

  3. Substitute cofactors into equation

New cards
46

Combinatorial Logic

Digital logic where the result depends only on present inputs of the operation

New cards
47

Sequential Logic

Digital logic where the result depends not only on current inputs but also on past ones

New cards
48

Switches

A switch simply lets current flow completely or not at all. There are:

  1. Relay (mechanical)

  2. Vacuum tubes (electronic)

  3. Transistors (electronic)

  4. IC’s (tiny transistors)

New cards
49

Transistor

A 3 terminal electronic device made of semiconductor material. When input voltage at Base is below a certain value, transistor turns off and has HIGH output, and vise versa.

New cards
50

Universal gates

NOR and NAND. Easier to make many of same gates than many different gates.

New cards
51

Karnaugh Maps

Convenient way of representing a Boolean Function, with combinations in order: 00, 01, 11, 10. n variables = 2^n squares

New cards
52

Bus

A physical connect that allows transfer of data from one system location to another

New cards
53

Bus Width

Number of bits that can be sent through the bus (measured: bits)

New cards
54

Bus Speed

How quickly data can transfer across the bus. (measured: MHz)

New cards
55

3 Types of Bus Lines

  1. Address Bus

  2. Data Bus

  3. Control Bus

New cards
56

Address Bus

Defines the location of communication

New cards
57

Data Bus

Defines data being communicated

New cards
58

Control Bus

Controls operations (e.g. start / end of transmissions etc.)

New cards
59

System Bus

Bus used to connect CPU, Memory, and a set of I/O modules

New cards
60

Point-to-Point Bus

Bus that carries signals from one specific location to a specific destination (e.g. ports)

New cards
61

Multipoint Bus

Bus that connects many points together

New cards
62

Memory

Electronic circuitry that holds data and program instructions. Often referred to as “primary Storage”

New cards
63

4 Types of Memory

RAM, ROM, Cache, and Virtual

New cards
64

2 Memory Categories (power related)

  1. Volatile (needs power : RAM)

  2. Nonvolatile (doesn’t need power: ROM)

New cards
65

2 Memory Categories (RAM related)

  1. DRAM (Dynamic RAM): cheaper, needs less power, needs refresh, e.g. RAM)

  2. SRAM (Static RAM): expensive\, complex, no need of refresh, e.g. Cache)

New cards
66

RAM

“Main Memory” , temporarily stores data during processing.

New cards
67

Properties of RAM

  1. Grid of digital circuits representing 1 bit

  2. Transistors to change bit value

  3. 1-bit circuits group into bytes

  4. Each byte has a specific address

  5. Volatile

New cards
68

Memory Address

Each memory cell has a unique address, to read or write from the cells via the address

New cards
69

Representation of 8 bits on a memory cell (RAM)

  1. Part of an integer / real number

  2. One alphanumeric character

  3. small sound sample

  4. One pixel value (8-bit color)

  5. 1/3 pixel value (24-bit color)

New cards
70

Clock Speed of CPU

Measured in GHz, determines processing speed. E.g. 2 GHz = 2 billion times/second

New cards
71

Cache

Smaller, faster memory between CPU and Main Memory for frequently used information.

New cards
72

Cache Hit

CPU looks in cache for data, if data is found: cache hit!

New cards
73

Cache Miss

CPU looks in cache for data, if data is not found: cache miss

New cards
74

Locality of Reference Principle (Cache)

What was accessed previously is likely to be accessed again, what is near previously accessed is more likely to be accessed.

New cards
75

L1 Cache

Even smaller, faster memory put directly onto CPU chip

New cards
76

L2 Cache

Sits between CPU and Main Memory, is checked after L1.

New cards
77

Virtual Memory

Virtual memory is used to “pretend” we have enough memory, e.g. a Hard Disk which creates a large virtual memory space. Ram is divided into pages, inactive pages go into Hard Disk and active ones into RAM. When a page is needed, they are swapped out.

New cards
78

Hard Drive’s Disk Cache

Hard Drives have their own cache, because of the dramatic difference between Hard Drive and Memory. The cache is put in the Hard Drives "Disk Controller”

New cards
79

ROM

Integrated circuit programmed with specific data when it’s manufactured. It has instructions for:

  1. Starting computer

  2. Runnings system diagnostics

  3. Controlling BIOS.

You cannot reprogram or rewrite a ROM chip.

New cards
80

4 Types of ROM

  1. PROM: Programmable ( Only once)

  2. EPROM: Erasable Programmable ( Can be erased and rewritten with tools, after being removed and erased )

  3. EEPROM: Electrically Erasable Programmable ( Can be erased with no special tools, does not have to be removed or FULLY erased, is slow )

  4. FLASH Memory: Type of EEPROM, writes in chunks (is faster)

New cards
81

BIOS

“Basic Input/Output System”

Most common use of Flash Memory.

  1. Boots OS

  2. POST (power-on-self-test): ensure HW functions correctly

  3. Activates other BIOS chips (e.g. Graphics card)

  4. Provides instructions to OS for different HW devices

New cards
82

Structure of a Processor

  1. Internal Interconnections (value transfer among components)

  2. Controller (oversees operations, coordinates, manages timing)

  3. Computational Engine (directed by controller, one operation at a time e.g. arithmetic, logical, bitwise)

  4. Local Storage (temporarily store data values for operations)

  5. External Interface (provides interaction with external: memory or I/O devices)

New cards
83

5 Processor Categories

  1. Coprocessor

  2. Microcontrollers

  3. Embedded System Processors

  4. Micro-sequencers

  5. General Purpose Processors (CPU)

New cards
84

Coprocessor : Processor Categories

Works in conjunction and under control of other processors

Can perform a single task at high speed.

E.g. FPU, GPU

New cards
85

Microcontrollers : Processor Categories

Programmable

Control physical systems ( external HW)

Disadv : Tiny memory, slow processing capabilities

Adv: Require Limited power

E.g. Automatic doors, airplane landing gear, remote controls, toys etc.

New cards
86

Embedded Systems Processors : Processor Categories

Run sophisticated electronic devices

E.g. DVD Player (commands from remote or front panel), tablets, smartphones etc.

New cards
87

Micro-sequencers : Processor Categories

Controls coprocessor and others within a LARGER processor.

Does not perform operations, but generates addresses used by microprograms in CU.

New cards
88

CPU

Heart and Brain of a computer.

Carries out programs instructions, operates on the data stored in memory.

All circuits are stored on a single circuit

New cards
89

4 Main Components of the CPU

  1. Control Unit

  2. Arithmetic/Logic Unit

  3. Registers

  4. Clock

New cards
90

CPU - Memory Interaction

CPU:

  1. Fetches data/instructions

  2. Decodes and Executes

  3. Stores data back to memory

  4. next …

New cards
91

Registers

Single, permanent location in CPU for a specific purpose

Holds a binary value temporarily for:

  • storage

  • manipulation

  • simple calculations

New cards
92

Registers ( what they can hold )

  • Data being processed

  • Instruction being executed

  • Address to be accessed

  • Binary codes for other purposes

New cards
93

Registers ( operations performed on them )

  1. Loading values (previous one destroyed)

  2. Arithmetic operations on the value

  3. Bit shifting (bits shifted left/right by 1 or more)

New cards
94

General Purpose Registers (GPR’s)

Can hold both data and memory addresses

New cards
95

Control Unit Registers

  • Program Counter ( PC )

  • Instruction Register ( IR )

  • Memory Address Register ( MAR )

  • Memory Data Register ( MDR / MBR )

New cards
96

ALU Registers

Accumulator: Temporarily holds data used for arithmetic or logical operations

New cards
97

Program Counter ( PC )

Holds address of next instruction to be executed

New cards
98

Instruction Register ( IR )

Holds instruction being executed

New cards
99

Memory Address Register ( MAR )

Holds memory address being accessed

New cards
100

Memory Data Register ( MDR / MBR )

Holds data to or from the memory address

New cards

Explore top notes

note Note
studied byStudied by 172 people
186 days ago
5.0(2)
note Note
studied byStudied by 96 people
363 days ago
5.0(2)
note Note
studied byStudied by 5 people
816 days ago
5.0(1)
note Note
studied byStudied by 6 people
740 days ago
5.0(2)
note Note
studied byStudied by 28 people
690 days ago
5.0(1)
note Note
studied byStudied by 13 people
771 days ago
5.0(1)
note Note
studied byStudied by 665 people
388 days ago
4.5(4)
note Note
studied byStudied by 120 people
212 days ago
5.0(1)

Explore top flashcards

flashcards Flashcard (124)
studied byStudied by 2 people
319 days ago
5.0(1)
flashcards Flashcard (156)
studied byStudied by 29 people
829 days ago
5.0(1)
flashcards Flashcard (45)
studied byStudied by 23 people
123 days ago
5.0(1)
flashcards Flashcard (57)
studied byStudied by 35 people
361 days ago
5.0(2)
flashcards Flashcard (66)
studied byStudied by 7 people
118 days ago
5.0(1)
flashcards Flashcard (32)
studied byStudied by 1520 people
466 days ago
4.8(10)
flashcards Flashcard (328)
studied byStudied by 4 people
634 days ago
5.0(1)
flashcards Flashcard (35)
studied byStudied by 25 people
73 days ago
5.0(1)
robot