P2 T2 L2 The Operating System Flashcards

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

What is System software? (1 point)

A
  1. System software acts as an interface between the hardware of the computer and the application software that users need to run on the computer.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Explain the operating system (3 points)

A
  1. The operating system is designed to act as an interface between the user and the computer.
  2. It manages the overall operation of the computer.
  3. It links together hardware, the applications and the user but hides the complexity of the computer from the user and the other software – This is also called a virtual machine.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are some of the tasks the OS performs? (7 things)

A
  1. Controls start-up configuration of your computer (placing icons, background…)
  2. Input recognition and processing (wiggling your mouse)
  3. Memory management (sending signals to hard disk controller, transferring memory, memory allocation i.e. allocating memory to programs in RAM, making sure they have enough memory to run)
  4. Error recovery (printer out of paper, CPU to hot)
  5. Shut down procedures
  6. Print queues
  7. Managing users on a network (controls who has access to what documents)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is Resource Management? (2 points)

A
  1. A resource is “any object which can be allocated within a system” e.g. processors (CPUs), input/output devices, files, and memory (RAM).
  2. The operating system manages resources (resource allocation) and provides an interface to resources for application programs (resource abstraction).
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Explain Resource Allocation (2 points)

A
  1. If a computer only needs to run a single program, then every resource can be allocated to that program but this is not very realistic as most computers run several programs at once.
  2. It is much more efficient for a computer to share its resources rather than dedicating all the resources to any single program until it finishes execution.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is the scheduler? (1 point)

What are the different scheduling algorithms? (3 types)

A

The scheduler is the operating system module responsible for ensuring that processor time is used as efficiently as possible

There are different scheduling algorithms:

  1. Round Robin – each process in turn has use of the processor for a given time slice
  2. Shortest job next
  3. Priority system
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is scheduling? (2 points)

A
  1. Scheduling is a technique used to ensure different users or programs get access to different resources at the same time.
  2. The simplest way to allocate resources like the CPU is allocating time slices to different tasks.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

How are inputs and outputs managed? (1 point)

A
  1. The OS controls how the input/output devices are allocated, controlled and used.

E.g.
Allocating print jobs to print queues
Sending power off request when power button pushed
Rendering windows, frames and dialogue boxes on the screen

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

Explain memory management (5 points)

A
  1. Memory management is the way files are stored on the primary memory.
  2. Memory management keeps track of each and every memory location either it is allocated to some process or it is free (in the heap).
  3. It checks how much memory is to be allocated to processes.
  4. It decides which process will get memory at what time.
  5. It tracks whenever some memory gets freed or unallocated and correspondingly it updates the status.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is memory swapping? (1 point)

A
  1. Swapping is a mechanism in which a process can be swapped temporarily
    out of main memory to a backing store, and then brought back into memory
    for continued execution.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Explain virtual memory (6 steps)

A
  1. If your computer lacks the random access memory (RAM) needed to run a program or operation, Windows uses virtual memory to compensate.
  2. The idea of virtual memory is to create a virtual address space that doesn’t correspond to actual addresses in RAM.
  3. Virtual memory combines your computer’s RAM with temporary space on your hard disk.
  4. When RAM runs low, virtual memory moves data from RAM to a space called a paging file.
  5. Moving data to and from the paging file frees up RAM so your computer can complete its work.
  6. This process is called swapping.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What does the IO device management do? (3 things)

A
  1. Communicates with I/O devices via the I/O controller, part of the CPU
  2. Checks that a required output device is switched on and ready to receive data
  3. Deals with processor ‘interrupts’ (e.g. an “Out of paper” message from a printer)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

(Backing store management)

The OS keeps track of where all files are stored on hard disk or external drives, and where space is free to be used if the user performs a ____ operation.

Files can be listed, moved, deleted, protected from unauthorised access.

A

save

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