[CSCI 50.01] LT 2

studied byStudied by 4 people
5.0(1)
Get a hint
Hint

What does ALU stand for and what does it do?

1 / 222

flashcard set

Earn XP

Description and Tags

Modules 3-7

223 Terms

1

What does ALU stand for and what does it do?

Arithmetic and Logic Unit

Performs arithmetic and logic operations

New cards
2

Examples of Arithmetic Operations on Data

  • Add

  • Subtract

  • Multiply

New cards
3

Examples of Logical Operations on Data

  • Check if equal

  • Bitwise-or

New cards
4

Register

Temporary storage location in the processor

New cards
5

ALU reads operands from _______.

Registers

New cards
6

________ are also sent to the ALU to select what operation to perform.

Control Signals

New cards
7

Control signals are provided by ______ and depend on the ______ executed.

Processor

Instruction currently being executed

New cards
8

ALU writes the result of an operation to a ______.

Register

New cards
9

ALU can set _____ which provide additional info about the operation’s result (e.g. overflow occurred). _____ values are also stored in _______.

Flag/s

Registers

New cards
10

Memory Characteristics

Location

Capacity

Unit of Transfer

Method of Accessing

Performance

Physical Type

Physical Characteristics

Organization

New cards
11

Location

Whether memory is internal or external

New cards
12

Internal Memory

Refers to devices like main memory and cache

New cards
13

External Memory

Peripherals like disk drives, accessible to the process via I/O controllers

New cards
14

Word

Natural unit of organization of memory

New cards
15

Size

Number of bits used to represent an integer or length of an instruction

New cards
16

In some systems, the _____ is the word.

Addressable Unit

New cards
17

Formula for length in bits of address (A) and number of addressable units (N)

Log2 (N) = A

New cards
18

Unit of Transfer

How much data can be read out of or written into memory at a time

New cards
19

Unit of Transfer for Internal Memory

Number of electrical lines into and out of memory module (64, 128 or 256 bits)

* Not necessarily equal to an addressable unit

New cards
20

Unit of Transfer for External Memory

Block, a significantly larger unit than a word

New cards
21

4 methods of accessing data

Sequential

Direct

Random

Associative

New cards
22

Sequential Access

  • Access must be made in specific linear sequence

  • Stored addressing for distinguishing records and helping in data retrieval

  • Tapes (units for tape drives)

New cards
23

In sequential access, memory is organized into units of data called ___.

Records

New cards
24

How does sequential access work?

Shared read-write mechanism moved from current location to desired location, passing & rejecting intermediate records

New cards
25

In sequential access, ____ an arbitrary record is highly variable

Time to access

New cards
26

Direct Access

  • Disks (disks in hard disk drive)

  • Uses shared read-write mechanism

  • But individual blocks/records have unique address based on physical location

New cards
27

How does direct access work?

  • First to reach general vicinity

  • Then use sequential searching, counting or waiting to reach desired location

New cards
28

The basic element of a semiconductor memory is the ___________ which stores a bit

Memory cell

New cards
29

Examples of Random Access

  • Main memory

  • Some caches

  • SSDs

New cards
30

Access time of random access is ____ and is ______ of the sequence prior the accesses

Constant

Independent

New cards
31

Examples of Associative

Some caches

New cards
32

How does Associative work?

Compares desired bit locations in a word for a specified match (does this for all words simultaneously)

New cards
33

In associative, data is retrieved based on _______ instead of actual address

a portion of its contents

New cards
34

3 parameters that measure performance

Access Time

Memory Cycle Time

Transfer Rate

New cards
35

Access Time is also known as ___?

Latency

New cards
36

For access time of random-access memory, this is the time from _______ to ________.

The instant that an address is presented to memory

The instant that data is stored or made available for use

New cards
37

For access time of non-random-access memory, this is the time it takes to ___.

Position the read-write mechanism at the desired location

New cards
38

Memory cycle time

Access time + any additional time required before a second access can start

New cards
39

Data that is _______ needs additional _____ time to _____

Read destructively

Memory cycle time

Regenerate data

New cards
40

