Test 1 Flashcards
Computers are comprised of 2 components:
Hardware
Software
What is hardware?
Electronic and mechanical equipment that makes up a computer
It is tangible(physical)
What is software?
Instructions that tells the hardware how to perform
Not tangible!!(not physical)
Example of hardware:
Monitor
CPU
Memory
Hard Drive
Ect.
Two types of software:
System software
Application software
Interface between a user and the hardware. Controls the operations of the hardware . Also known as the Operating System (OS) . Very small % of software is system software
System software
What does OS require to execute?
Computer resources
is a system software. Runs application software. Manages computer resources
Operating System (OS)
Core OS programs that handle important, routinely executed functions
OS Kernel
What is the OS Kernel known as?
Memory Resident
Programs designed to perform specific tasks or solve specific problems for users
Very large % of software falls in this category
Application software
In applications software a computer’s __________ is directly related to the amount and type of application software written for that computer
Power
___________________ require hardware
Hardware is controlled by _________________
Application software
system software
Requests for Service are made through one or more:
OS interfaces
Hardware functionality is also provided through:
OS interfaces
System software and a computer’s hardware communicate through these:
OS interfaces
Modern ______________ support a broad range of:
system software
application software
The OS hides how it performs specific tasks through:
resource abstraction
The first electronic digital computers were built in the:
late 1930s or early 1940s
Digital computers
1937-1942:
1941:
1943-1946:
The Atanaoff-Berry computer (not programmable)
Z3(programmable)
ENIAC(programmable)
Inventors
The Atanaoff-Berry computer (not programmable)
Z3(programmable)
ENIAC(programmable)
Dr. John Atanaoff & Clifford Berry
Konrad Zuse
John mauchly & J. Presper Eckert
As computer systems evolved, so did:
operating system theory
Operating systems are generally classified as one of the following :
Single Program (Operating) Systems (SPOS)
Multiprogramming (Operating) Systems (MPOS)
Real-Time (Operating ) Systems (RTOS )
Advantage of single program os
Simple to implement
Disadvantages of single program os
Inefficient use of resources
Programmer must wait to use computer
User interface is not friendly
A excecuting program is either:
- Using the CPU to execute instructions
- Using a system resource
- Waiting to use the CPU
- Waiting to use a system resource
What does each mean?
MultiProgramming Operating System (MPOS)
Multiple Program Operating System (MPOS)
MultiProgramming System ( MPS)
Multiple Program System (MPS)
All mean the same thing !!!
A multiprogramming (multiple program ) operating system loads multiple programs into _________________ while ________________ the CPU
space - multiplexed memory
time- multiplexing
Most modern OS utilize what os?
multiprogramming operating systems
resource has multiple instances of the resource
Each instance is allocated to a process to use
space-multiplex
resource has only one instance of the resource
The single instance can only be allocated to one process at a time
time-multiplex
Advantage of Multiprogramming Systems
- Better utilization because multiple processes share computer resources
Disadvantage of Multiprogramming Systems
- Depends on the type of multiprogramming system
- Complex
Multiprogramming operating systems can be further classified as follows:
- Batch Processing ( Operating ) Systems (BPOS)
- Timesharing (Operating) Systems (TSOS)
is a multiprogramming ( operating ) system that services “jobs” from a queue
batch program/processing (operating) system
consists of a sequence of commands, one or more programs, and data that are combined into a single unit and submitted to the operating system
A “job “
Batch operation steps:
- Submits a “job” to the operating system
- Waits for the “job” to finish executing
- Collects the output (if any) generated by the job
The user has no direct interaction with the job” during executing
Advantages of Batch Processing Systems
- It’s a Multiprogramming System
- Forces users to think about how to create a “job” that will execute properly (the first time )
Disadvantage of Batch Processing Systems
- Lack of user interaction when executing “jobs”
is a multiprogramming (operating) system that supports multiple interactive users
timesharing (operating) system
Each user interactively submits commands, programs, and data to the system as needed or required
timesharing (operating) system
In a Timesharing OS user interactively provides input to the computer and receives output from the computer using a:
terminal
In a timesharing OS does the user have direct interaction with their executing programs?
Yes
Advantages of Timesharing Systems
- It’s a Multiprogramming System Device
- Users can interaction with the system
Disadvantages of Timesharing Systems
- Users generally don’t think about the commands they issue or the programs they execute
- Programmers spend less time on design and more time “slinging code”
is often dedicated to providing service to one application
Or a small number of applications
real-time ( operating ) system
Because there is often only one application executing , this os rarely provide resource sharing access
Real-time
Where RTOS are used?
Military Vehicles
Nuclear Power Plants
Assembly Line Robots
Medical Devices
Etc.
The goal of most real-time os is to provide ____________________ for any request the application makes to perform work
guaranteed response time
What is meant by guaranteed response time?
Processing must be completed on or before a defined deadline or the system controlled by the RTOS will fail
Two types of RTOS:
- Hard RTOS
- Soft RTOS
service work requests that have absolute deadlines that must be met, or else
Hard RTOS
Examples of hard RTOS
Military Vehicle
Nuclear Power Plant
Medical Device
service work requests have defined deadlines, but missing an occasional deadline is tolerable
Soft RTOS
Example of soft RTOS
Assembly Line Robots
In addition to the operating system strategies discussed earlier, several other computer systems / configurations strategies have evolved since the 1940’s
- Personal Computing
- Centralized Computing
- Distributed Computing
- Client / Server Computing
When the concept of Personal Computing (PC) as first proposed in the late ______, roughly ____ years worth of research in the area of computer operating systems existed.
1970s
30
PCs were brought to the commercial market in _____ by _____
1980
IBM
Thus, OS for PC evolve just like the earlier computers; ______, then ______
Original MS DOS was a ______ variant
MS Windows is a ______ variant
SPOS, then MPOS
SPOS
MPOS
Advantage of Personal Computing
- Each person/user within an organization has their own computer
Disadvantages of Personal Computing
- Administration and user access control can be problematic
Before the advent of PCs, all computing was performed by:
This was known as:
mainframe/mini computers
Centralized Computing
Advantage of Centralized Computing
- Easy to control user access, install , etc.
Disadvantages of Centralized Computing
- Single Point of Failure
- Limitation on the length of a data communication line
can be networked together to form a
Local Area Network (LAN)
The concept of networking computers ( primarily mainframes) evolved during the:
1970’s
The ability to network PCs led to:
distributed computing
Today, _____ perform some or all of the processing previously performed by a central computer
PCs
Advantage of Distributed Computing
- Computing can literally occur anywhere in the world
Disadvantage of Distributed Computing
- Administration and user access control can be problematic
is generally considered to be a more powerful and expensive computer than PCs
workstation
Workstations are often used for work that requires intensive:
calculations and/or computer graphics
is a computer that manages the shared resources on a network
server ( file server )
control access to software , printers , and other devices on the network
Servers
They also provide additional storage capacity for other computers on the network
Server
is any computer that uses or accesses the resources provided by a server
A client
Client/Server Computing is a form of:
Distributed Computing
exists to execute a program
A process
Processes are comprised of the following components …
- Object code
- Program data
- Resources (allocated by the OS)
- The status of the program’s execution
Processes require that an OS environment exists to manage ______________ and __________ among all processes executing in the computer
resource isolation
resource sharing
manages processes and resources, allocating resources to processes when they are requested
The OS environment
A Program and a Process _______ the same entity
made up of instructions that define process behavior when executed on some set of data
that executes a program on a particular set of data using resources supplied by the operating system environment
are not
static entity
dynamic entity
In a process
Only _____ copy of any given program exists
But, ____________ processes can execute the same program
one
one or more
The OS tracks all:
Process Control Block ( PCB) exists for each:
PCB consumes:
When a process terminates, the memory associated with the PCB is:
executing processes
executing process
memory
released
contains information about the status of each executing process .
PCB
The amount and type of information stored in the PCB varies from operating system to operating system
Process ID (unique identifier )
Current program instruction
Allocated resources (memory, disk, etc )