What is an operating system?
a collection of programs that work together, to provide an interface between the user and computer
What are the functions of an operating system?
5.interrupt service routine
6.I/O management
7.security
What is a similarity of paging and segmentation?
both are used when RAM space is insufficient, which can cause disk thrashing
What is a difference between paging and segmentation? (2 things)
How is virtual memory used when there is not enough RAM? (3 things)
What is an interrupt?
a signal generated by software or hardware to indicate to the processor that a process needs attention
What is the process of the interrupt service routine? (6 steps)
Which of these scheduling algorithm are pre-emptive or non pre-emptive?
FCFS, SRT, SJF, MLFQ, RR
pre-emptive - RR, SRT, MLFQ
non-preemptive - FCFS, SJF
What is an advantage of using multilevel feedback queues for scheduling?
Makes use of mutiple queues to properly distrubute priority
What is a disadvantage of using multilevel feedback queues for scheduling?
hard to implement
What is the defenition of a real-time operating system?
real-time operating systems perform a task within a guaranteed time frame
Where are real-time operating systems used?
in systems where a response within a given time frame is critical
What are the 3 functions of the BIOS when running tests upon computer start up?
What is the role of a device driver?
to enable the OS to interact with hardware devices
What are 3 examples where a virtual machine may be used?
What is an advantage of intermediate code?
Code that is halfway between machine code and object code, independent of the processor architecture
What is an disadvantage of intermediate code?
considerably slower compared to running low-level code on the device it was designed for
What are 3 examples of where real-time operating systems are used?
What does POST stand for?
power on self test