Memory cycle time primarily applies to _______ and is concerns with the _____ not the ______.

Random-access memory

System bus

Processor

New cards
41

Transfer Rate

Rate at which data can be read from or written to a memory unit

New cards
42

For random-access memory, transfer rate is equal to the ______

Reciprocal of memory cycle time

New cards
43

destructively

Data in DRAM is read ____________; reading from a cell will discharge the capacitor.

New cards
44

Transfer Rate Formula

Tn = Ta + (n/R)

Tn average read or write time in n bits

Ta average access time

R transfer rate in bits per sec (bps)

New cards
45

Physical Types of Memories

Semiconductor memory (EX. RAM, solid-state)

Magnetic surface memory (EX. Disks, tapes)

Optical (EX. Blu-ray)

Magneto-optical (EX. Sony MiniDiscs)

New cards
46

Physical characteristics of data storage

Determine what can happen to the data

New cards
47

Read-only Memory (ROM)

Nonvolatile, semiconductor memory containing a permanent pattern of data that can’t be changed

New cards
48

Read-mostly Memory

Useful for applications where read operations are far more frequent than write operations but require nonvolatile storage

New cards
49

DRAM chips

Main memory is composed of a collection of ____________.

New cards
50

A number of chips can be grouped together to form a ___________.

memory bank

New cards
51

Dynamic RAM (DRAM)

Basic building block of main memory

New cards
52

Prefetch Buffer

cache located on the SDRAM chip

New cards
53

Physical characteristics

______________ of data storage determine what can happen to the data

New cards
54

Volatile Memory

In ____, data decays naturally or is lost when electrical power is switched of

New cards
55

nonvolatile

In ________ memory, recorded data remains without deterioration until deliberately change;

No electrical power is needed to retain data

New cards
56

In __________ memory,  memory, data cannot be altered except by destroying the storage unit

nonerasable

New cards
57

Organization

Physical arrangement of bits to form words

New cards
58

operational code (opcode)

  • Part of every instruction in machine language

  • Tells the hardware what operation needs to be performed with this instruction

  • A string of bits very relevant to the decode step

New cards
59

7 opcode categories

Data transfer

Arithmetic

Logical

Conversion

I/O

System control

Transfer of control

New cards
60

4 single-operand instructions

absolute, negate, increment, decrement

New cards
61

Bitwise operations are often referred to as “____________” that are based on Boolean operations

bit twiddling

New cards
62

Bitwise Operations

Most machines have operations for manipulating individual bits of a word or addressable units

New cards
63

cyclic shift

Rotate is also known as “_______________”.

New cards
64

For internal memory, capacity is typically expressed in ________.

bytes (8 bits) or words (8, 16, 32 or 64 bits)

New cards
65

For external memory, capacity is typically expressed in ________.

bytes

New cards
66

3 different physical characteristics

volatile, nonvolatile, nonerasable

New cards
67

Between CISC and RISC, which one has simpler functionality but longer code?

RISC

New cards
68

Register

is a temporary storage location within the processor

New cards
69

Endianness

refers to byte ordering in a multibyte scalar value

New cards
70

Big Endian

In __________, the most significant byte is stored in the lowest numerical address

New cards
71

Little Endian

In __________, the most significant byte is stored in the highest numerical address

New cards
72

Semiconductor memory can be ______ or ______

volatile or nonvolatile

New cards
73

Organization is the same as endianness. True or False?

FALSE

New cards
74

Semiconductor memory cells share certain properties

  • 2 stable (or semistable) states to represent binary 1 and 0

  • Can be written into (at least once) to set the state

  • Can be read to "sense" the state

New cards
75

Random-access memory (RAM)

  • Most common type of semiconductor memory

  • Possible to read data from and write new data into RAM easily and quickly

New cards
76

In Random-Access Memory, Reading and writing is achieved through _____.

electrical signals

New cards
77

Random-Access Memory is a ______ storage.

Temporary storage

Since it is volatile and must be provided with a constant power supply

New cards
78

2 Traditional forms of Random-Access Memory used in computers

DRAM and SRAM

New cards
79

DRAM

Dynamic RAM

New cards
80

