Chapter 2 (Operating System Overview) Flashcards
What are the three main OS objectives?
Convenience
Efficiency
Ability to evolve
What does it mean for an OS to have the ability to evolve?
Adapt to new features, changes, and updates
What does the OS provide?
Interface
T/F The OS acts to insulate the user or programmer from hardware details, making it easier to access and use the system
T
What are some services the OS may provide?
Program development Program execution I/O device access File access System access Error detection Accounting
What is ISA?
Instruction Set Architecture
What does the instruction set architecture do?
Defines the set of machine language instructions that a computer can follow
What is ABI?
Application Binary Interface
What does the application binary interface do?
Defines a standard for binary portability across programs
What is API?
Application Programming Interface
What does the application programming interface do?
Gives a program access to the hardware resources and services available in a system through the user ISA supplemented with high-level language library calls
How can a computer be viewed?
As a set of resources
What if applications had ownership of system resources?
Sharing resources would be difficult
T/F It is better to let the OS own the resources, so the OS decides which programs get which resources
T
What are the problems with users and applications interacting directly with the hardware?
Scheduling
Setup time
Users had access to the system one at a time, this could be called….
Serial processing
Machine utilization was also important because
Machines were expensive
What is a resident monitor?
A monitor program that resides in memory
How does a monitor increase efficiency?
Scheduling each job in turn automatically, and by reducing setup time through a JCL
What is JCL?
Job Control Language
What does a JCL do?
Specifies setup steps for the monitor
What are desirable hardware features to support a batch OS?
Memory protection
Timer
Privileged Instructions
Interrupts
What is memory protection hardware feature in a batch operating system?
Prevents the monitor from being overwritten
What is a time hardware feature in a batch operating system?
Prevents a job from monopolizing the system
What is privileged instructions hardware feature in a batch operating system?
Only the monitor can do certain things
What is interrupts hardware feature in a batch operating system?
Provides better way to handle transfer of control from the monitor to user programs
What two modes of operation does a processor normally support?
User mode
Kernel mode
What is user mode for a processor?
For user programs
What is kernel mode for a processor?
For the OS
T/F The user mode for a processor has no limitations
F, it does
T/F Some main memory and some CPU time is given to the monitor
T
What is uniprogramming?
Running one program at a time
T/F Multiprogramming is an extension of uniprogramming
T
T/F Batch systems run programs in the “background” and generally don’t have direct user interaction
T
Define a process
A program in execution
Processor is kept busy by switching between programs in response to events such as I/O activity
Multiprogrammed batch systems