SLR 04 - Operating Systems & System Software Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

What does the OS handle?

A

User Access / Logging in
Application Software
Memory Management
User Interface
Utility Programs
File Management
Device Drivers

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

What is Multitasking?

A

The processor allocating time to several processes when multiple apps are open

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

What is defragmentation?

A

When there is space for a program but not contigually, it moves programs to make space for a program to be in RAM

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

What is Paging?

A

Pages are of a fixed size
Made up of physical divisions
Programs are split up into a series of pages
Can be inefficient as programs in a loop can be spread in RAM

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

What is Segmentation?

A

Segments are different sizes
They are complete sections of programs
Segments are logical divides

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

What are the similarities between Segments and Pages?

A

Both run despite insufficient memory
Both are stored on disks
They are transferred onto memory when needed

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

What are the differences between Segments and Pages?

A

Pages are fixed sizes, segments are different
Pages fit memory, segments have program sections
Pages are physical, Segments are logical

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

What is virtual memory?

A

When physical memory is running low virtual memory is used
If more time is used moving data in memory than processing it, the computer is slowed

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

When do interrupts occur in the FDE cycle?

A

After execute

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

What are interrupts?

A

A way to signal the processor from other devices during the FDE

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

What does ISR stand for?

A

The Interrupt Service Routine

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

What occurs during the ISR?

A

The contents of the interrupt register is copied to the program counter for the instruction of the interrupt
Registers contents from before the interrupt are copied into a stack for retrieval
Once the interrupt is complete these are copied back into the registers continuing the program from before the interrupt

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

What are some examples of interrupts?

A

Power Down : Hardware
Moving the mouse : User
Arithmetic Overflow : Software
Screen Recording app : Timer
Buffer Empty : Input / Output

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

What do schedulers allow for?

A

Effective management of multi-tasking operating systems

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

What do schedulers manage?

A

What to process next
The length of time a process can execute for

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

What are examples of sceduling algorithms?

A

FCFS - First come first serve
SJF - Shortest job first
RR - Round Robin
SRT - Shortest remaining time
MLFQ - Multi-Level feedback queue

17
Q

How does FCFS work?

A

Processes execute in the order they arrive
Processes waiting in queue just wait

18
Q

How does SJF work?

A

Picks processes that take the least time and run til completion
Follows same post-execute process as FCFS

19
Q

How does RR work?

A

Each process is alocated a time slice
If not completed by the end of this it returns to the back of the ready queue

20
Q

How does SRT work?

A

Similar to SJF
Processes are suspended if higher-priority processes join the queue

21
Q

How does MLFQ work?

A

Used in multi-processor systems
Can handle multiple process queues at the same time
Scheduler moves jobs between queues as needed

22
Q

What is a device driver?

A

It is software that translated code to be understood by another device

23
Q

What are the types of operating systems?

A

Distributed
Multi-Tasking
Multi-User
Embedded
Real-Time

24
Q

What is distributed computing?

A

When the OS controls and co-ordinated several computers and presents them as 1 system

25
Q

What is an embedded OS?

A

It runs on dedicated hardware to maximise efficiency of a system using little memory

26
Q

What is a real-time OS?

A

Processes in real-time systems must execute in a certain time frame
Redundancy is built into real-time systems to handle sudden increases in input
Real-time systems rarely run at full capacity