Dynamic RAM is made with ________ that ______

cells that store data as charge on capacitors

New cards
81

Presence or absence of charge in capacitor is interpreted as ___ or ___.

Binary 1 or 0

New cards
82

DRAM requires ______ to maintain data storage

periodic charge refreshing since capacitors naturally tend to discharge even with continuous power applied, so it’s "dynamic"

New cards
83
<p>What are the following parts of the DRAM covered in yellow?</p>

What are the following parts of the DRAM covered in yellow?

Access FET

Explicit storage capacitor

<p>Access FET</p><p>Explicit storage capacitor</p>
New cards
84

Data in DRAM is read ______.

Destructively

  • Reading from a cell will discharge the capacitor

  • Data must be restored as part of completing the read operation

New cards
85

SRAM

Static RAM

New cards
86

Static RAM

a digital device that uses the same logic elements in the processor

New cards
87

How are binary values stored in Static RAM

Using traditional flip-flop logic-gate configurations

New cards
88

SRAM will hold data as long as _____.

power is supplied to it

New cards
89
<p>What are the parts of the Static RAM covered in yellow</p>

What are the parts of the Static RAM covered in yellow

static bistable storage element

word line

bit

access FET

<p>static bistable storage element</p><p>word line</p><p>bit</p><p>access FET</p>
New cards
90

DRAM vs SRAM

  • Both are volatile

  • Dynamic memory cell is simpler and smaller than a Static memory cell

New cards
91

DRAM and SRAM, Which is cheaper? Which provides more storage given the same physical space occupied?

DRAM is cheaper and less transistor so it occupies less space (smaller)

New cards
92

DRAM - main memory

SRAM - cache

True

New cards
93

Cheaper DRAM cell, ____ memory, ______ cost for refresh circuitry, _______ of DRAM cell

Larger memories

Fixed cost of the refresh circuitry

smaller variable cost of DRAM cell

New cards
94

Which one is faster, SRAM or DRAM?

SRAMs are somewhat faster than DRAMs

SRAM doesn't require a refresh cycle during a read operation

New cards
95

Can you write new data in Read-only memory?

normally not possible

New cards
96

Read-mostly Memory is not a variation on read-only memory

False

New cards
97

Types of ROM

Read-Only Memory (ROM)

Programmable ROM

Erasable Programmable ROM

Electrically Erasable Programmable ROM

Flash Memory

New cards
98

How is a ROM created?

Like any other integrated circuit chip, with the data wired into the chip during fabrication process

New cards
99

In Read-Only Memory, what happens if a bit is wrong?

If even one bit is wrong, the entire batch of affected ROMs must be discarded

New cards
100

What is the advantage of Read-Only Memory (ROM) when it's part of main memory?

no need to load data from a secondary storage device since data is already permanently stored in ROM

New cards

Explore top notes

note Note
studied byStudied by 464 people
... ago
5.0(2)
note Note
studied byStudied by 9 people
... ago
5.0(1)
note Note
studied byStudied by 69 people
... ago
5.0(2)
note Note
studied byStudied by 12 people
... ago
5.0(1)
note Note
studied byStudied by 26 people
... ago
5.0(2)
note Note
studied byStudied by 11 people
... ago
5.0(1)
note Note
studied byStudied by 25 people
... ago
5.0(3)
note Note
studied byStudied by 5051 people
... ago
5.0(31)

Explore top flashcards

flashcards Flashcard (31)
studied byStudied by 7 people
... ago
5.0(1)
flashcards Flashcard (52)
studied byStudied by 70 people
... ago
5.0(2)
flashcards Flashcard (71)
studied byStudied by 1 person
... ago
5.0(1)
flashcards Flashcard (45)
studied byStudied by 5 people
... ago
5.0(1)
flashcards Flashcard (21)
studied byStudied by 10 people
... ago
5.0(1)
flashcards Flashcard (41)
studied byStudied by 86 people
... ago
5.0(1)
flashcards Flashcard (21)
studied byStudied by 9 people
... ago
5.0(1)
flashcards Flashcard (50)
studied byStudied by 8 people
... ago
5.0(1)
robot