1.2.1 Operating Systems

studied byStudied by 4 people
0.0(0)
learn
LearnA personalized and smart learning plan
exam
Practice TestTake a test on your terms and definitions
spaced repetition
Spaced RepetitionScientifically backed study method
heart puzzle
Matching GameHow quick can you match all your cards?
flashcards
FlashcardsStudy terms and definitions

1 / 52

flashcard set

Earn XP

Description and Tags

53 Terms

1
Features of an operating system
memory management, resource management, file management, input/output management, interrupt management, utility software, security, user interface
New cards
2
Memory Management
optimizes the use of the computer or device's internal memory
New cards
3
Paging

RAM is split up into equal sized sections made to fit the memory

New cards
4

benefits of paging and segmentation

  • allows for non-contiguous data storage

  • pages are assigned when needed program runs despite insufficient memory

New cards
5
What is a virtual machine?
Software based emulation of a computer system. It provides and environment with a translator for intermediate code to run.
New cards
6
Intermediate code
Code in between machine code and object code which is independent of the systems architecture
New cards
7
Use of intermediate code
able to be used across different machines and OS because it is independent of the processor architecture
New cards
8
An advantage of virtual machines is it can be configured ...
to create a specific environment needed for a specified task
New cards
9
An advantage of virtual machines is it makes ...
it possible to easily recover from failures.
New cards
10

An advantage of virtual machines is it saves…

time and money of having to purchase multiple devices for testing
New cards
11
Drawback of virtual machine
can be slower in comparison to running low level code on the device it was designed for
New cards
12
Uses of virtual machines
  • testing programs

  • protection from malware

  • running software that is incompatible with different types of os

New cards
13

operating system

software which controls a computers basic functions

New cards
14

how does the OS control communications

using protocols

New cards
15

how does the OS manage software

loading/ uploading software to memory

New cards
16

Why does memory need to be managed ?

memory is limited

New cards
17

segmentation

splits memory into variable sized logical divisions which can hold whole programs.

New cards
18

disk threshing

happened when more time is spent swapping pages from memory to the disk so the computer may ‘hang’

New cards
19

interrupt

a signal generated by software or hardware to indicate to the processor that a process need immediate attention

New cards
20

Stages of the interrupt service routine (abr)

Cancel Shane Dawson So Real Cuz

New cards
21

Stages of the interrupt service routine ( full )

cancel - complete the FDE cycle

Shane - save registers to memory

Dawson - determine interrupt service routine to run

so - service the interrupt

real - restore the register values

cuz - continue the original routine

New cards
22

what is an ISR ?

interrupt service routine is a program that responds to interrupt requests

New cards
23

why does interrupt only occur when the FDE is complete?

to ensure max efficiency of the processor

New cards
24

scheduling

manages the amount of time allocated to different processes in the CPU

New cards
25

purpose of scheduling ( maximising )

max out number of jobs

max out number of users receiving fast response with little delay

New cards
26

purpose of scheduling

jobs processed fairly, improve efficiency, prevent process starvation

New cards
27

round robin algorithm

jobs given equal amount time, if incomplete sent to the back of the queue.

New cards
28

adv of round robin

easy to implement, job sizes are small

New cards
29

disadv of round robin

  • doesn’t priorities important proccess

  • inefficient for longer jobs

  • if more processes are being run then the less frequent each process is allocated.

New cards
30

first come first serve (fcfs)

the processes are run in the order which they are allocated to the processor.

New cards
31

adv fcfs

  • easy to implement

  • avoids process starvation - once a job starts it will be completed

  • works well when there are only a few concurrent processes

New cards
32

disadv fcfs

  • doesn’t prioritise important tasks

  • long wait before processes can run

New cards
33

shortest job first

the process that needs the shortest amount of time goes first

New cards
34

disadv of shortest job first

  • process starvation happens when shorter jobs keep being added

  • doesn’t prioritise important tasks

  • long wait before processes can run

New cards
35

adv of shortest job first

  • ensures max number of jobs completed

  • minimises the average time taken to process task

New cards
36

shortest time remaining

jobs with the shortest time remaining are priorities over others.

New cards
37

difference between shortest time remaining and shortest job first

a long job which is mostly complete might have a short time remaining and would therefore be prioritise

New cards
38

multi level feedback queue

uses queues of tasks where each queue has a different level of priority

New cards
39

adv of multi level feedback queue

ensures higher priority processes run on time

New cards
40

disadv of multi level feedback queue

  • hard to implement

  • not efficient for jobs with similar priority

New cards
41

Distributed OS

coordinates communication between computers and makes it work as whole/runs across multiple computer but appears as one to the end user.

New cards
42

use of Distributed OS

useful when single processor doesn’t have enough power

New cards
43

embedded OS

used in computers that have a specific purpose

New cards
44

multitasking OS

os switches between tasks quickly, looks like more than one task is running at a time

New cards
45

multi user OS

multiple users to a operate the same computer using terminals

New cards
46

What is the role of a BIOS ?

Basic Input Output System is responsible for loading the OS when the computer is first turned on

New cards
47

What are the steps a BIOS goes through to start a computer?

Checks that all the hardware is on and workings using a POST(Power-On-Self-Test)

New cards
48

What does bootstrap do ?

Loads the operating system kernel into memory.

New cards
49

Where is BIOS stored?

Initial start up instructions are stored in the ROM so that they can be changed and retained when the power is switched off

New cards
50

What is the relationship between BIOS, ROM, POST, Bootstrap and kernel?

The CPU executed the code from the ROM which is none volatile and contains the BIOS. The BIOS performs the POST. If the POST is unavailable the device loads the bootstrap. Bootstrap loads the OS kernel into memory.

New cards
51

What is a device driver?

software that allows a computer to communicate with hardware devices.

New cards
52

Why are device drivers needed to communicate between hardware and software?

Device drivers are specific to the computer’s architecture and specific to the operating system installed on the device. The are essential because they translate the OS generic commands to device specific instructions. They ensure proper communication and functionality.

New cards
53

New cards
robot