Skip to content
GK24
GK NotesComputer AwarenessSoftware and Operating Systems

Software and Operating Systems: Types, Functions and MCQs

Complete computer awareness notes on software and operating systems: system and application software, OS functions and types, kernel, booting and scheduling.

By · Published · 4 min read

Software and Operating Systems: Types, Functions and MCQs — GK24 title card
Software and Operating Systems: Types, Functions and MCQs — GK24 title card

A computer is two things at once. The machine you can touch is hardware; the set of instructions that tells the machine what to do is software. Every question an examiner asks in the Computer Awareness section about Windows, Linux, Android, booting or memory management sits inside this one division, so it is worth fixing the vocabulary before anything else. Software is intangible, it is written in a programming language, and it can be copied, updated or deleted without opening the cabinet.

The two families of software

Software is classified into system software and application software. System software runs the machine itself: the operating system, device drivers, language translators and utility programs. Application software does a user job: a word processor, a spreadsheet, a browser, a billing package. A third term, firmware, sits between the two; it is software written permanently into a chip, such as the BIOS on the motherboard, and the machine cannot start without it.

Language translators belong to system software and are asked often. An assembler converts assembly language into machine code. A compiler translates a whole high level program into machine code in one pass and reports all errors together. An interpreter translates and executes the program line by line, so it stops at the first error. A linker joins object modules, and a loader places the program in main memory for execution.

What an operating system does

The operating system is the system software that acts as the interface between the user and the hardware. It is loaded first and it stays in memory as long as the machine is on. Its standard functions are process management, memory management, file management, device management, security and job scheduling. It also provides the user interface, which may be a command line interface, where the user types commands, or a graphical user interface, which uses windows, icons, menus and a pointer.

Types of operating system

A batch operating system groups similar jobs and runs them without user interaction. A multiprogramming system keeps several programs in memory so the processor never sits idle. A time sharing or multitasking system gives each user a small slice of processor time in turn, so many users feel served at once. A real time operating system guarantees a response within a fixed time and is used in missile control, medical equipment and industrial plants. A distributed operating system shares work across several connected computers. A network operating system manages servers, printers and shared files on a network.

Kernel, booting and scheduling

The kernel is the core of the operating system, the part always resident in main memory, and it controls the processor, memory and devices. A monolithic kernel keeps all services in one block; a microkernel keeps only the essentials in the kernel and moves the rest out. The shell is the outer layer that takes the user command and passes it to the kernel.

Booting is the process of starting the computer and loading the operating system into main memory. A cold boot is starting a machine that was switched off; a warm boot is restarting a machine already on. On start-up the BIOS runs the power on self test, which checks the hardware, and the bootstrap loader then brings the operating system in from disk.

Scheduling decides which ready process gets the processor next. First Come First Served serves processes in arrival order. Shortest Job First picks the process with the smallest burst time. Round Robin gives every process a fixed time quantum in rotation and is the method used by time sharing systems. When two processes each hold a resource the other needs and neither will release it, the system is in deadlock.

Memory, files and famous names

Virtual memory lets the operating system use a part of the hard disk as though it were main memory, so a program larger than the installed RAM can run; the technique of moving fixed size blocks between disk and memory is paging, and excessive paging that leaves no time for real work is called thrashing. Spooling places output in a queue on disk so that slow devices such as printers do not hold up the processor.

A file system decides how data is stored and named on a disk. FAT32 and NTFS belong to Windows, ext4 to Linux. Among the operating systems themselves, UNIX was developed at Bell Laboratories in 1969 by Ken Thompson and Dennis Ritchie, Linux was released in 1991 by Linus Torvalds and is free and open source, MS-DOS was a single user command line system, Windows brought the graphical interface to the personal computer, and Android is built on the Linux kernel.

Exam Point of View

