The Operating System Flashcards

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

Batch Operating Systems

A

Processes large amounts of data in batches

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

How do batch operating systems work

A

Batch’s of data are sent to the CPU to be processed

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

What is one advantage of batch operating systems

A

They are designed to handle large amounts of data at once quickly

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

What is one disadvantage of batch operating systems

A

They have limited use with complex problems

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

Single-user operating systems

A

Allows only one user to operate the system at any one time

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

How do single user operating systems work

A

They limit the instructions that can be processed so that only one person can enter them

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

What is one advantage and one disadvantage of Single-user OS

A

Advantage: Fast and efficient for problems encountered by one user.
Disadvantage: Not fast for dealing with large amounts of data, due to a lack of processing power

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

Multi-user OS

A

Allows multiple users to access one operating system at the same time

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

How do Multi-user OS work

A

Processes all of the users instructions and problems using more processing power, therefore making it more efficient

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

What is one advantage and one disadvantage of Multi-user OS

A

Advantage: Can share data easily between multiple users
Disadvantage: Not suited to smaller tasks, as it wastes processing power

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

Multi-tasking OS

A

Supports the ability to completed multiple tasks at the same time

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

How do multi-tasking OS work

A

They Process multiple tasks at the same time on different cores.

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

What is one advantage and one disadvantage of Multi-Tasking OS

A

Advantage: Allow the processing of multiple tasks
Disadvantage: is more expensive, and can loose smoothness if one operation slows the system down

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

Multi-programming OS

A

Optimizes use of the CPU, preventing it from ever being idle

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

How do Multi-programming OS work

A

Stores multiple jobs in the computers main memory at the same time, processing them each time the CPU is available

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

What is one advantage and one disadvantage of Multi-Programming OS

A

Advantage: Makes processing smooth and feel like multiple programs are being processed at the same time
Disadvantage: Takes lots of memory, and can be slowed down by one large important task.

17
Q

Time sharing

A

Allows multiple users to share computers simultaneously

18
Q

Interrupts

A

A signal to the processor initiated by a program or device that temporarily stops the current processes to tell the processor to execute another task

19
Q

Processes

A

An instance of a program that is currently being executed, made of threads

20
Q

Threading

A

Each thread handles a separate sequence of tasks

21
Q

Multitasking

A

The appearance of multiple tasks being completed at the same time

22
Q

Shceduler

A

Decides which process will be executed next and the length of time that process will have to be executed for

23
Q

What are the three states in the scheduler

A
  1. Ready to run
  2. Running
  3. Blocked
24
Q

Explain the state, Ready to run

A

Scheduler decides where the process will be placed within the ready to run queue

25
Q

Explain the state, Running

A

The process is within the CPU being Run

26
Q

Explain the state, Blocked

A

The process is waiting for an input/output operation for it to continue

27
Q

What are the five different Scheduling processes

A
  1. First Come First Served
  2. Shortest job first
  3. Shortest time remaining
  4. Round Robin
  5. Multi-level feedback queues
28
Q

First come first serve

A

Processes are dispatched according to their arrival time on the ready queue

29
Q

First come first server, advantages and disadvantages

A

Simple to implement
Long processes can hog the CPU, Leading to a low throughput

30
Q

Shortest job first

A

Prioritizes the jobs that take the shortest amounts of time

31
Q

Shortest job first, advantages and disadvantages

A

Minimizes the average waiting time
Generates starvation, so can have extremely long turn around times

32
Q

Shortest remaining time

A

Prioritizes the process with the shortest amount of time left to execute

33
Q

shortest remaining time, advantages and disadvantages

A

Reduces the number of pre-emption’s
Fails, when the process time is unknown before hand

34
Q

Round Robin

A

Randomly selects the process that is next to be run from the list of processes

35
Q

Round Robin, advantages and disadvantages

A

Doesn’t face the issue of starvation
No priority for important tasks

36
Q

Multi-level feedback queues

A

Sorts the process into different queues with different priorities which it then takes from when available space is opened up in the CPU

37
Q

Multi-level feedback queues, advantages and disadvantages

A

Allows for process prioritization and aging
Requires a very complex algorithm to run