Unit 2 - Chapter 5 Flashcards

1
Q

Functional Units

A

It is important to study computers as collections of functional units or subsystems that perform tasks such as instruction procession, information storage, computation and data transfer.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Computer organization

A

the branch of computer science that studies computers in terms of their major functional units.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Reminder about transistors

A

transistors are grouped into gates, and gates into circuits

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Von Neumann Architecture

A

the structure and organization of virtually all modern computers are based on a single theoretical model of computer design called the Von Neumann Architecture

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Von Neumann

A

created programing as we know today by proposing the design for a stored program computer in 1946

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

The Von Neumann Architecture is based the following three characteristics.

A
  • Four Major subsystems called memory, input/output, arithmetic/logical unit ( ALU), and the control unit. The ALU and the control unit are often bundled together in what is called the Central Processing Unit ( or CPU).
  • The stored program concept, in which the instructions to be executed by the computer are represented as binary values and stored in memory.
  • The sequential execution of instructions, in which one instruction at a time is fetched from memory and passed to the control unit, where it is decoded and executed.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Memory

A

the functional unit of a computer that stores and retrieves the instructions and the data being executed.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Random Access Memory ( RAM)

A

Computer memory uses an access technique called random access and the memory unit is frequently referred to as random access memory ( RAM)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Characteristics of RAM

A
    • Memory is divided into fixed-size units called cells
  • ** Each cell is associated with a unique identifier called an address.
  • ** All accesses to memory are to a specified address, and we must always fetch and store a complete cell _ that is, all the bits in that cell. The cell is the minimum unit of access. The time it takes to fetch or store the contents of a cell is the same for all the cells in memory.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Read-Only memory ( ROM)

A

Random access memory into which information has been prerecorded during manufacture. This information cannot be modified or removed, only fetched. ROM is used to hold important system instructions and data in a place where a user cannot accidentally or intentionally overwrite them.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

The cell size

A

the number of bits per cell also called the memory width.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

The value 2^n is called

A

the maximum theoretical memory size or the address space of the computer

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

2^n representas

A

the maximum theoretical memory size; a computer with N address bit does not necessarily come equipped with 2^n memory cells. It simply means that its memory can be expanded to 2^n

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

When dealing with memory, it is important to keep in mind the distinction between

A

an address and the contents of that address.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

The 2 basic memory operations are

A

fetching and storing

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

value = Fetch ( address) meaning…

A

Fetch a copy of the contents of the memory all with the specified address and return those contents as the result of the operation. The original contents of the memory cell that was accessed and unchanged. This is called a nondestructive fetch.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

Store ( address,value) meaning…

A

Store the specified value into the memory cell specified by the address. The previous contents of the cell are lost. This is termed a destructive store.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

In RAM => The time to carry either a fetch or a store operation

A

is the same for all 2^n addresses.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

Fetching and store are only allowed

A

to an entire cell. The cell is the minimum accessible unito of memory.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

If we want to modify a single bit of memory…

A

we first need to fetch the entire cell containing that bit, change the one bit, and then store the entire cell.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

Memory Addresses

A

used to implement the fetch and store operations

22
Q

Memory Address Register(MAR)

A

Holds the address of the cell to be accessed

23
Q

Memory Data Register ( MDR)

A

contains the data value being fetched or stored.

24
Q

Row and Selection lines to access

A

The first two binary digits of the addresses are identical to the row number. The last two binary digits of the addresses are identical to the column number.

25
Q

Fetch/store controller

A

controls whether memory does a fetch or a store operation

26
Q

Cache memory

A

The first time that the computer references a piece of data, it should copy that data from regular RAM memory to a special high speed memory unit called cache memory. It should also copy the contents of the memory cells located near this item into the cache. A cache is typically 5 to 10 times faster than RAM but much smaller —- on the order of a few megabytes rather than gigabytes. This limited size is not a problem because the computer does not keep all of the data there, the those items that were accessed most recently and that, presumably will be needed again immediately.

27
Q

Principle of Locality

A

When the computer uses something, it will probably use it again very soon, and it will probably use the neighbours of this item very soon.

28
Q

Cache bit rate

A

The information we need is in the cache i.e 70% of the time. A higher cache hit rate can lead to even greater savings.

29
Q

Input/Output ( I/O)

A

the devices that allow a computer system to communicate and interact with the outside world as well as store information

30
Q

Volatile memory

A

the information disappears when the computer is turned off

31
Q

Nonvolatile storage

A

is the role of mass storage systems such as disks and tapes

32
Q

Input/Output controller

A

An I/O controller is like a special-purpose computer whose responsibility is to handle the details of input/output and to compensate for any speed differences between I/O devices and other parts of the computer.

33
Q

Interrupt signal

A

A special hardware signal for when an I/O operation is done.

34
Q

Defragmenting a disk

A

to reorganize files on the disk so that many pieces of the file as possible are stored in sectors on the same track, regardless of the surface it is on. If many pieces of the file are on the same track, then no movement of the read head arm is required and seek time is 0.

35
Q

Arithmetic/Logic Unit ( ALU)

A

the subsystem that performs such mathematical and logical operations as addition, subtraction, and comparison for equality.

36
Q

Processor ( CPU)

A

The integrated ALU and control unit

37
Q

Data path

A

the registers, the interconnections between components and the ALU circuitry.

38
Q

Register

A

a storage cell that holds the operations of an arithmetic operation and that, when the operation is complete holds its results.

39
Q

BUS

A

A patch for electrical signals ( think of this as a wire)

40
Q

stored program

A

a sequence of machine learning instructions stored as binary values in memory

41
Q

Control Unit Tasks

A

1) Fetch from memory the next instructions to be executed
2) Decode it - determine what is to be done
3) Execute it - by issuing the appropriate command to the ALU memory or I/O controllers

42
Q

Instruction set

A

The set of all operations that can be executed by a proccessor

43
Q

Machine language instructions can be grouped into four basic classes called

A

data transfer, arithmetic, compare and branch

44
Q

Data Transfer

A

These operations move information between or within the different components of the computer. For example: memory cell -> ALU register

45
Q

Arithmetic

A

These operations cause the arithmetic/logic unit to perform a computation. Typically, they include arithmetic operations like +,-,x, and /, as well as logical operators such as AND, OR, and NOT. Depending on the instruction set, the operands may reside in memory or they may be in an ALU register.

46
Q

Compare

A

These operations compare two values and set an indicator on the basis of the results of the compare

47
Q

Branch

A

These operations alter the normal sequential flow of the control. The normal mode of operation of a Von Neumann machine is sequential. The branch instructions disrupt this sequential mode.

48
Q

Vectors

A

A vector V is simply a collection of values

49
Q

SIMD parallel processing

A

( Single instruction/multiple data stream )

50
Q

MIMD parallel processing

A

( Multiple Instruction Stream/ multiple data stream) also called cluster computing

51
Q

Parallel Algorithms

A

the study of techniques that makes efficient use of parallel architectures.