Chapter 1 Flashcards
What are the 4 components of a computer system?
Hardware, CPU, Memory, I/O Devices
Define Operating System
Controls hardware, similar to government in that it performs no useful function by itself, provides a workable environment
what type of OS when user sits in front of PC?
Ease of Use
what type of OS when user sits at terminal connected to a mainframe or mini-computer?
Resource utilization; equal share of CPU time, memory, and I/O devices
what type of OS when user sits at work stations and servers?
Compromise between ease of use and resource utilization
what is resource allocator?
especially important where many users access the same mainframe of computer
what is control program?
control program manages the execution of user programs to prevent errors concerning I/O devices
Moore’s Law
computers gained in functionality, and shrink in size, and decrease in cost
Kernel
Os running at all times
What are two types of programs?
Systems programs and application programs
Define Middleware
set of software frameworks that provide additional services to application developers
what is the initial program of OS?
boostrap program
R.O.M.
Read-only memory; storage that permanently stores data
EEPROM
electrically erasable programmable read-only memory known as firmware
example of firmware
smartphones
steps of general OS program
- bootstrap program locates OS kernel + load it into memory
- kernel provides services to system and its users
- interrupt from hardware or software
- CPU is interrupted; stops what it’s doing, and immediately transfers execution to a fixed location (fixed location contains starting address where service routine for interrupt is located)
- interrupt service routine executes, then CPU resumes the interrupted computation
Describe interrupts
- need to be handed quickly
- table of pointers used for speed
- interrupt vector holds addresses
RAM
Random access memory (main memory); rewritable and commonly is implemented in a semiconductor technology called dynamic random access memory (DRAM)
DRAM
dynamic random access memory
2 instructions used in storage structure
store & load
what does load do?
load moves a byte or word from main memory to an internal register within CPU
what does store do?
stores moves the content of a register to main memory
2 important reasons that things don’t stay in main memory permanently.
- main memory is too small to store all data and programs permanently
- main memory is a volatile storage device that loses its content when power is switched off
what storage holds larger quantities of data permanently?
secondary storage such as disks, cache memory, etc.
which storage systems are volatile?
registers, cache, main memory
which storage systems use semi-conductor memory?
registers, cache, main memory, and solid-state disk
what storage systems are non-volatile?
solid-state disk, magnetic disk, optical disk, magnetic tapes
faster storage system?
registers
slower storage system?
magnetic tapes
what is an example of solid-state disk
flash memory, seen in cameras (slower than DRAM, but needs no power)
NVRAM
Non-volatile DRAM
describe a function of cache
caches can be installed to improve performance where a large disparity in access time or transfer rate exists between two components
SCSI controller
small computer systems interface; 7+ devices can be attached to it
define device controller
device controller maintains some local buffer storage + set of special purpose registers, moves data b/w peripheral devices that it controls + local buffer storage