Chapter 1: Introduction Flashcards
Operating Systems
what are operating systems?
- software that manages a computer’s hardware
- provides a basis for application programs
- acts as an intermediary
between the computer user and the computer hardware.
What are the four components of computer systems?
- hardware
- operating system
- application programs
- user
what are the basic computing resources for the systems provided by the HARDWARE?
- central processing unit
- memory
- input/output devices
what are the application programs?
- word processors,
- spreadsheets,
- compilers,
- web browsers
what do the application programs do?
they defines the ways in which these resources are used to solve users’ computing problems.
why doe we need operating systems?
The operating system controls the hardware and coordinates its use among the various application programs for
the various users.
there are two ways to look at the operating systems, what are they?
- User view - Top down view
- System view - bottom up view
what are the some of the keys of user view?
the operating system is made for ease of use
and not for resource utilization
usually are phones and tablets
using the touch screen or the audio search
OS abstracts away hardware detail in order to ease the use of the
involved hard- and software. Maximize the work the user performs.
Draw a user view diagram:
user <–> application programs (compilers, web browsers) <–> operating systems <–>computer hardware (CPU, memory, I/O)
key takeaways from system view:
operating system is the program most intimately involved with the hardware.
OS is a resource allocator and manages all of the resources, it will also decide between conflicting requests for efficient and fair use
OS is a control program and controls the execution of programs to prevent errors and improper use of the computers
in system view we can view an operating system as a?
resource allocattor
What is a resource allocator?
any resource that may be required to solve a problem
- cpu time
- memory space
- storage space
- I/O devices
what does a control program do?
manages the execution of user programs to prevent errors and improper use of the computer.
It is especially concerned with the operation and control of I/O devices.
Goals of the operating system are?
- make computer system convenient to use
- use the computer hardware and software resources in an efficient manner
what is a common way to explain what OS is?
OS is the one program that is running at all time called Kernel
How can we conclude what operating systems consists of?
the operating system includes the always running kernel,
The middleware frameworks that ease application development and provide features,
and system programs that aid in managing the system while it is running
what is system programs?
deals with resources managed by the OS
What is an application program?
its extra stuff that are installed seperately
What are the main components of a modern general-purpose computer system?
One or more CPUs (Central Processing Units) and a number of device controllers connected through a common bus
What is the role of a device controller in a computer system?
A device controller is responsible for managing specific types of devices
(e.g., disk drives, audio devices, graphics displays)
Maintaining local buffer storage
Using special-purpose registers to move data between peripheral devices and its local buffer storage.
How do operating systems interact with device controllers?
Operating systems typically have a device driver for each device controller, which provides a uniform interface to the device for the rest of the operating system.
What ensures orderly access to shared memory in a computer system?
A memory controller synchronizes access to the shared memory, allowing the CPU and device controllers to compete for memory cycles in an orderly manner.
What initiates an I/O operation in a computer system?
The device driver initiates an I/O operation by loading the appropriate registers in the device controller.
What role does the device controller play in an I/O operation?
The device controller examines the contents of the loaded registers to determine the action to take (e.g., reading a character from the keyboard),
starts the data transfer from the device to its local buffer, and informs the device driver upon completion of the operation.