Lecture 1 Flashcards
What is an OS?
The chief computer software that manages hardware and other software. It is a resource allocator and control program.
Describe Serial Processing
Programmers used Machine language. Was very time confusing
What are the three main objectives in OS Management?
- Resource Efficiency
- Convenience
- Ability to adapt
Explain the primary purpose of having an OS change from the 1960’s to 1990’s.
The transistion was mainly due to making the process cheaper and more convenient.
Describe Batch Processing
Data is collected and executed together as a group, usually without immediate user interaction. It is commonly used to process large volumes of data in a more efficient and systematic manner.
What is the difference between Multiprogramming and Multi processing?
Multiprogramming: The management of multiple processes within a uniprocessor system
Multiprocessing : The management of multiple processes within a multiprocessor
Describe hyper-threading.
Hyper-threading is a hardware-level technology that allows a single physical core to function as two logical cores
Describe multi threading
multi-threading is a software-level approach that involves running multiple threads within a single process
Name three ways in which the processor can transition from user mode to kernel mode.
- System Calls
2.Exceptions/Interrupts/Page faults - Hardware Instructions
How are multiple interrupts dealt with?
- Disable interrupts
while an interrupt is being processed. - Define priorities for interrupts and to allow
an interrupt of higher priority to cause a lower-priority interrupt handler to be interrupted.
How does the distinction between user-mode and kernel-mode provide a rudimentary form of
protection for your system?
Certain instructions could be executed only when the CPU is in kernel mode. Similarly, hardware devices could be accessed only when the program is executing in kernel mode.
Control over when interrupts should be enabled or disabled is also possible only when the CPU is in kernel mode.
The CPU has very limited capability when executing in user mode, thereby enforcing protection of critical resources.
What is Time sharing?
A computing technique that allows multiple users or processes to share a single computer or its resources concurrently.
List the evolution of OS from earliest to latest
- Serial Processing
- Simple Batch Processing
- Multiprogrammed batch jobs
- Time Sharing Systems
- Real Tikme Systems
- Distributed Systems