Introduction to Os
Introduction to Os
Definitions
Key Characteristics:
How It Works:
Users upload data offline and submit jobs to the computer operator.
The operator sorts and batches the jobs based on similar needs or processing
requirements.
The operating system executes the jobs in the batch sequentially, without any
need for user input during execution.
Advantages:
Lack of Interaction: No user interaction once the batch is running, which can be a
limitation for jobs requiring real-time input.
Delay in Processing: Jobs might have to wait for their turn in the batch queue,
leading to delays.
Key Characteristics:
1. Multiple Jobs in Memory: Several programs or jobs are kept in the computer's
main memory at the same time.
2. Job Scheduling: The operating system manages and schedules jobs so that the
CPU can switch between them as needed.
3. CPU Utilization: The goal is to keep the CPU busy by overlapping the
input/output operations of one job with the CPU processing of another.
How It Works:
Job Queue: Multiple jobs are loaded into memory and placed in a queue.
Job Scheduling: The operating system uses job scheduling algorithms to decide
which job the CPU should execute next.
Context Switching: When a job requires input/output operations, the CPU
switches to another job that is ready to execute, thereby optimizing CPU
utilization.
Advantages:
Increased Efficiency: Better utilization of the CPU as it does not remain idle while
waiting for input/output operations.
Reduced Idle Time: Minimizes the time the CPU is idle by having multiple jobs
ready to execute.
Better Resource Management: More efficient use of system resources like
memory and input/output devices.
Disadvantages:
Complexity: More complex than single-programming systems due to the need for
sophisticated scheduling algorithms.
Resource Contention: Multiple programs may compete for limited resources,
which can lead to contention and require careful management.
Key Characteristics:
1. Concurrent Execution: Multiple tasks run at the same time, with the CPU
switching between them rapidly.
2. Resource Allocation: Efficient management of resources such as memory, CPU
time, and input/output devices.
3. Process Scheduling: Use of scheduling algorithms to determine which task gets
CPU time and when.
How It Works:
Task Switching: The operating system switches the CPU's focus between
different tasks so quickly that it appears they are running simultaneously.
Time Slicing: The CPU's time is divided into small units called time slices, and
each task gets a turn to execute within these slices.
Process Management: The operating system keeps track of all active processes
and their states to ensure smooth execution and transition between tasks.
Advantages:
Increased Productivity: Allows users to run multiple applications at the same
time, improving productivity.
Efficient Resource Use: Optimizes the use of CPU and other system resources.
Better System Utilization: Reduces idle time for the CPU, ensuring it is always
performing useful work.
Disadvantages:
Key Characteristics:
How It Works:
Time Slicing: The CPU time is divided into small intervals, and each user gets a
turn to use the CPU in a round-robin fashion.
User Sessions: Each user session is isolated from others, ensuring that users do
not interfere with each other's tasks.
Resource Sharing: System resources such as memory and input/output devices
are shared among all users, with the operating system managing access.
Advantages:
Disadvantages:
Key Characteristics:
Multiple CPUs: Utilizes two or more CPUs to handle multiple processes at the
same time.
Parallel Processing: Tasks are divided among the CPUs, allowing them to execute
simultaneously, which speeds up processing.
Increased Reliability: If one CPU fails, the system can continue to operate using
the remaining CPUs.
How It Works:
Task Division: The operating system divides tasks among the available CPUs,
ensuring efficient workload distribution.
Process Management: Manages and coordinates the execution of multiple
processes across different CPUs.
Inter-CPU Communication: Ensures proper communication and synchronization
between the CPUs to maintain consistency and performance.
Advantages:
Disadvantages:
Complexity: More complex than single-processor systems due to the need for
managing multiple CPUs.
Cost: Generally more expensive due to the additional hardware and the
complexity of the operating system.
Key Characteristics:
Advantages:
Predictable Behavior: Ensures that critical tasks are executed within specified
time limits, making the system reliable for time-sensitive applications.
Disadvantages:
Key Characteristics:
1. Resource Sharing: Allows multiple computers to share resources such as files,
data, and processing power.
2. Transparency: Provides a single-system image, making the distribution of
resources and processes transparent to the user.
3. Scalability: Can easily add more computers to the network to enhance
performance and resource availability.
How It Works:
Advantages:
Disadvantages:
Key Characteristics:
How It Works:
File and Print Services: Allows users to share files and printers across the
network.
User Management: Handles user accounts, permissions, and network access
rights.
Communication Services: Facilitates communication between devices using
protocols like TCP/IP.
Network Monitoring: Provides tools to monitor network performance and
troubleshoot issues.
Advantages:
9) What is Android?
Android is an open source and Linux-based Operating System for mobile devices
such as smartphones and tablet computers. Android was developed by the Open
Handset Alliance, led by Google, and other companies.
Key Characteristics:
Beautiful UI
1
Android OS basic screen provides a beautiful and intuitive user interface.
Connectivity
2
GSM/EDGE, IDEN, CDMA, EV-DO, UMTS, Bluetooth, Wi-Fi, LTE, NFC and WiMAX.
Storage
3
SQLite, a lightweight relational database, is used for data storage purposes.
Media support
4 H.263, H.264, MPEG-4 SP, AMR, AMR-WB, AAC, HE-AAC, AAC 5.1, MP3, MIDI, Ogg
Vorbis, WAV, JPEG, PNG, GIF, and BMP.
Messaging
5
SMS and MMS
Web browser
6 Based on the open-source WebKit layout engine, coupled with Chrome's V8
JavaScript engine supporting HTML5 and CSS3.
7 Multi-touch
Android has native support for multi-touch which was initially made available in
handsets such as the HTC Hero.
Multi-tasking
8 User can jump from one task to another and same time various application can run
simultaneously.
Resizable widgets
9 Widgets are resizable, so users can expand them to show more content or shrink
them to save space.
Multi-Language
10
Supports single direction and bi-directional text.
GCM
11 Google Cloud Messaging (GCM) is a service that lets developers send short message
data to their users on Android devices, without needing a proprietary sync solution.
Wi-Fi Direct
12 A technology that lets apps discover and pair directly, over a high-bandwidth peer-
to-peer connection.
Android Beam
13 A popular NFC-based technology that lets users instantly share, just by touching two
NFC-enabled phones together.
How It Works:
Advantages:
Disadvantages:
10) IOS
IOS is a mobile operating system created by Apple Inc. It powers Apple's mobile devices,
including the iPhone, iPad, and iPod Touch. IOS is known for its sleek design, security
features, and seamless integration with other Apple products and services.
Key Characteristics:
How It Works:
Touch Interface: Users interact with iOS devices through touch gestures such as
swiping, tapping, and pinching.
Apps: Users can download and install apps from the App Store, which is curated
to ensure high-quality and secure applications.
Security: Features like Touch ID, Face ID, and regular security updates help
protect user data and privacy.
Advantages:
Disadvantages:
Early Versions
1. Android 1.0 (2008): The first commercial version. Basic features like a web
browser, camera, and Gmail.
2. Android 1.5 Cupcake (2009): Introduced on-screen keyboards, widgets, and
video recording.
Major Versions
3. Android 1.6 Donut (2009): Added support for different screen sizes and
resolutions.
4. Android 2.0-2.1 Eclair (2009): Google Maps navigation, live wallpapers, and
improved camera interface.
5. Android 2.2 Froyo (2010): Improved speed, Wi-Fi hotspot functionality, and Flash
support.
6. Android 2.3 Gingerbread (2010): UI refinements, NFC support, and better copy-
paste functionality.
Modern Versions
11. Android 5.0 Lollipop (2014): Material Design, improved notifications, and better
battery life with Project Volta.
12. Android 6.0 Marshmallow (2015): App permissions, Google Now on Tap, and
Doze mode for battery saving.
13. Android 7.0 Nougat (2016): Multi-window support, improved notifications, and
VR mode.
14. Android 8.0 Oreo (2017): Picture-in-picture mode, notification dots, and autofill
for apps.
15. Android 9.0 Pie (2018): Gesture-based navigation, adaptive battery, and digital
wellbeing features.
16. Android 10 (2019): System-wide dark mode, improved privacy controls, and new
gesture navigation.
17. Android 11 (2020): Conversations section in notifications, native screen
recording, and better media controls.
18. Android 12 (2021): Material You design, improved privacy dashboard, and more
responsive notifications.
19. Android 13 (2022): Enhanced security features, improved connectivity, and more
customization options.
20. Android 14 (2023): Enhanced battery management, new UI improvements, and
better multitasking features.