Professional Documents
Culture Documents
Everything About Operating System
Everything About Operating System
Gaurav Garg
● The operating system (OS) manages all the software and hardware on the computer. It performs basic tasks such
as file, memory and process management, handling input and output, and controlling peripheral devices such as
disk drives and printers.
○ Most of the time, there are several different computer programs running at the same time, and they all
need to access your computer’s central processing unit (CPU), memory and storage. The operating
system coordinates all of this to make sure each program gets what it needs.
● Operating systems usually come pre-loaded on any computer we buy.
○ Most individuals use the operating system that already comes with their computer however it is possible
to upgrade or change the initial operating system to suit your preference.
○ Windows and MacOS come preloaded but
■ Linux is not pre-loaded on computers, but is free to download. It is highly customisable as it is
open source.
● Batch OS vs Time-sharing OS
○ Advantages
■ Distributed operating systems are scalable hence increasing the processing power. Furthermore,
resource sharing is one of the essential features of this OS. It allows the users to share the
resources due to which decreases the workload from a single system.
■ Overcoming a single point of failure is also a significant advantage. Hence, if a system has some
issue or breakdown, it’ll not affect the processing of other computers in the system.
Android OS
● Android was originally founded by Andy Rubin in 2003 under the company name Android, Inc.
● In 17th August 2005, Google acquired android Incorporation. Since then, it is in the subsidiary of Google
Incorporation.
● The first commercial version, Android 1.0, was released on September 23, 2008.
● The operating system is developed by Google
● Latest version is Android 13 codename Tiramisu
● Android OS Versions
○ Android 11 - Red Velvet Cake - September 8, 2020
○ Android 12 - Snow Cone - October 4, 2021
○ Android 13 - Tiramisu - August 15, 2022
○ Android 14 - Upside Down Cake (To be released)
○ Android 15 - Vanilla Ice Cream (To be released)
Windows OS
● Developer – Microsoft
● Latest Windows 11 was released on October 5, 2021.
● Windows CE (officially known as Windows Embedded Compact), is an edition of Windows that runs on
minimalistic computers, like satellite navigation systems and some mobile phones.
● It was first launched in 1985 as a graphical operating system built on MS-DOS. It was Single-User
Single-Tasking Operating System.
Mac OS
● macOS is a Unix operating system developed and marketed by Apple Inc. since 2001. It is the primary operating
system for Apple's Mac computers.
● Various macOS Versions
○ MacOS 11 Big Sur
○ MacOS 12 Monterey
○ MacOS 13 Ventura (Latest)
○ MacOS 14 Sonoma (To be released)
Device Driver
● In computing, a device driver is a computer program that operates or controls a particular type of device that is
attached to a computer or automaton.
○ A driver provides a software interface to hardware devices, enabling operating systems and other
computer programs to access hardware functions without needing to know precise details about the
hardware being used.
○ LINUX
■ Tux the penguin, the mascot of Linux
■ Linux is a family of open-source Unix-like operating systems based on the
kernel, an operating system kernel first released on September 17, 1991, by
Linus Torvalds.
■ This open source operating system ensures we don’t have to deal with viruses
or malware.
■ What is the difference between LINUX & Unix?
● Unix is multi-tasking, multi-user operating system but is not free to use and is not open
source. It was developed in 1969 by Ken Thompson’s team at AT&T Bell Labs.
■ What are the variants of LINUX?
1) Ubuntu - It came into existence in 2004 & is one of the most well
known Linux distribution. It has many features, including an office
suite, web browsers, instant messaging, media mapping, etc.
2) Linux Mint
3) Debian
4) Red Hat Enterprise
5) Fedora
○ Free BSD
■ This is a free UNIX open source operating system. The networking of intranet and internet
servers are its best applications. The University of California developed this OS. It mainly
focuses on speed and stability and it can handle and manage large memory loads.
Sleep vs Hibernate
● Sleep uses very little power, your PC starts up faster, and you’re instantly back to where you left off. You don’t
have to worry that you'll lose your work because of your battery draining because Windows automatically saves
● Hibernate option was designed for laptops and might not be available for all PCs. Hibernate uses less power than
sleep and when you start up the PC again, you’re back to where you left off (though not as fast as sleep).
○ Use hibernation when you know that you won't use your laptop or tablet for an extended period and won't
have an opportunity to charge the battery during that time.
Few Shortcuts
● Ctrl+Alt+Delete is the combination of the Ctrl key, the Alt key and Del key that a user can press at the same
time to terminate an application task or to reboot the operating system.
● Press the “Windows logo key + SHIFT + S” to take a screenshot using the Snipping Tool using Snip & Sketch.
● Windows key + D — Show or hide the desktop.
● Ctrl + Esc — Open the Start menu.
● Ctrl + Shift + Esc — Open the Task Manager.
● F5 Refresh the active window.
● F8 – Used to access the boot menu in Windows when turning on the computer.
● Windows logo key + I - Open Settings.
● Windows logo key + L - Lock your PC
● Windows logo key + P - Choose a presentation display mode.
● Windows logo key + S - Open search.
● In the macOS environment we will find the HFS+ (HFS (Hierarchical File System) file system.
○ As of June 2016, Apple has implemented their new file system “APFS,” (Apple File System):
● In Windows, we use FAT file systems. The first is known as the FAT (12, 16, or 32) file system. This system uses
what is known as a File Allocation Table to index the files on the disc. FAT is used by very old versions of
Windows such as Windows 95, MS DOS etc.
○ The second file system in Windows is known as NTFS (New Technology File System). It is used by new
versions of Windows such as windows 10, 11 etc.
● ext (Extended File System), ext1, ext2, ext3, ext4, MINIX, OpenZFS, BtrFS, XFS – All of these are file systems
commonly used on Linux and Unix-based operating systems.
Programs
● A program is the code that is stored on your computer that can complete a certain task. There are many types of
programs, including programs built into the operating system and ones to complete specific tasks. Generally,
task-specific programs are called applications (or apps).
● When a program is loaded into memory along with all the resources it needs to operate, it is called a process.
○ A Thread is a smaller unit of execution within a process that shares the same memory and resources.
○ Processes are heavyweight operations. Threads are lighter-weight operations. Each process has its own
memory space. Threads use the memory of the process they belong to.
● Demand paging - Load the pages of the process as per demand i.e. don’t load any page until required. We can use
demand paging to reduce the number of frames allocated to a process. This arrangement can increase the degree
of multiprogramming (allowing more processes to be available for execution at one time) and—in theory, at
least—the CPU utilization of the system.
● If the referred page is not present in the main memory then there will be a miss and the concept is called Page
miss or page fault. The CPU has to access the missed page from the secondary memory. If the number of page
fault is very high then the effective access time of the system will become very high.
● Thrashing
○ In computer science, thrashing occurs when a computer's virtual memory resources are overused, leading
to a constant state of paging and page faults, inhibiting most application-level processing. It causes the
performance of the computer to degrade or collapse. The situation can continue indefinitely until the user
closes some running applications or the active processes free up additional virtual memory resources.