Os module 1
Os module 1
User View: This perspective focuses on how users interact with the operating system through
application programs. It abstracts the complexities of the hardware and presents a simplified
interface, making it easier for users to perform tasks.2
System View: This perspective emphasizes how the operating system manages hardware resources
and interacts with the system's components. It involves understanding the underlying processes and
resource management that occur behind the scenes to support user applications.
System View:
- Concerned with resource allocation, process management, memory management, and security
User View:
- Focuses on the interaction between the user and the computer system
Evulation of os
1. Early Batch Systems (1950s-1960s): The first OS were batch systems, which processed jobs in
batches without user interaction.
2. Time-Sharing Systems (1960s-1970s): Time-sharing OS allowed multiple users to interact with the
system simultaneously, improving resource utilization and responsiveness.
3. Personal Computers (1970s-1980s): The rise of personal computers led to the development of
single-user OS like MS-DOS and Apple's Mac OS.
4. Graphical User Interfaces (GUIs) (1980s-1990s): GUIs revolutionized OS design, making them more
user-friendly and intuitive. Examples include Windows and macOS.
5. Modern OS (1990s-present): Modern OS have become more complex, with features like:
6. Mobile and Embedded Systems (2000s-present): The proliferation of mobile devices and
embedded systems has led to the development of specialized OS like Android, iOS, and Linux-based
systems.
A computer system that uses only one CPU to execute all instructions and perform tasks.
Multiprocessor System:
A computer system that uses two or more CPUs to process instructions simultaneously, allowing for
better performance and multitasking.
Processing Speed Slower (tasks done one at a time) Faster (parallel processing)
Task Handling One task at a time Multiple tasks at the same time
Reliability Less reliable (if CPU fails, system fails) More reliable (backup CPUs may work)
A Real-Time System is a computer system that responds to inputs or events within a specific time
limit. The correctness of the system depends not only on the logical result of computation but also
on the time at which the results are produced.
Soft Real-Time
Missing a deadline is tolerated occasionally. Video streaming, online games
System
1. Scalability
2. Fault tolerance
3. Improved performance
4. Resource sharing
Examples include:
1. Cloud computing
2. Peer-to-peer networks
3. Distributed databases
4. Grid computing
2. Scientific simulations
3. Real-time systems
4. Social networks
A Handheld System is a small, portable computing device designed to be held and operated in one
hand. These systems are lightweight, battery-powered, and typically have a touchscreen or small
keyboard for user interaction.
Key Features:
An Operating System (OS) is the software that manages computer hardware and software resources
and provides common services for computer programs. The structure of an OS describes how it is
organized internally.
Operating System Services: These are functions provided by the OS to manage computer hardware
resources and provide a platform for running applications. Some common OS services include:
3. File System Management: Providing a file system for storing and retrieving files.
6. Networking: Managing communication between the computer and other devices on a network.
A Command Line Interface is a text-based interface where users type commands to interact with the
operating system.
Advantages:
Disadvantages:
Definition:
A Graphical User Interface is a visual interface that allows users to interact with the operating system
using windows, icons, menus, and pointers.
Advantages:
Disadvantages:
3. System Calls
Definition:
System Calls are the programming interface through which user applications request services from
the operating system’s kernel.
Advantages:
Enables programs to perform functions like file operations and process management.
Acts as a bridge between user programs and OS.
Disadvantages:
System calls introduce overhead due to mode switching between user and kernel.