1.2.1 Systems software - Gurjot Flashcards

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

what is an operating system

A

a collection of programs that work together in order to provide an interface between the user and the computer

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

state some features that an operating system provides

A
  • memory management
  • file management
  • utility software
  • user interface
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

what is paging

A

when memory is split up into equal sized sections (called pages). these can be swapped between main memory and hard disk as needed.

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

what is segmentation

A

splitting up memory into logical sized divisions (called segment).

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

what is virtual memory

A

using a section of hard drive to act as RAM when the space in the main memory in insufficient. sections currently not in use are moved into virtual memory through paging

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

what are the issues with the 3 ways of memory management

A

it causes disk thrashing (when the computer freezes as pages are being swapped too frequently between hard disk and main memory.)

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

what are interrupts

A

signals generated by software or hardware to indicate to the processor that a process needs attention

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

describe the steps of the interrupt service routine

A
  • Interrupt Request: Device signals the CPU
  • Acknowledgement and Save Content: CPU finishes current task, saves state to the stack
  • Identify and Execute ISR: CPU identifies interrupt source and runs ISR
  • Restore and Resume: CPU restore saved context and resumes main program
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

what is pre-emptive scheduling

A

jobs are actively made to start and stop by the operating system

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

give examples of pre-emptive scheduling

A
  • multi level feedback queues
  • shortest time remaining
  • round robin
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

what is non pre-emptive scheduling

A

once a job is started, its left alone until completed

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

give examples of non pre-emptive scheduling

A
  • first come first served
  • shortest job first
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

describe round robin scheduling

A

each job is given a section of processor time, if not completed in the time, its put back in the queue.

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

describe first come first served

A

jobs are processed in order of which entered the queue first

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

describe multi level feedback queues

A

makes uses of multiple queues, ordered based on different priority.

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

describe shortest job first

A

jobs processed in ordered according to the time required for completion, with the shortest at the front

17
Q

describe shortest time remaining

A

the queue storing jobs is ordered according for the time left for completion. if a new job enters the queue, its compared to the one being processed and is replaced with the one being replaced if it has a shorter completion time.

18
Q

what is processor starvation

A

when a process does not receive enough time in order to be completed.

19
Q

what scheduling algorithms are at risk of processor starvation

A
  • shortest time remaining
  • shortest job first
20
Q

describe a distributed operating system

A

an os run across multiple devices, so load is spread across multiple processors.

21
Q

describe an embedded os

A

built to perform a small range of specific tasks catered to a specific device

22
Q

describe a multi tasking os

A

enables user to carry out tasks seemingly simultaneously using time slicing

23
Q

describe a multi user os

A

makes use of a supercomputer , and scheduling algorithm to ensure time is shared fairly between jobs

24
Q

describe a real time os

A

designed to perform a task in a guaranteed time frame

25
Q

what is the bios

A

the program a computer’s microprocessor uses to start the computer system after it is powered

26
Q

describe the power on self start routine

A
  • ensures all hardware are correctly connected and functional
  • checking cpu clock, memory and processor is operational
  • testing for external memory devices connected to the computer
27
Q

what is a bootstrap

A

the program which loads the operating system from the hard disk to the main memory

28
Q

what are device drivers

A

programs which allow the os to interact with hardware

29
Q

what is a virtual machine

A

a theoretical computer that is a software implementation of a computer system

30
Q

what does a virtual machine do

A

it provides an environment with a translator for intermediate code to run

31
Q

what is intermediate code

A

code that is halfway between machine and object code

32
Q

whats the advantage of intermediate code

A

saves money and time of having to purchase multiple devices for testing

33
Q

other uses of virtual machines?

A
  • protection from malware
  • running incompatible software