Ch. 1 PPT Flashcards

1
Q

What does an OS do?

A

Exploits processor HW resources, provides a set of system services, and manages secondary memory and IO devices

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

Basic components of a PC

A

Processor, main memory, IO modules, and the System Bus

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

What does the processor do?

A

Control operation of the computer and performs data processing

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

What is main memory?

A

The temporary memory, it is wiped clean every time the system shuts down.

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

What do IO modules do?

A

Move data between computer and external environments… HDD, communications equipment, and terminals

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

What does the System bus do?

A

Provides communication among processors, main memory, and IO modules

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

What is a microprocessor?

A

An invention that brought about desktop and handheld computing. The processor is on a single chip and it is fast for general purpose.

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

What is a GPU?

A

Does computation on single instruction multiple data techniques. Used for numerical processing, physics simulation, and computations on large data sets.

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

What is a Digital Signal Processor?

A

Handles streaming signals. Used to be found in modems,. Can decode and encode speech and video (codecs).

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

What is a system on a chip?

A

DSP, GPU, main memory, CPUs, and caches on one chip for mobile devices

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

How does a processor execute an instruction?

A

Fetches the instruction from memory and executes it

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

What does the program counter do?

A

Hold the address of the next instruction

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

What does the instruction register do?

A

Holds the current instruction. it is interpreted and then executed.

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

What would a control operation be?

A

Changing the order in which instructions are to be executed.

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

What is an interrupt?

A

Something that changes the execution by the processor. Aimed at making things more efficient

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

Program Interrupt

A

Usually caused by an execution error, like and overflow or a divide by zero

17
Q

Timer Interrupt

A

Generated by a timer in the processor. Allows the OS to do something on a regular interval.

18
Q

IO Interrupt

A

Sent to the processor by an IO device, can be an error or signaling that something was completed successfully.

19
Q

Hardware Failure Interrupt

A

Caused when there is a hardware failure like bad memory or a power failure

20
Q

What happens if there are multiple interrupts?

A

Disable interrupts while another interrupt is being process, or implement an interrupt hierarchy

21
Q

What are some memory constraints?

A

It’s expensive, and its speed: meaning it has to be able to keep up with the processor.

22
Q

What is the general trade off of memory?

A

The more you have, the slower it is. The less you have, the more expensive it is but its faster

23
Q

What is Locality?

A

Putting clusters of data into levels, such that the higher levels are accessed more frequently than the lower levels.

24
Q

What is secondary memory?

A

The more permanent memory, like a hard disk.

25
What is the cache?
The fastest memory within the processor, used to exploit locality. Used to interacted between the processor and the main memory. Three levels.
26
What is block size?
The unit of data exchanged between cache and main memory
27
What does the mapping function do?
Determine where the block will be located in the cache. A design constraint is how long a block can stay in cache and the hardware cost of this function.
28
Least Recently Used Algorithm
Replaces unused blocks in the cache. Hardware is needed to determine what is most unused.
29
What is write policy?
Dictates when memory write operations can occur
30
What is programmed IO?
IO operations are performed periodically until an instruction is complete. Severely impacts performance of the entire system.
31
What is interrupt driven IO?
The IO module sends an interrupt to the processor when it is ready to do something. Still requires a lot of overhead.
32
Direct Memory Access IO?
The IO module is given direct access to the memory and the processor is only involved at the beginning and and of the transfer.
33
Symmetric Multiprocessors vs. Multicore
In symmetric, there are multiple processors sharing system resources. In multicore, there are multiple cores on a single die, still sharing resources.