Day 5 Flashcards

1
Q

Bus

A

connection between computer systems components that moves data back and forth

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

What three lines are busses broken into

A

address, data, and control

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

Address Line

A

indicates the location data should be read from or written to.

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

Data Line

A

Transfers data

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

Control Line

A

Carries command and status signals (e.g. read/write commands, interrupts, and synchronization.

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

What is the concept of System on a Chip (SoC)

A

processor, memory, and a bus on the same chip

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

What is a bridge?

A

allows communication between dissimilar buses. since buses communicate at different speeds and in different languages; bridge functions as a translator.

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

I/O modules

A

interface between processor, memory, and one or more peripheral devices. similar to a CPU except they only have one purpose

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

device interface

A

physical connector attaching peripheral devices to the computer ; aka ports.
consists of 3 lines: control, data, and status.
has the same name of the bus

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

Bus topology

A

arrangement of connections between computer system components. 2 different types: multipoint bus and point to point bus

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

Multipoint bus

A

connects more than two components together. Control line needed since there is a common pathway

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

How is control accomplished with a Multipoint bus

A

using a master/slave (LMFAO) or assigned priorities

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

Point-to-point bus

A

connects only two components together. ie RAM to Northbridge where there is a direct connection between the two components.

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

Bus arbitration

A

system for resolving bus control conflicts by assigning priorities to bus control requests in a multipoint bus topology where there is more than one connected device. There are 3 different types

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

Daisy chain

A

devices are connected in series, requesting device closest to the arbiter gets the bus then they give access to the devices further away from the arbiter

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

Centralized Parallel

A

requests for bus access are sent via directed control lines from each device to a centralized arbiter. arbiter compares device priorities and provides bus grant on the appropriate devices control line.

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

Distributed using self-selection

A

all devices communicate bus requests to each other. highest priority is granted access. Priority determined by the device code in the bus access request.

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

Bus protocol

A

method that computer components use to transmit data between the sender and receiver. 2 different types: serial and parallel.

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

Serial Communication

A

sends data one bit at a time. relies on handshaking for synch (asynchronous)

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

Parallel Communication

A

sends a group of bits via multiple data lines. relies on clock signal for synch (synchronous). It’s faster but only for short distances. Also costly due to crosstalk

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

Handshaking

A

series of steps to coordinate asynchronous communication in which sender and receiver proceed to the next step only when both parties agree.

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

Steps for a handshake

A
  1. bus control is active and data memory address is put on the address line.
  2. memory system puts required data on data line
  3. data is acknowledged via control line
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

Serial Port

A

RS-232 point to point serial communications

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

Parallel Port

A

IEEE-1284 point to point parallel communications

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

Small computer system interface (SCSI)

A

multi-point parallel bus with devices daisy chained together. commonly used commercially for hard disk drives and tape drives.

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

Serial attached SCSI (SAS)

A

point-to-point serial bus built on the SCSI standard.

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

Parallel Advanced technology attachment (PATA)

A

multi-point parallel bus AKA integrated drive electronics (IDE). used in older computers to connect hard/floppy disks

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

Serial Advanced Technology Attachment (SATA)

A

Point-to-point serial bus successor to PATA allows hot swap connection of most types of mass storage devices. (hard disks, ssds, and optical drives)

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

Peripheral Component interconnect express (PCIe)

A

An expansion bus that uses channeled point to point serial communications. found on north bridge for graphic cards and south bridge for sound and other i/o cards.

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

Universal Serial Bus (USB)

A

point-to-point serial bus that can connect many types of peripherals.

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

Video Graphics Array (VGA)

A

Standard analog video interface for color resolution

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

Digital Video Interface (DVI)

A

Video interface designed for digital to digital connection

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

High-def multimedia interface (HDMI)

A

high res multimeida (video/audio) interface that includes digital rights management for copy protections

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

DisplayPort (DP)

A

digital display interface for connecting a video source to a display device. first to use display interface to use packetized data.

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

Memory mapped I/O

A

I/O scheme in which portions of RAM are assigned to I/O devices, and reads and writes to those addresses are interpreted as commands to the I/O device. commonly used for device driver communication to a device in the form of instructions

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

Programmed I/O

A

(Polling) process of periodically checking I/O device status to determine a need to service the device.

  • works well with slow devices
  • has most overhead
  • tests device’s status before transferring each data byte
  • provides data rates that are a bit slower.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
37
Q

interrupt-driven I/O

A

divided into two categories: interrupts and exceptions. they are used to interrupt normal operations of a program executing on the processor when a problem occurs.

38
Q

Interrupt

A

event typically triggered by an I/O device. asynchronous events since they occur at random times.

39
Q

Exception

A

an event resulting from the execution of an instruction of the current program; therefore a synchronous event.

40
Q

What are the three classes of exceptions?

A
  1. Traps: software invoked exceptions
  2. Faults: Occur when attempting division by zero or when accessing memory incorrectly (page fault)
  3. Aborts: used to report sever errors, such as hardware errors, and inconsistent or illegal values in system tables
41
Q

Direct Memory Access (DMA)

A

mechanism that provides a device controller with the ability to transfer data directly to or from memory without involving the processor.

  • has low latency
  • fastest transfer rates, but at cost of additional hardware complexity.
42
Q

Memory Architecture

A

consists of methods used to implement computer data storage.

43
Q

Volatility

A

the persistence of data in memory unit when power is lost.

44
Q

Latency

A

the time it takes memory to output set data once the memory controller receives data request. Measured in bus clock cycles.

45
Q

Throughput

A

rate at which data is loaded from and stored to memory; aka memory bandwidth. Measured in bits per second.

46
Q

Buffering

A

act of storing data in a region of physical memory called a buffer.

47
Q

Principle of Locality

A

states the same values, or related storage locations; accessed frequently or sequentially. Two ways to do so: temporal and spatial

48
Q

Temporal locality

A

referencing the same data often (e.g. loop)

49
Q

Spatial locality

A

referencing data elements in close storage locations (sequence)

50
Q

Translation Lookaside Buffer (TLB)

A

translates virtual memory addresses (called a page) to physical memory (called a frame)

51
Q

What is a TLB hit?

A

if TLB has made that translation, then it provides the physical address to the cache

52
Q

What is a TLB miss?

A

if the TLB has not made that translation, and the TLB must go out to the page table in RAM to retrieve the physical address.

53
Q

Cache hit

A

when the cache checks to see if it contains data requested and it does. When it doesn’t its a cache miss

54
Q

Direct Mapped

A

each memory address is mapped to one cache address

55
Q

Associative

A

allows a memory block to be stored in one of several cache blocks.

56
Q

Victim block

A

When a block in a cache is selected for replacement

57
Q

Dirty block

A

when cache data has been modified from its original version in RAM

58
Q

Methods of replacement

A

Less Recently used (LRU)
First in, First out (FIFO)
Random

59
Q

Write-through

A

updates cache and main memory (RAM) simultaneously during every write.

60
Q

Write-back

A

updates the block in main memory when the cache block becomes a victim block.

61
Q

Multi-level Cache

A

reduces the cache miss penalty by adding additional levels to the hierachy.

62
Q

Harvard Cache

A

independent cache for data and instructions

63
Q

Unified cache

A

holds both instructions and data

64
Q

Primary memory

A

consists of mostly medium speed memories that hold code for boot-up or to hold program during execution.

65
Q

Random Access Memory (RAM)

A

allows for reading and writing data.

2 types: static and dynamic

66
Q

Static RAM (SRAM)

A

each cell is made of a 4 to 10 transistor D flip-flop (latch) circuit that holds data as long as there is power.

67
Q

Dynamic Ram (DRAM)

A

each cell is made of one transistor or one capacitor

68
Q

Read only memory (ROM)

A

non-volatile and non as firmware. (used in micro-controllers, cell phones, RFID tags, BIOS/UEFI, etc)
3 types

69
Q

Progammable ROM

A

programmed once for read-only access either during manufacture or by the customer using a special PROM writer.

70
Q

Erasable Programmable ROM

A

programmed by applying a slightly higher than normal voltage, when the voltage is removed, the charge is trapped in the transistor gate.

71
Q

Electrically Erasable Programmable

A

can be erased and reprogrammed, one byte at a time.

72
Q

secondary memory

A

aka secondary storage and is non-volatile. magnetic disks are most common

73
Q

magnetic disks

A

form of magnetic media where data is stored by leaving magnetic charges on magnetizable media surface

74
Q

Low-level format

A

creates tracks and sectors on blank platters

75
Q

Track

A

concentric circle on the platter

76
Q

cylinder

A

combination of all the tracks

77
Q

High-level format

A

done when OS is installed. creates the hard drive’s partitioning scheme and assigns the file system to manage the storage, tracking, and retrieval of files.

78
Q

What way to disk platters spin?

A

clockwise at a Constant Angular Velocity (CAV); measured in revolutions per minute

79
Q

Common RPMS for consumer grade

A

desktop 4800, 5400, 7200

laptop 4200, 5200, 5400, 7200

80
Q

What is disk performance measured by

A
spin-up time
seek time
rotational latency
transfer time
disk access time
81
Q

Solid State Drive (SSD)

A

flash memory is used to produce this, and is similar to magnetic disk. Built on arrays of NAND Or NOR-based memory circuits where data persists after power is removed. Have no moving parts

82
Q

Why has the use of flash memory increased since 2005

A

improved reliability and increased storage capacity.

83
Q

Logical Block Addressing (LBA)

A

Simple linear addressing scheme where each 512B or 4KB block of data is located by an integer index.

84
Q

Redundant Arrays of Inexpensive Disks (RAID)

A

uses collection of disks to improve reliability and performance.

85
Q

RAID 0

A

allows for improved performance using drive spanning to stripe data across many disks.
requires minimum of 2 drives and doesn’t allow disk failures.

86
Q

RAID 1

A

allows improved reliability by using disk mirroring that duplicates the data from one disk to many disks. Minimum of 2 drives and allows for one disk in each pair to fail.

87
Q

RAID 5

A

allows improved reliability by using parity and improved performance by using drive spinning. Parity used to error detection. uses XOR to calculate parity. Minimum of 3 devices and allows for any one disk to fail. Recommended for file, application, email and web servers where performance and data storage are a concern

88
Q

External Memory

A

alternate location for storing data that exists outside of a computer’s main memory.

89
Q

Magnetic Tape

A

strip of film with a magnetic coating allowing for data storage. Strip can be hundreds of feet long and is wound onto a reel.

90
Q

Optical Discs

A

made out of an aluminum film covered in a plastic casing. A low power laser is used to read and write data. Data is stored by creating deprecations in the medium called pits and creating lands between each pit.

91
Q

Constant Linear Velocity (CLV)

A

The rate at which sectors pass over the laser remains equal regardless of head position.

92
Q

What way does the disc spin looking at the disc from the bottom?

A

counter-clockwise