Examiners test four things from this topic. First, the classification questions: is a given program system or application software, and which category does a compiler, a device driver or a browser fall into. Second, the definitions: kernel, shell, booting, spooling, thrashing, deadlock and virtual memory are asked as one line meanings. Third, the pairs: FAT32 and NTFS with Windows, ext4 with Linux, POST with BIOS, Round Robin with time sharing. Fourth, the names and years: UNIX 1969 at Bell Labs, Linux 1991 by Linus Torvalds, Android on the Linux kernel. The common traps are confusing compiler with interpreter, cold boot with warm boot, and treating a utility program or a device driver as application software.

Important Facts

Two classes of softwareSystem software and application software
Core of the operating systemKernel
Outer layer taking user commandsShell
Hardware check at start-upPOST, the power on self test, run by the BIOS
Cold bootStarting a computer that was switched off
Warm bootRestarting a computer that is already on
Scheduling used in time sharingRound Robin, with a fixed time quantum
Disk used as main memoryVirtual memory, implemented by paging
Excessive pagingThrashing
Queuing output for slow devicesSpooling
Windows file systemsFAT32 and NTFS
UNIXBell Laboratories, 1969, Ken Thompson and Dennis Ritchie
LinuxReleased in 1991 by Linus Torvalds, free and open source
AndroidBuilt on the Linux kernel

Practice MCQs on this topic

Q3.Computer AwarenessMedium

Which scheduling algorithm allots a fixed time slice to every process in rotation and is therefore used in time sharing systems?

  1. A.First Come First Served
  2. B.Shortest Job First
  3. C.Round Robin
  4. D.Priority scheduling
Show answer
Correct answer: C. Round Robin

In Round Robin scheduling every ready process is given the processor for a fixed period called the time quantum, and when that period expires the process is moved to the back of the queue and the next one is served.

Q9.Computer AwarenessHard

An operating system that guarantees a response within a strictly fixed time limit, as needed in missile control and medical equipment, is called

  1. A.Batch operating system
  2. B.Real time operating system
  3. C.Time sharing operating system
  4. D.Distributed operating system
Show answer
Correct answer: B. Real time operating system

A real time system is judged not only by whether it gives the right answer but by whether it gives that answer inside a fixed deadline.

Q11.Computer AwarenessHard

The technique of placing output in a queue on the disk so that a slow device such as a printer does not hold up the processor is called

  1. A.Paging
  2. B.Spooling
  3. C.Caching
  4. D.Swapping
Show answer
Correct answer: B. Spooling

Spooling stands for simultaneous peripheral operations on line. The operating system writes the data meant for a slow device into a queue on the disk and lets the processor go on with other work, while the device picks jobs out of that queue at its own pace.

Frequently Asked Questions

What is the difference between system software and application software?

System software runs and manages the computer itself and includes the operating system, device drivers, language translators and utilities. Application software performs a task the user wants done, such as typing a letter, preparing a spreadsheet or browsing a website. Application software cannot run unless system software is already working.

What is the difference between a compiler and an interpreter?

A compiler translates the entire high level program into machine code in one go and reports all the errors together, so execution is faster once translation is done. An interpreter translates and executes the program one line at a time and stops at the first error it meets, which makes it slower but easier to debug.

What is booting in a computer?

Booting is the process of starting a computer and loading the operating system from the disk into main memory. The BIOS first runs the power on self test to check the hardware, and the bootstrap loader then brings the operating system in. Starting a switched off machine is a cold boot and restarting a running one is a warm boot.

What is virtual memory?

Virtual memory is a technique in which the operating system uses a part of the hard disk as if it were main memory, so a program bigger than the installed RAM can still run. Fixed size blocks called pages are swapped between disk and memory, and when paging becomes so heavy that useful work stops, the condition is called thrashing.

Which operating systems are open source?

Linux, released by Linus Torvalds in 1991, is the best known free and open source operating system, and its source code may be read, changed and redistributed. Android is built on the Linux kernel. Windows and macOS, by contrast, are proprietary operating systems whose source code is not released to the public.

Sources

View all