Week 1-2 Flashcards

1
Q

What is a resource allocator

A

Allows for the management and allocation of resources
• Allows for a uniform interface to similar hardware, programs get the right access to buffer, files, processes so that they can run

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

What is a control program

A

Controls operation of IO and how user programs run

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

What is the Kernel

A

• Runs at all times, bridge between the applications and the hardware

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

What is Parallel Systems

A
  • Share memory and IO

* Allows for increased throughput and reliability, master-slave relationship

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

What is a Distributed Systems

A

• Each process has a chunk of memory and IO, allows to share resources and the load. Also to be more reliable

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

What are the two types of Real-time systems

A
  • Hard, the condition must be met or the system fails

* Soft, The missed deadline just means that the quality of the result goes down. Example, YouTube videos

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

What is the structure of the computer system?

A

• CPU> Disk Controller > Video Controller (ALL FLOWS INTO —> Memory controller and memory)

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

What are interrupts:

A
  • Suspends the current program, transfers the control, determines which controller generated the interrupt and separates the routines for each interrupt.
    • Two types: Polling and vectored interrupts
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What are traps?

A

• They are interrupts but they are generated by the program executing. Dividing by zero for example

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

What are I/O Queues?

A

• One process requests IO from the controller, if busy, the I/O request is queued.

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

Queues go from the:

A

Stack (or interrupt routine) to the process

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

What is synchronous vs Asynchronous IO?

A
  • Synchronous: control returns to the program after I/o is completed
    • Asynchronous: Return directly to program during I/O operation
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What are the three storage structures?

A
  • Main Memory
    • Secondary storage (CD’s, hard disks)
    • Cache (buffer between CPU and main memory)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What are the three types of hardware protection?

A
  • Memory protection
    • I/O protection (Only one program can read its IO)
    • CPU protection (privileges)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What are the two levels of Hardware protection?

A
  • User mode

* Kernal Mode

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

The Operating System is __________ driven

A

The Operating System is __________ driven (Interrupt)