Exam 1 Review - Chapters 1 to 3, Computer Organization Review, Tutorials 1 and 2 Flashcards
What is the simplest way to describe a computer?
HW + OS + Apps + Users
What is the user view like?
Single-user, at a terminal/mainframe, uses embedded systems
What is system view?
OS is a resource allocator, control program, the one program running at all times (AKA the kernel)
What is a bootstrap program?
A program loaded at power-up or reboot, stored in ROM/EPROM, AKA firmware, initializes all aspects of the OS
Can I/O devices and the CPU execute concurrently?
Yes, 1/+ CPUs, and device controllers, connect through a common bus providing access to shared memory
What do device drivers do?
Provides uniform interface between controller and the kernel
How does the OS discover the occurrence of an event?
Through polling (CPU constantly loops to see whether the device is ready) or interrupt (CPU works on other tasks until an interrupt is received)
What’s a HW interrupt?
A signal is sent to the CPU
What is a SW interrupt?
Known as trap/exception, includes SW errors, requests for an OS service, system call
What is the storage hierarchy based on?
Based on speed, cost, volatility
How is the storage hierarchy organized?
Magnetic tapes, optical disk, hard disk, SSD, main memory, cache, registers
What kind of systems exist concerning processors?
Single-processor (single general-purpose processor with one general-purpose CPU), multiprocessor (can be a multicore system), and clustered (Independent with shared common storage)
What kinds of multiprocessor systems exist?
Asymmetric (each processor assigned a specific task, batch processor controls the system) and symmetric (each processor performs all tasks)
What is a batch system?
Multiprogramming, users do not interact with the system, organizes jobs so CPU always has one to execute
What is time sharing?
Multitasking, users can interact with the system, each user has at least one program executing in memory, if processes don’t fit in memory, swapping moves them in and out to run