Systems Flashcards

1
Q

Operating system

A

Software that controls the computer’s hardware and software resources.
Allows applications to interact with the hardware.
Performs memory management and security.

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

Paging

A

Divided into pages of equal sizes, stored in page frames
Can be stored non-contiguously
Page table used to keep track of which page frame is allocated to each page.

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

Segmentation

A

Divided into segments of varying sizes to fit the memory requirements of each process.
Can be stored non-contiguously.
OS tracks their physical location with a segment table.
Can be leakage.

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

Virtual memory

A

Extends the memory available by using secondary storage.
Swaps parts of a process that are not in use.
Slower than main memory.

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

Interrupt

A

A signal sent to the processor to request immediate attention.
ISR (Interrupt Service Routine) responds to the request.
Current FDE cycle is finished, current contents of registers is moved to memory, interrupt dealt with then does back to process.

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

Round robin

A

Gives each process a time slice.
Cycles through them until all are finished.
Every task is allocated processing time without a long wait.
As more processes run, the time slice for each gets smaller so more urgent tasks are less likely to be completed.

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

First come first served

A

Processes run from start to finish in the order they are received.
Once started a process will definitely be completed.
Starvation may occur.
Can be long wait times.

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

Shortest job first

A

Processes queued in order of their total time to complete.
Reduces wait times.
Starvation if shorter jobs keep being added.

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

Shortest time remaining

A

If a new task with a shorter time is added it will move on to that.
Delays longer processes.
The less a process has left to do, the higher its priority.

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

Multi-level feedback queue

A

Each queue has a different level of priority. Processes are chosen based on which queue and how much time it’s already had.
If used too much time it moves to a lower priority queue, if has been idle moves to higher priority.
Important jobs are dealt with sooner.
Avoids starvation.

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

Distributed OS

A

Coordinates the communication between separate computers joined together by network connections.
Data and instructions that need to be processed will be split between each computer.
Useful when processor-intensive tasks need to be completed and a single processor is not powerful enough.

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

Embedded OS

A

Used in computers which only serve a specific purpose eg washing machine.
Provide hardware reliability and ensure efficient use of resources.
System not very flexible.

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

Multi-tasking OS

A

Perform a variety of tasks on the same OS, eg personal computers.
Manages the computer’s resources to provide the illusion of running multiple tasks at once.

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

Multi-user OS

A

Provides the facilities for multiple users to access the same system. Controls the consumption of resources so that users can access it without affecting others.

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

Real time OS

A

Support applications that need to process data to produce a particular output as quickly as possible.
Not likely to be as flexible as others as they need to ensure a consistent response to inputs within a guaranteed time period.
Eg plane autopilot system and driverless cars to ensure extremely fast response times.

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

BIOS

A

Basic Input/Output System
Initialises and tests the hardware in a computer system so it’s ready for use by other software.
Loads the bootstrap program which starts the initialisation.
Nothing could be loaded without BIOS.
Stored on flash memory systems which is easier to update than ROM chips.
Non-volatile, read only.
Configurable settings are stored in a CMOS

17
Q

CMOS

A

Complimentary Metal-Oxide-Semiconductor
Memory circuit which has its own battery so that it can maintain its data between restarts.

18
Q

Device driver

A

Program that controls the operation of a specific type of device (eg printer or keyboard) that is part of a computer system.
Provides an interface that allows the operating system and other software to interact with the device.
Installed into the OS to increase the functionality of the OS.

19
Q

Virtual machine

A

Software that allows other software to behave as if it were running on a hardware system.
Can be configured to replicate any combination of hardware.

20
Q

Uses of a virtual machine

A

Running alternating OSs - emulates different hardware setups so that the software runs as if it were on a different hardware platform.

Supporting incompatible software - old software might not run on new systems.

Creating a test system - can run software that could be damaging eg malware or early versions of software

Running multiple servers - more than one server csn run on a virtual machine so services can be separated without multiple hardware pieces.