Lecture - 1
Lecture - 1
like a calculator.
▪ System calls are obviously needed to create files, remove files, read
files, and write files.
▪ Before a file can be read, it must be opened, and after it has been
read it should be closed, so calls are provided to do these things.
▪ System calls are the only entry points for the kernel system.
Types of System calls
Here are the five types of System Calls in OS:
✓Process Control
✓File Management
✓Device Management
✓Information Maintenance
✓Communications
✓Protection
Why do we need System Calls in OS?
✓Network connections need system calls for sending and receiving packets.
✓Access to hardware devices like scanner, and printer, need a system call.
Virtual machines in OS
✓A virtual machine takes the layered approach to its logical
conclusion.
✓It treats hardware and the operating system kernel as though they
were all hardware
✓ A virtual machine provides an interface identical to the underlying
bare hardware
✓ The operating system host creates the illusion that a process has its
own processor and (virtual memory)
✓ Each guest is provided with a (virtual) copy of the underlying
computer
Virtual machines (VM)
▪ A VM is also known as “Guest”.
▪ Types of VM are:
✓System VM
✓Process VM
Question: Can one access the files of one VM from another?
System VM
▪ Hardware VM
▪ Reliability: the operating system should be able to operate without crashing and
shutting down regardless of user error.
Categories of operating systems
• Single user: They are a type of operating system that only allows
one user operates at a time.
• Multi-user: They are the type of OS that allows more than one user
to operate the computer concurrently.
The user can manipulate different files of the user account and any
given time.
Operating System Components
OS consists of a set of software that can be used to manage interactions with the
hardware.
The shell: This enables communication with the operating system through a
control language, allowing the user to control the device without knowing the
characteristics of hardware, the management of physical addresses, and so on.
Types of Operating Systems
Some widely used operating systems are as follows:
➢Batch Operating System
➢Time-Sharing Operating Systems
➢Distributed Operating System
➢Network Operating System
➢Real-Time Operating System
Examples of OS
• Windows Mobile
• Palms OS
• BlackBerry OS
• Symbian OS
• Android
• iOS
Questions
1. Why different OS developed worldwide?
2. What is the difference between mobile OS and computer OS?
3. List the challenges of OS software development
4. What is the difference between Server OS And Everyday OS?
5. Compare Window, Ubuntu, and Mac OS based on: Properties
✓ Flexibility
✓ Ease of use
✓ Cost
✓ Popularity
✓ Security
✓ Targeted