A phone with no apps is just glass and metal. Software is what makes hardware useful, and the operating system is the software that runs first and controls everything else. Questions on types of software and functions of an OS appear in almost every bank and SSC paper.
What is software?
Software (सॉफ्टवेयर) is a set of instructions, called a program, that tells the hardware what to do. You cannot touch it. Hardware is the body; software is the mind.
There are two main kinds.
System software
System software runs the computer and helps other software work. It includes:
- Operating system such as Windows or Android.
- Utility programs such as antivirus, disk cleaner and file compression tools.
- Device drivers: small programs that let the computer talk to a printer, mouse or other device.
- Language translators: they change a program written by a human into machine language (0s and 1s).
Application software
Application software does a task for the user. Examples are MS Word for writing, a browser for the web, a UPI app for payments and a cricket game. It can be general-purpose (Word, Excel) or specific-purpose (a railway ticket booking system, tally software for accounts).
Firmware
Firmware is software stored permanently inside a hardware chip, such as the program in a TV remote or a washing machine. It sits between hardware and software.
Language translators
Computers understand only machine language. People write in easier languages, so translators are needed.
| Translator | Job |
|---|---|
| Assembler | Converts assembly language into machine language |
| Compiler | Converts the whole program at once, then runs it. Shows all errors together |
| Interpreter | Converts and runs one line at a time. Stops at the first error |
Compiler versus interpreter
A common mix-up. Remember: a compiler is like translating a full book before reading it. An interpreter is like a live translator who speaks line by line.
What does an operating system do?
The operating system (OS) is the manager of the computer. It sits between the user and the hardware. Its main functions are:
- Process management: decides which program uses the CPU and for how long.
- Memory management: gives RAM to programs and takes it back when they close.
- File management: creates, stores, names and deletes files and folders.
- Device management: controls input and output devices through drivers.
- Security: protects data through passwords and user accounts.
- User interface: lets you use the computer, either by clicking icons (GUI) or typing commands (CLI).
GUI means Graphical User Interface, with windows, icons and menus. CLI means Command Line Interface, where you type commands, as in MS-DOS.
Opening a song while a file downloads
You download a file and play music at the same time. The OS shares the CPU between both tasks so quickly that they seem to run together. This is called multitasking.
Types of operating systems
- Single-user: one person at a time, such as a basic phone.
- Multi-user: many users at once, as in a bank's central computer.
- Batch: jobs are collected and run together, as in older payroll work.
- Real-time (RTOS): gives an answer within a fixed time, as in air traffic or a pacemaker.
Popular operating systems
- Windows: made by Microsoft, GUI based, the most used on desktops.
- Linux: a free, open-source system. Linus Torvalds created its kernel in 1991. Open source means anyone can see and change the code.
- Android: by Google, based on the Linux kernel, used on most smartphones in India.
- macOS and iOS: by Apple, for its own devices.
Booting
Starting a computer is called booting. When you press the power button, a small program checks the hardware (POST, Power-On Self-Test), and then the OS loads from the disk into RAM. A cold boot starts the machine from off. A warm boot is a restart with power on.
Check yourself
- Which translator reads and runs one line at a time? (Interpreter)
- Name the OS function that gives RAM to programs. (Memory management)
- Is a printer driver system software or application software? (System software)
Main points
- Software is of two main kinds: system software and application software.
- Compiler translates the whole program; interpreter works line by line.
- OS functions: process, memory, file and device management, security and user interface.
- Linux is open source; Android is based on the Linux kernel; Windows is made by Microsoft.
- Booting loads the OS into RAM; a restart is a warm boot.
Revise this course: Quick revision notes · MCQs with answers (20)
Download all the notes of this course (PDF)
Doubts
No answered doubts for this lesson yet.