1.2 Computer-System Organization Flashcards

1
Q

A modern general-purpose computer system consists of one or more _____ and a number of device controllers.

A

CPUs

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

Device controllers are connected through a common _____ that provides access between components and shared memory.

A

bus

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

Each device controller is in charge of a specific type of _____, such as a disk drive or graphics display.

A

device

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

A device controller maintains some local _____ storage.

A

buffer

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

The device controller is responsible for moving the data between the peripheral devices and its local _____ storage.

A

buffer

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

Typically, operating systems have a _____ for each device controller.

A

device driver

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

The device driver provides the rest of the operating system with a uniform _____ to the device.

A

interface

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

The CPU and device controllers can execute in _____, competing for memory cycles.

A

parallel

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

To ensure orderly access to shared memory, a memory controller _____ access to the memory.

A

synchronizes

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

The three key aspects of the system discussed are interrupts, storage structure, and _____ structure.

A

I/O

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

To start an I/O operation, the device driver loads the appropriate registers in the _______.

A

device controller

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

The device controller examines the contents of the registers to determine what action to take, such as _______.

A

read a character from the keyboard

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

Once the transfer of data is complete, the device controller informs the device driver that it has _______.

A

finished its operation

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

The device driver gives control to other parts of the operating system, possibly returning the data or a _______ to the data if the operation was a read.

A

pointer

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

For other operations, the device driver returns status information such as ‘write completed successfully’ or _______.

A

‘device busy’

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

The controller informs the device driver that it has finished its operation via an _______.

A

interrupt

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

Hardware may trigger an interrupt by sending a signal to the CPU, usually by way of the _______.

A

system bus

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

When the CPU is interrupted, it stops what it is doing and immediately transfers execution to a _______ location.

A

fixed

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

The interrupt service routine executes, and on completion, the CPU resumes the _______ computation.

A

interrupted

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

Each computer design has its own interrupt mechanism, but several functions are _______.

A

common

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

The straightforward method for managing the transfer of control to the interrupt service routine would be to invoke a _______ routine.

A

generic

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

Interrupts must be handled quickly, as they occur very _______.

A

frequently

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

A table of pointers to interrupt routines can be used to provide the necessary _______.

A

speed

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

The table of pointers is generally stored in _______ memory.

A

low

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
These locations hold the addresses of the _______ service routines for the various devices.
interrupt
26
This array, or interrupt vector, of addresses is indexed by a unique number given with the _______ request.
interrupt
27
The interrupt architecture must also save the _______ information of whatever was interrupted.
state
28
If the interrupt routine modifies the processor state, it must explicitly save the _______ state.
current
29
After servicing the interrupt, the saved return address is loaded into the _______ counter.
program
30
The CPU detects a signal on the interrupt-request line after executing every ___.
instruction
31
The CPU reads the ___ when it detects that a controller has asserted a signal.
interrupt number
32
The CPU jumps to the interrupt-handler routine using the interrupt number as an index into the ___.
interrupt vector
33
The interrupt handler saves any state it will be changing during its ___.
operation
34
After processing, the interrupt handler executes a ___ to return the CPU to the execution state prior to the interrupt.
return from interrupt instruction
35
The device controller raises an interrupt by asserting a signal on the ___.
interrupt request line
36
In a modern operating system, we need the ability to defer interrupt handling during ___.
critical processing
37
An efficient way to dispatch to the proper interrupt handler for a device is a requirement of modern operating systems, known as ___.
efficient dispatching
38
Modern computer hardware provides multilevel interrupts, allowing the operating system to distinguish between ___ and ___ interrupts.
high-priority, low-priority
39
The nonmaskable interrupt is reserved for events such as ___.
unrecoverable memory errors
40
The second interrupt line is ___, which can be turned off by the CPU before executing critical instructions.
maskable
41
The purpose of a vectored interrupt mechanism is to reduce the need for a single interrupt handler to search all possible ___ of interrupts.
sources
42
A common solution to the interrupt handler address limitation is to use ___.
interrupt chaining
43
In interrupt chaining, each element in the interrupt vector points to the head of a list of ___.
interrupt handlers
44
Events from 0 to 31 are used to signal various error conditions and are classified as ___.
nonmaskable
45
Events from 32 to 255 are classified as ___ and are used for device-generated interrupts.
maskable
46
The interrupt mechanism implements a system of interrupt ___ levels.
priority
47
The system of interrupt priorities allows a high-priority interrupt to ___ the execution of a low-priority interrupt.
preempt
48
Interrupts are used throughout modern operating systems to handle ___ events.
asynchronous
49
Because interrupts are used heavily for time-sensitive processing, efficient interrupt handling is required for good system ___.
performance
50
The CPU can load instructions only from _______.
memory
51
Main memory is also called _______.
random-access memory (RAM)
52
Main memory is commonly implemented in a semiconductor technology called _______.
dynamic random-access memory (DRAM)
53
The first program to run on computer power-on is called a _______.
bootstrap program
54
Since RAM is ________, it cannot be trusted to hold the bootstrap program.
volatile
55
For nonvolatile storage, computers use _______.
electrically erasable programmable read-only memory (EEPROM)
56
EEPROM can be changed but cannot be changed _______.
frequently
57
The load instruction moves a byte or word from main memory to an _______ within the CPU.
internal register
58
The store instruction moves the content of a register to _______.
main memory
59
In a von Neumann architecture, the instruction-execution cycle first fetches an instruction from _______.
memory
60
Main memory is usually too small to store all needed programs and data _______.
permanently
61
The most common secondary storage devices are _______ and _______.
hard-disk drives (HDDs), nonvolatile memory (NVM) devices
62
Secondary storage is _______ than main memory.
much slower
63
Tertiary storage is used only for special purposes, such as _______.
to store backup copies of material
64
The main differences among various storage systems lie in _______, ________, and _______.
speed, size, volatility
65
The various storage systems can be organized in a hierarchy according to _______ and _______.
storage capacity, access time
66
Volatile storage is referred to simply as _______.
memory
67
Nonvolatile storage retains its contents when power is _______.
lost
68
Mechanical storage systems include _______ and _______.
HDDs, optical disks
69
Electrical storage systems include _______ and _______.
flash memory, SSD
70
Mechanical storage is generally larger and less expensive per byte than _______ storage.
electrical
71
The design of a complete storage system must balance all factors, including the use of _______ memory as necessary.
expensive
72
Caches can be installed to improve performance where a large disparity exists between two _______.
components
73
A large portion of operating system code is dedicated to managing _______.
I/O
74
The form of _______ I/O is fine for moving small amounts of data.
interrupt-driven
75
Direct memory access (DMA) is used to solve the problem of high overhead when used for _______ data movement.
bulk
76
In DMA, the device controller transfers an entire block of data directly to or from the device and _______.
main memory
77
Only one _______ is generated per block in DMA to indicate that the operation has completed.
interrupt
78
While the device controller is performing DMA operations, the CPU is available to accomplish _______.
other work
79
Some high-end systems use _______ rather than bus architecture.
switch
80
On switch architecture systems, multiple components can talk to other components _______.
concurrently
81
In switch architecture, DMA is even more _______.
effective