1.2.1 Systems Software Flashcards

PMT Adv. Notes (Upto Scheduling) (16 cards)

1
Q

What’s…

OS?

Operating System

A

Programs providing user interface

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

What’s…

OS’s purpose?

Operating System

A

User communicate with computer to perform low level tasks involving the management of computer memory and resources.

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

In what devices are operating system essential?

A
  1. Laptops
  2. Mobile phones
  3. Games consoles
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are examples of desktop operating systems?

A
  1. Windows
  2. MacOS
  3. Linux
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What are examples of desktop operating systems?

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

What features does an OS provide?

A
  1. Memory management
  2. Resource management (scheduling)
  3. File management (moving, editing, deleting files and folders)
  4. Input/ Output management (device drivers)
  5. Interrupt management
  6. Utility software (disk defragmenter, backup, formatting etc.)
  7. Security (firewall)
  8. User interface
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What’s…

3 mameory management techniques?

A
  1. Paging
  2. Segmentation
  3. Virtual memory (VM)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What’s…

Paging?

(1/3)

How used?

A

Memory split into equal sized pages.

Programs consist of certain no. pages.

Pages swap from main memory & hard disk as needed.

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

What’s…

Segmentation?

(2/3)

How works?

A

Memory split into logically sized segments.

Split based on program’s code structure. e.g. conditional statements, loops

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

What’s…

VM?

Virtual Memory (3/3)

Used when?

A

Section of hard drive used as RAM.

If main memory = insufficient space.

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

What’s…

Moved into VM?

Virtual Memory

A

Unused programs

Through paging

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

What’s…

Disk thrashing?

A

Computer freezes as high page swapping frequency. = More time spent transfering pages than spent running program.

Worsening as VM fills.

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

What’s…

Interrupts?

A

Signals sent by software/hardware telling processor a process needs attention.

Different interrupts have different prioritys.

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

How are…

Interrupts stored?

A

Priority order within priority queue inside interrupt register.

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

How does…

OS service interrupts?

Operating System

A

Fairly, using Interrupt service routine.

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

How does…

ISR work?

Interrupt Service Routine

A
  1. Processor checks interrupt register at end of FDE cycle.
  2. If interrupt priority > process being executed = special purpose registers’s contents temporarily transferred into stack.
  3. Appropriate ISR loaded into RAM & flag set = signaling ISR begun.
  4. Interrupt serviced & flag reset.
  5. Interrupt queue checked against originally executed process.
  6. Repeat untill all priority interrupts serviced.
  7. Stack contents transfered back & FDE cycle resumes.