1.3 Operating Systems

2026 Syllabus Objectives

  • Characteristics of operating systems including: Command Line Interface (CLI), Graphical User Interface (GUI), dialogue based and gesture based interface
  • Differences between types of operating systems
  • Advantages and disadvantages of the different types of operating systems

What is an Operating System? 🖥️

The operating system is a crucial piece of system software that manages the computer's resources and provides services for application programs.

Key Functions of an Operating System

The operating system is responsible for several critical tasks:

  • Dealing with errors that occur in applications programs
  • Maintaining security of the whole computer system
  • Maintaining a computer log which contains details of computer usage
  • Allowing communication between user and the computer system (user interface)

💡 Key Point: Computer users need to be able to communicate with the operating system – this is called the user interface.


User Interface is the means by which the user and a computer system interact, in particular the use of input devices and software.

There are two main types of user interfaces:

  • Command Line Interfaces (CLIs)
  • Graphical User Interfaces (GUIs)

Command Line Interface (CLI) ⌨️

What is a CLI?

A Command Line Interface (CLI) is a type of interface where the user types in specific instructions to perform tasks.

How CLIs Work

CLIs require a user to type in instructions in order to:

  • Choose options from menus
  • Open software
  • Execute various operations

There are often a number of commands that need to be typed in, for example, to save or load a file. The user therefore has to learn a number of commands just to carry out basic operations.

Example of CLI Code

Consider the task of importing data into a table called B. Using CLI, the code would look like this:

1. SQLPrepare(hStmt,
2.   (SQLCHAR *) "INSERT INTO tableB SELECT * FROM tableA",
3.   SQL_NTS):
4.   SQLExecute(hStmt);

This example shows how complex it is just to carry out a fairly straightforward operation using CLI.

Advantages of CLI ✅

AdvantageExplanation
Direct communicationThe user is in direct communication with the computer
No restrictionsUser is not restricted to a number of pre-determined options
Precise controlAllows for exact specification of commands

Disadvantages of CLI ❌

DisadvantageExplanation
Steep learning curveUser has to learn a number of commands just to carry out basic operations
Time-consumingIt is slow having to key in these commands every time an operation has to be carried out
Error-proneTyping mistakes can lead to errors or failed commands
Not user-friendlyRequires technical knowledge and memorization of commands

Sign in to view full notes