Operating system (OS) Is the software that runs on the bare hardware of a computer and provides essential
support for users to develop and use applications in the most efficient and safe
manner.
CPU Machine instructions perform operations on contents of registers and memory
locations.
USER NEEDS
The user thinks in terms of arrays, lists, and other high-level data structures,
accessed and manipulated by corresponding high-level operations.
Main memory Physical memory is a linear sequence of addressable bytes or words that hold
programs and data.
User Needs:
The user must manage a heterogeneous collection of entities of various types and
sizes, including source and executable programs, library functions, and dynamically
allocated data structures, each accessed by different operations.
Secondary storage Disk and other secondary storage devices are multi-dimensional structures, which
require complex sequences of low-level operations to store and access data
organized in discrete blocks.
User Needs
The user needs to access and manipulate programs and data sets of various sizes
as individual named entities without any knowledge of the disk organization.
I/O devices I/O devices are operated by reading and writing registers of the device controllers.
User needs:
The user needs simple, uniform interfaces to access different devices without
detailed knowledge of the access and communication protocols.
Abstraction Is the act of removing unimportant details or attributes of objects in order to
construct more general and less complex objects.
OSs make extensive use of abstraction by creating hierarchies of objects where
multiple operations at one level are combined into a single operation at a higher
level, thus hiding the details of the implementation and making the operation easier
to use.
Virtualization Is the act of creating the illusion of having one or more objects with more desirable
characteristics than the real object.
Multiprogramming Is a technique that keeps several programs active in memory and switches
execution among the different programs to maximize the use of the CPU and other
resources.
Time-sharing (multitasking) Is an extension of multiprogramming where the CPU is switched periodically among
all active computations to guarantee acceptable response times to each user.
Kernel Is the minimal set of functions necessary to manage the system resources safely
and efficiently.
It typically provides the most essential services for memory and device
management, for creating and managing units of computation, and for
communication among the different concurrent activities within the system
Privileged instruction Performs critical operations that access I/O devices and the CPU's status and
control registers.
Thus only the OS kernel is allowed to execute privileged instructions.
Grade A+ | Updated
, Computer Operating Systems Study Guide and Practice Questions
Kernel mode Is the CPU state where both privileged and non-privileged instructions may be used
User mode Is the CPU state where only non-privileged instructions may be used
Graphical user interface (GUI) Presets various icons on the screen, which the user can click on in different ways to
invoke services associated with the icons, or to reveal pull-down menus for
additional tasks.
OS shell Is a command interpreter that accepts and interprets textual commands issued by
the user via a keyboard
Shell script Is a program that implements a new operation by combining multiple commands
(similiar to a batch) and control statement into one named unit interpreted by the
shell.
System call 1) Is a request from an application for an OS service.
2) Software-triggered interrupt allowing a process to request a kernel service.
Supervisor call (kernel call) Is a privileged instruction that automatically transfers execution control to a well-
defined location within the OS kernel.
Similar to a function call with two special features:
1) The call switches execution from user mode to kernel mode by setting the mode
bit in the CPU.
2) To prevent a call from branching to arbitrary locations within the kernel, the
function to be invoked is not specified by an address but indirectly using an index
into a branch vector. Thus kernel-mode execution is limited to only well-defined
entry points within the kernel.
Interrupt Is an event that diverts the current execution of a program to a predefined location
in the kernel in order to respond to an event. An interrupt is triggered by a hardware
signal sent to the CPU from an external device.
2 common:
1) Signal to the OS the completion of an I/O operation. The interrupt is generated by
the I/O device.
2) Implement time-sharing by periodically switching the CPU among multiple
concurrent computations. The interrupt is generated by a countdown timer.
Trap (also called an internal interrupt) I an interrupt triggered by the currently executing instruction
Dividing by zero, executing an invalid opcode, or causing an arithmetic overflow are
all errors, which result in a trap and cause the OS to abort the current program
execution
Interrupt handler Is a kernel function, invoked whenever an interrupt occurs, that determines the
cause of the interrupt and invokes the appropriate kernel function to provide the
response.
Moore's law Formulated by the scientist Gordon Moore, is the observation that the number of
transistors in an integrated circuit doubles about every two years
Grade A+ | Updated
, Computer Operating Systems Study Guide and Practice Questions
What was the first generation computer? Vacuum tubes
OS type: None
Characteristics:
All programming was done by experts in machine language without any support
from an OS or any other system software.
What was the second generation computer? Transistors replaced vacuum tubes as smaller and faster switches.
OS type: Batch OS
Characteristics: Programs were submitted in batches of punch cards. The role of
the OS was to automate the compilation, loading, and execution of programs.
Multiprogramming was developed, which allows the OS to schedule the execution
of jobs to make more efficient use of the CPU and other resources.
What was the third generation computer? Integrated circuits allowed the development of microchips to replace individual
transistors.
OS type: Interactive multi-user OS.
Characteristics: Interrupts were developed to allow the OS to enforce time-sharing
and to interact with keyboards and display terminals, also developed during the
same period. Increased capacity and speed of memory and secondary storage
devices imposed additional management tasks on the OS.
What was the fourth generation computer? Very large scale integration (VLSI) allowed the placement of a complete
microprocessor on a single chip, leading to the development of personal computers
(PCs).
OS type: Desktop and laptop OS.
Characteristics: The OS was responsible for all operations, starting from the initial
booting, to multitasking, scheduling, interactions with various peripheral devices,
and keeping all information safe. The emphasis was on user-friendliness, including
the introduction of the GUI.
What was the 5th generation computer? Networking hardware enabled the harnessing of the power of multiple computers.
OS type: OSs for supercomputers, distributed systems, and mobile devices.
Characteristics: The ability to create extremely powerful chips spawned several
directions of development. Supercomputers combined large numbers of processors
and made the OS and other software responsible for exploiting the increased
computation power through parallel processing. Computer networks gave rise to the
Internet, which imposed requirements of privacy and safety along with efficient
communication. Wireless networks led to the development of hand-held devices,
with additional demands on the OS.
What is a mainframe type OS? Definition: a large central computer used by large organizations.
Applications: High-volume data processing in administration, banking, government.
Emphasis: High throughput, management of large storage.
What is a server type OS? Definition: a large computer that responds to requests from individual clients.
Application: Web and email processing, Internet commerce.
Emphasis: Fast response, security.
What is a multiprocessor type OS? Definition: a system of multiple CPUs and memories interconnected by a fast
network into a single parallel computer.
Application: Scientific and other high-performance computations.
Emphasis: Fast interprocess communication and memory access. Data
consistency.
Grade A+ | Updated
, Computer Operating Systems Study Guide and Practice Questions
What is a Distributed System type OS? Definition: a network of independent computers interconnected via a communication
network.
Application: Sharing of data and services, internet commerce.
Emphasis: Efficient and secure communication. Support for many types of
applications and services.
What is a Desktop OS? Definition: a personal computer.
Application: Word processing, personal finance, access to Internet, games.
Emphasis: User-friendly interface. Intuitive organization of data and applications.
Support for a variety of tasks without much technical knowledge of the inner
functioning of the computer.
What is a Hand held device type OS? Definition: small, portable, wireless-capable device for personal use.
Application: Smartphones, tablets.
Emphasis: User-friendly interface. Easy integration of new applications. Support for
microphone, speaker, camera, GPS, motion sensor, and other components.
What is a sReal time system OS? Definition: a computer, frequently embedded in a larger electro-mechanical system,
that must respond rapidly to external events.
Application: Control of industrial processes, vehicle and aircraft control, audio and
video transmission
Emphasis: Scheduling to meet all deadlines. Reliability in life-critical applications.
What is a sensor network OS? Definition: collection of small, spatially distributed dedicated sensors communicating
by wired or wireless connections.
Application: Industrial, environmental, or military monitors. Wearable devices.
Emphasis: Minimize power consumption. Form ad-hoc connections and tolerate
node failures.
Bus A communication system; e.g., within a computer, a bus connects various
components, such as the CPU and I/O devices, allowing them to transfer data and
commands.
Device driver An operating system component that provides uniform access to various devices
and manages I/O to those devices.
Alternate:
A a device-specific program that implements I/O operations, requested by user
applications or the OS, by interacting with the device controller.
Interrupt vector An operating-system data structure indexed by interrupt address and pointing to the
interrupt handlers. A kernel memory data structure that holds the addresses of the
interrupt service routines for the various devices.
Interrupt-request line he hardware connection to the CPU on which interrupts are signaled.
Interrupt-handler routine: An operating system routine that is called when an interrupt signal is received.
Interrupt-controller hardware Computer hardware components for interrupt management.
Grade A+ | Updated