system software pmt flashcards

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

what is an operating system

A

a collection of programs that work together 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

give three functions of an operating system

A

memory management, resource management,i/output management, interrupt management, security,user interface, utility software

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

what are the similarities and differences between paging and segmentation?

A

both are used when RAM space is insufficient , can cause disk thrashing
-Paging:used equal sized called pages
-segmentation:uses variable sized, logical sections called segments

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

Describe how virtual memory is used when there is not enough RAM

A

a section of the hard drive is used as RAM ,sections of programs not currently being used are temporarily moved into virtual memory through paging
-this frees up memory for other programs In RAM

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

What is an interrupt

A

a signal 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
6
Q

explain the stages of the interrupt service routine

A

-interrupt register checked at the end of each fetch decode execute cycle
-if there is an interrupt exists with a higher priority to the current process, the current contents of the registers in the CPU are transferred into a stack
-the relevant interrupt service routine (ISR) is loaded into RAM
-a flag is set to signal the ISR has begun
-The flag is reset once the ISR has finished
-interrupt register checked again If interrupts are a higher priority , the process is repeated
-if there are no interrupts with a higher priority , the contents of the stack are popped and place back into the special memory registers
-the fetch decode execute cycle renews as before

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

which scheduling algorithms are pre emotive or non preemptive

A

pre - emotive:RR.STR,MLFQ
non-preemptive:FCFS,SJF

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

What are the advantage and disadvantage of using multilevel feedback queues for scheduling

A

advantage:services most urgent interrupts first
disadvantages:hard to implement

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

define a real time operating system and when it may be used

A

real time operating systems perform a task within a guaranteed time frame.
They are used in systems were a response within a given time frame is critical eg. life supports

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

define three functions of the BIOS

A

-running test upon the computers start up
-POST(power on self tests) which ensures that all hardware is correctly connected and functional
-checking the CPU clock, memory and processor
-testing for external memory devices

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

what is the role of a device driver

A

enable the operating system to interact with the hardware devices

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

describe an instance in which virtual machine may be used

A

-testing programs
-protection from malware
-running software compatible with different versions and types of operating systems

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

give one advantage and one disadvantage of intermediate code

A

advantage:platform indépendant,portable
disadvantage:slower execution

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