SLR4 Flashcards
(24 cards)
Why does a computer need to check for interrupts
so that the computer can appear like it is multitasking
what happens during an interrupt
The data held in all of the registers is copied into a data structure called a stack
What happens once the interrupt is completed
The values stored in the stack are loaded back into the necessary registers
What can cause a stack overflow error
when too much data is being stored in the Stack
What is the role of an OS
It provides an interface between the user and the hardware
What is defragmentation
The process of reorganizing data so that it can be more efficiently read/written
What is Paging
The process of splitting a program into physical divisions so that memory can be organized
What is segmentation
Splitting a program into logical divisions so that memory can be organized
what is an advantage of segmentation
It is more efficient than paging
What is the difference between virtual storage and virtual memory
Virtual storage: cloud storage
Virtual memory: Fake RAM
Give some common Scheduling Algorithms
First Come First Served
Shortest Job First
Round Robin
Shortest Remaining Time
In which Scheduling Algorithm are processes Executed in the same order that they arrive
First Come First Served
In which Scheduling Algorithm are processes allocated a fixed amount of time to run
Round Robin
What is the difference between STF and SRT
SRT is a pre-emptive algorithm which means that processes can be suspended if a higher priority process joins the queue
What is the BIOS
Basic Input output System
What role does the BIOS perform
Loads the OS when you first boot on the system
What is a Power On Self Test (POST)
A test performed by the BIOS the makes sure that all hardware is connected and working
What is responsible for loading the OS into memory
The bootstrap
Where is the BIOS stored
ROM
What role do device drivers perform
Telling the OS how to interact with a device
Why does JAVA run on most operating systems
It is 1st compiled into intermediate code.
What are the types of ROM
PROM (Programmable Read-Only Memory)
EPROM (Erasable Programmable Read-Only Memory)
EEPROM (Electrically Erasable Programmable Read-Only memory)
what is the difference between EEPROM and PROM
EEPROM can be rewritten multiple times, whereas PROM can only be written to once
What is EPROM
Where Ed takes his discord kitten