Unit 2 - Processes Flashcards

1
Q

What is the difference between

Cooperative multitasking & Pre-emptive multitasking?

A

Cooperative multitasking,Here applications have to be coded so that they allow other programs to run from time to time.

Pre-emptive multitasking, The operating system can require one process to give way to another to allow sharing of resources (provided that the first process is not at a critical point that would make this operation risky).

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

What is Persistant Memory?

What is Volatile Memory?

Are the following examples Persistant or Volatile memory?

  • Main memory,
  • caches
  • registers
  • Disk storage
A

Persistant Memory - Retains memory when the power is switched off

Volatile Memory - Does not retain memory when the poweris switched off

  • Main memory - Volatile
  • caches - Volatile
  • registers - Volatile
  • Disk storage - Persistant
How well did you know this?
1
Not at all
2
3
4
5
Perfectly