Midterm Flashcards
What does the operating system do?
The OS abstracts the internal computer architecture and the OS manages and transparently handles all of the HW resources.
‘Top Down’ view is associated with?
Abstraction (provides a clean and abstract set of resources
‘Bottom-up’ view is associated with?
Management (Mangages HW resources)
What does the Disk Driver do?
Deals with the hardware and provides an interface to read and write disk blocks
The OS interacts with the device via
Device Driver
What is multiplexing
Sharing resources in two different ways: in time and in space
What was Generation 0 called
Mechanical Era
What’s Generation 1
(1945-55) which consisted of the Electromechanical Relays & Vacuum Tubes Era
What’s Generation 2
(1955-65) which consisted of the Transistors & Batch Systems Era
What’s Generation 3
(1965-1980s) which brought solid-state IC revolution and Multiprogramming
What’s Generation 4
(1980-1990) which brought “Personal” Computers.
What’s Generation 5
(1990-Present) which brought Mobile Computers
Which generation was the ENIAC created
Generation 1
Where was the transistor invented?
AT&T’s Bell Labs.(Generation 2)
Leading to the first class of general-purpose computers known as
Mainframe
Mainframe?
Is a computer system that is primarily used by large organizations or institutions for bulk data processing and large-scale transactions
What was the batch system analogous to
Pipelining
Job input (Generation 2)
Each user’s “job” was specified by a set of input punch cards
What did the punch cards represent
The cards represented the user’s ‘program’
With the 360 what did it bring fourth
Multiprogramming,Dynamic Address Translation (DAT),Out-of-Order Instruction Execution
Time-sharing
allows the mainframe to be ‘multiplexed’ so that multiple users could issue commands interactively while the system mostly sat idle
The principal components of any computer system consist of
CPU, cache memories + MMU, Memory Subsystem (aka primary storage, I/O Devices, long term secondary storage, bus structure
I/O is composed of?
a physical device and a device controller
bus structure is?
connect all the computer’s subsystems.
What’s the brain of the Comptuer
CPU
What does the CPU do
F-D-X Fetch Decode Xecute in cycles
Two predominant types of instruction encoding and sets?
RISC & CISC
The Program Counter (PC) is?
A register, which points to the next instruction to be fetched
Stack Pointer (SP) ?
points to the top-of-stack
Frame Pointer (FP)
An additional register dedicated for accessing elements within the current frame. Works with Stack pointer
Register file (RF)
A set of temporary working (main) registers
RF + SP + PC = ??
Execution Context
Program Status Word (PSW)
This register contains the condition code bits, which are set by comparison instructions
Execution Context
the internal data by which the OS is able to supervise and control the process
Spooling?
Whenever a running job finished, the operating system could load a new job from the disk into the now-empty partition and run it is called what?
Has unrestricted access to all computing resources
Kernal Mode
Has very restricted access to computing resources
User Mode
SMT(Simultaneous Multithreating/Hyperthreading does parrelism
No actually it just looks like it
TRAP instructions are
The operating system calls functions
Voluntary switches between User and Kernal modes occur…
often occur as a result of executing a special instruction called a ‘TRAP’ instruction.
Involuntary changes in operating mode occur as a result of either
synchronous (aka exceptions) or asynchronous (aka Interrupts) events,
What type event is the I/0 interupt
Async
the time it takes the ‘head’ to slide towards the track containing the data
Seek Time
The time for the ‘head’ to find its way to the beginning of the desired sector
Latency