1.2.1 Operating System Flashcards

1
Q

What does BIOS stand for?

A

Basic input output system

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

What is the BIOS?

A

A program that initialises and tests whether system hardware is functional and then loads the operating system from the hard disk into RAM

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

What are device drivers?

A

A program supplied with a peripheral device that allows the OS to control and communicate with the device

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

What are distributed operating systems?

A

This is a type of operating system that is run across multiple devices, allowing the load to be spread across multiple computer processors when a task is run.

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

What is an embedded operating system?

A

Built to perform a small range of specific tasks, this operating system is catered towards a specific device.
They are limited in their functionality and hard to update although they consume significantly less power than other types of OS.

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

What is intermediate code?

A

Code partly translated between high-level and machine language produced by a computer

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

What are interupts?

A

A signal from hardware, software or the clock to alert the CPU.
If the interrupt is a higher priority than the current task the current routine pauses and resumes after the interrupt is executed.

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

What are interrupt service routines (ISR)?

A

If an interrupt is a higher priority than the current task, register contents are temporarily transferred onto the system stack at the end of the current FDE cycle and the interrupt is handled.

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

What is memory management?

A

The efficient organisation and allocation of main memory to the programs in use

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

What are multi-level feedback queues?

A

A scheduling algorithm that uses multiple queues, each with a different priority. Jobs can be moved between queues

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

What are multi-tasking operating systems?

A

Multi-tasking operating systems enable the user to carry out tasks seemingly simultaneously.
This is done by using time slicing to switch quickly between programs and applications in memory.

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

What are multi-user operating systems?

A

An operating system consisting of one mainframe computer with multiple terminals that allow multiple users to access the computers resources.
Each user is given a time slice of the mainframe processor.

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

What is the operating system?

A

A set of programs managing the operation of the computer that is loaded into RAM every time the computer is turned on.
It bridges the user to the hardware.

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

What are real-time operating systems?

A

An operating system where data is processed as it comes, with response generated with a guaranteed timeframe.
Commonly used in time-critical computer systems.

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

What is a virtual machine?

A

Any instance where software is used to take on the function of a machine, including intermediate code or running an operating system within another.

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

What is paging?

A

Paging is when memory is split into equal-sized sections known as pages, with programs comprising a certain number of equally-sized pages.
These can then be swapped between the main memory and the hard disk.

17
Q

What is scheduling?

A

Allocating processor time to each application to ensure processor time us used as efficiently as possible when multitasking

18
Q

What is segmentation?

A

Segmentation is the splitting up of memory into logical-sized divisions, known as segments, which vary in size.
These represent the program’s structure and logical flow, with segments allocated to blocks of code such as conditional statements or loops.

19
Q

What is virtual memory?

A

Virtual memory uses a section of the hard drive to act as RAM when the space in main memory is insufficient to store programs being used.
Sections of programs that are not currently in use are temporarily moved into virtual memory through paging, freeing up memory for other programs in RAM.

20
Q

What eight things does the operating system do?

A

Memory management
Resource management
File management
Input/output management
Interrupt management
Utility software
Security
User interface

21
Q

Describe Round robin scheduling

A

Each job is given a section of processor time - known as a time slice - within which it is allowed to execute.
Once each job in the queue has used its first time slice, the operating system again grants each job an equal slice of processor time.
Once a job has been completed it is removed from the queue.

22
Q

What are two negatives about round robin scheduling?

A

Although Round Robin ensures each job is seen, longer jobs will take a much longer time for completion due to their execution being inefficiently split up into multiple cycles.
This algorithm also does not take into account job priority.

22
Q

Describe First come first served scheduling

A

Jobs are processed in chronological order by which they entered the queue. Although this is straightforward to implement.

23
Q

What is a negative about first come first served?

A

FCFS again does not allocate processor time based on priority.

24
Q

What is a negative about multilevel feedback queues?

A

Can be difficult to implement due to deciding which job to prioritise based on a combination of priorities.

25
Q

Describe shortest job first scheduling

A

The queue storing jobs to be processed is ordered according to the time required for completion, with the longest jobs being serviced at the end.
This type of scheduling is most suited to batch systems, where shorter jobs are given preference to minimise waiting time.

26
Q

What are two negatives of shortest job first scheduling?

A

It requires the processor to know or calculate how long each job will take and this is not always possible. There is also a risk of processor starvation if short jobs continue being added to the job queue.

27
Q

What is processor starvation?

A

When a particular process does not recieve enough processor time in order to execute and be completed.

28
Q

What is the POST?

A

POST (Power-on self test) which ensures that all hardware (keyboards, disk drives) are correctly connected and functional

29
Q

What are 2 uses of virtual machines?

A

Protection from malware: Malware will affect the virtual machine rather than the device being used.
Running incompatible software: Programs specific to different operating systems or different versions of an operating system can be run within a VM, saving the time and money required to purchase the hardware.