Anki Import Flashcards
(599 cards)
4 components of an computer system
application program
A program designed for end-user execution -word processors -spreadsheets -compilers -web browsers
operating system
software that manages a computer’s hardwarehelps applications worklets users interact with the computer
ease of use
the amount of difficulty and complexity in some aspect of computing
resource utilization
The percentage or amount of hardware or software resources currently being used
embedded computer
A computer inside a larger system that does specific tasks with little or no user interface. 🛠️ Examples: microwaves or car engines
resource allocator
it’s the operating system- determines how resources are used
control program
- Protects programs – prevents crashes and improper use 2. Manages hardware – especially controls I/O devices
Moore’s law
law predicting that the number of transistors on an integrated circuit would double every 18 months
kernel
The kernel is the core component of an operating system that -controls the hardware -manages processes -handles permissions and security 🧠 It operates in kernel mode with full access to hardware.
system program
-runs in user space, not the kernel -handles smaller, more specific OS-related tasks examples- device drivers compilers shells
bus
Provides access between components (such as the CPU and I/O devices) and memory. It allows multiple devices to send and receive data over the same wires.
device driver
An OS component that translates between hardware and software, managing I/O and providing standard access to devices.
interrupt
hardware mechanism that enables a device to notify the cpu that it needs attention
interrupt handler
Receives interrupt signals Prioritizes them by importance Queues them for processing
interrupt vector
table of memory addresses that point to interrupt handlers 📍 It is stored in kernel space
bit
1 or 0
byte
8 bits
interrupt-request line
a wire in the cpu that the processor checks after each instruction to see if an interrupt has occurred
interrupt-handler routine
OS routine triggered by an interrupt signal. It saves the current state, identifies the interrupt, and calls the appropriate service to handle it.
4 steps of an interrupt
1- device controller raises an interrupt on the interrupt request line 2- cpu catches the interrupt and then 3- dispatches it to the interrupt handler 4- the handler clears the interrupt by servicing the device
nonmaskable interrupt
An interrupt that cannot be ignored, delayed, or disabled. Used for critical events like hardware failures or emergency shutdowns.
maskable interrupt
a type of interrupt that can be delayed or disabled (masked) by the CPU using a control bit. 🛑 Used for non-critical events where the CPU can choose to ignore the signal temporarily.
interrupt chaining
A technique where each entry in the interrupt vector points to a list of handlers, allowing multiple devices to share one interrupt.