PLT-Reviewer
PLT-Reviewer
These are external events independent from the Which pertains to a service provided by the operating
currently running process, that contribute to process system for the program development section of a
switching. computer interface?
- Interrupts - Provision facilities for application program
development tools in the form of utility programs.
This pertains to a process being created.
- New process state Which pertains to a service provided by the operating
system for the system resource access section of a
These are the data present in a processor's registers computer interface?
during process execution. - Control the access to the whole system through
- Context data access functions and authorizations.
Which statement best describes process creation? Which can be considered as one of the objectives of
- This is when a new process is to be added to operating systems?
those currently being managed. - Allowing an efficient computer resource
utilization
What specific table is maintained by the operating Which is NOT considered as an objective of operating
system to manage input and output devices and systems?
channels? - Define a general standard for portability across
- I/O table a wide range of programs.
In an operating system, where does the process image Which statement is INVALID regarding operating
location depend? systems?
- Memory management scheme - Time-sharing was developed by the General
Motors Research Laboratories.
Which of the following can place a process in a
suspended state? In what particular area can an operating system provide
- A parent process a uniform interface that hides the complex sets of
instructions for I/O device operation?
In process switching, these are related to exception - Access to I/O devices
conditions that are generated within the currently
running process. What is the main concept behind simple batch systems?
- Traps - The utilization of a resident monitor
Process Creation:
- Assign a unique process identifier to the new process
- Allocate space for the process
- Initialize the process control block
- Set the appropriate linkages
- Create or expand other data structures
ESSAY
An Operating System (OS) is software that manages computer hardware and software resources, making
computers easy to use. It handles things like:
Serial Processing (1940s-1950s): No OS existed, and users had to interact directly with the hardware. This method was slow
and inefficient.
Batch Systems (1950s): Introduced to improve processor usage by grouping jobs for execution.
Multi-programmed Batch Systems: Allowed multiple programs to be in memory at once, improving CPU utilization.
Time-sharing Systems: Allowed multiple users to use the system simultaneously, with the OS quickly switching between
user programs.
The OS also manages the Instruction Set Architecture (ISA), Application Binary Interface (ABI), and
Application Programming Interface (API), which are essential for running programs and providing hardware
access.
Microsoft Windows: Windows is a popular OS with a modular architecture. Its core consists of the
Windows Executive, Kernel, HAL (Hardware Abstraction Layer), and device drivers.
o Key components include the I/O Manager (for managing input/output devices), Cache Manager (for improving file
access speed), and Security Reference Monitor (for enforcing security policies).
UNIX: Initially developed at Bell Labs, UNIX systems have a simple architecture with three layers:
User Level, Kernel, and Hardware.
o Classic UNIX: Runs on a single processor and lacks some modern features like multiprocessing.
o Modern UNIX: Introduced advanced features like real-time processing and virtual memory.
Linux: An open-source variant of UNIX, Linux is modular, with the OS divided into loadable modules
that can be added or removed as needed.
o Linux is known for its dynamic linking (loading modules into memory when needed) and stackable modules
(modules that depend on each other).
Android: A Linux-based OS designed for mobile devices. It uses a smaller Linux kernel and focuses on
security, memory, and process management.
A process is a program in execution, consisting of code, data, and resources. Processes are managed by the OS
to ensure smooth execution and resource sharing.
States of a Process
Each process is represented by a Process Control Block (PCB). It stores all necessary information about the
process, including:
Process Switching
Process switching happens when the OS moves a process from running to another state (e.g., waiting or ready).
Interrupts or traps can trigger a switch, such as when a process finishes or encounters an error.
Modes of Execution
User Mode: The process has limited control over the system. Most user applications run in this mode.
Kernel Mode: The process has complete control and can access hardware directly. Only OS processes run in kernel mode
for security.
6. Practical Applications
Process Scheduling: The OS decides which process runs next based on criteria like process priority and resource availability.
Multiprocessing: Modern OS allows multiple processes to run simultaneously by managing CPU time and memory
allocation.