Operating Systems
What an operating system does, and a look at the four types of operating system interface.
Key words (10)
operating system, OS, interface, command line interface, graphical user interface, WIMP, gesture based interface, dialogue based interface, kinetic interface, touch screen.
Lesson Objectives
What is an operating system (OS)?
An operating system (OS) is system software that manages everything that happens in your computer.
All computers must have an OS in order to be usable to people.
The operating system provides people a way to communicate with the computer and give it commands.
The types of operating system interface you need to know are Graphical User Interface, Command Line Interface, Gesture based Interface, and Dialogue based Interface.
Images of the different types of operating systems

Common tasks of an operating system
OS tasks include:
- Accepts inputs - from the mouse or keyboard
- Recognises peripheral devices - such as mice and speakers, and makes sure that software needed for the hardware to run is installed
- Hardware and software communication - allows software to communicate with the system's hardware
- Loads and runs software - the OS loads programs into RAM and instructs the CPU to execute (run) them
- Handles system problems and alerts the user - for example: if a printer is jammed and cannot print, the operating system will stop the print job and alert the user with a warning message.
- Manages outputs - to the monitor, speakers or printer etc.
- Manages files and folders in the system - naming, creating, moving, finding and deleting files and folders
- Shares out system memory efficiently - the operating system moves data in and out of memory and decides how much memory should be assigned to different applications. This allows us to open more than one program at the same time (multitasking).
- Manages system security - allows passwords to be added or changed
- Manages system data - locates and retrieves data stored on secondary storage such as hard disks and memory sticks.
Image of operating system tasks

The operating system allows us to actually use a computer.
It provides us with tools to command the computer and tell it what to do.
Without an operating system, the computer would just sit there and do nothing.
The part of an operating system that people use to give commands is called the ‘interface’.
Interfaces allow humans and computers to interact and communicate.

Interfaces

Interfaces allow unrelated entities to communicate:
The interface is what we use to give the computer commands.

The four types of operating system interfaces in this syllabus are:
- Command Line Interface (CLI)
- Graphical User Interface (GUI)
- Gesture based Interface
- Dialogue based Interface
1. Command Line Interface (CLI)
CLIs require users to type commands into a command prompt using a keyboard. A mouse is not used with a CLI.
There are over 280 different commands that can be entered:
- Commands have to be entered precisely without spelling mistakes or else the operating system will return an error
- Remembering commands and the exact way to enter them can be difficult, and so CLI operating systems are considered quite hard to use.
CLIs do not make use of graphics such as images or icons:
Because they use no graphics they require very little computer power.
Features of a Command Line Interface

Command Line Interfaces do not use any graphics.
They use white text on a black screen.
Commands are typed into a command prompt using a keyboard.
Because they don’t use graphics, they can be used on older computers that don’t have much power.
They are often built into GUI operating systems.

Features of a Command Line Interface - Summary
The main features of a CLI are that keyboards are used to type in a variety of different commands into a command prompt.
The sequence of images below shows this:

Examples of some CLI commands
There are over 280 commands that you can enter into a CLI.
- More commands can be entered than in a GUI
- If you can think of something you want the operating system to do, there is a good chance that there is a command for it!
This table shows you some common CLI commands and describes what they do.
| Command | What it does |
|---|---|
| md | Make a new folder |
| cd | Open a folder |
| cd.. | Move back a folder level |
| rename | Rename a file or folder |
| del | Deletes files or folders |
| format | Deletes all the data on a storage drive |
2. Graphical User Interface (GUI)

GUIs are visual (graphical) interfaces and they are more popular than CLIs because they are very easy to use.
Because they use graphics, they need more computer power than CLIs.
Instead of typing in commands, the user can use a mouse to point and click objects on the screen.

Features of a Graphical User Interface - WIMP
The main features of a GUI are Windows, Icons, Menus and Pointers:
Windows - the user can divide the screen into separate areas. The areas are known as windows:
- These windows can be anything from folders to software applications
- Windows allow you to work on several tasks at the same time.
Icons - these are symbols, small images or graphics that are used to represent files, folders and commands:
- An icon is clicked with a mouse pointer to carry out its function
- Functions could be opening, moving, renaming or deleting etc.
Menus - These allow users to select functions from a list. Each item in the list will perform a different function:
- Menus usually either pop-up or drop-down
- The list item is clicked with the mouse pointer.
Pointers - Pointers are little arrows that you move across the screen by directing your mouse. Pointers can be used to:
- Select and use icons
- Select options found in menus
- Reposition folders and icons on the screen.
WIMP in pictures




WIMP = Graphical User Interface
GUI - Summary

Interesting fact!
The first GUI was developed by the printing company Xerox in the 1970s.
Xerox did not sell it widely. Apple saw the idea and built it into its own computers, which made GUIs popular.

Examples of well known GUI and CLI operating systems

Comparing Command Line and GUI operating systems
| Command Line Interface | Graphical User Interface | ||
|---|---|---|---|
| Advantages | Disadvantages | Advantages | Disadvantages |
| User directly communicates with the computer. | Users need to remember complex commands. | Quicker to enter commands. You just click icons. | Smaller range of commands can be used. Icons are pre-programmed to set tasks and users cannot change this. |
| A wider range of commands can be used. | Lots of typing needed for quite simple tasks. | Easier to enter commands. You don't need to remember commands. | |
| Needs very little computer power (because they don’t need high-end graphics). CLIs can be used on very old computers. | Higher chance of errors when typing in commands. One spelling mistake means that the command will fail. | Less chance of users making errors. You are just clicking icons. | Graphical user interfaces require more computer power. (they need video cards to generate the graphics) |
3. Gesture based interface

Gesture based interfaces use the human body to interact with the computer rather than devices such as a mouse and keyboard.
There are two main forms of gesture based interfaces:
- Touch screen interfaces - allow us to use our fingers to perform ‘gestures’ such as tapping icons, swipe, zoom or rotate items
- Kinetic interfaces - scan the space surrounding us and interpret the movement of our hands, arms, face and body.

Touch screens - a general overview
Touch screens allow us to use our fingers to input commands instead of a mouse/keyboard.
Smartphones and tablets use touch screens to increase portability:
Touch screens have both input and output functionality:
- Input - commands can be entered by pressing icons on the screen
- Output - information is displayed on the screen.

Features of a touch screen interface
Common touch screen gestures are shown below:
- Pinching - fingers are pinched together (or spread apart) across a touchscreen to zoom in/out of an image or document on the device.
- Rotating - two fingers are used to turn an object. One finger moves up while the other finger moves down the touchscreen to rotate an object.
- Swiping - this is where you swipe your finger across the touchscreen to scroll through a document or turn the page.
- On-screen keyboard - portable devices don’t have room for a physical keyboard so these are used on the screen instead.
Touchscreen gestures and on-screen keyboards


Kinetic user interfaces - a general overview
We communicate with kinetic interfaces using body movements.
Kinetic interfaces use cameras and depth sensors to interpret movements and gestures:
- Cameras and sensors capture and input motion data into the computer which uses special software to react to those movements.
An example of a kinetic interface is Microsoft Kinect which can be used for purposes such as gaming and controlling robots.

Uses of kinetic interfaces
Uses of kinetic interfaces are shown below:
- Controlling video playback - a video stream by pointing to the left to rewind, pointing to the right to fast-forward, and pointing to the middle to pause.
- Controller-free gaming - gamers can play games using their movements to control on-screen characters rather than gamepads or joysticks. For example - a tennis game would require you to mimic the motions of using a racket to hit a ball.
- Controlling robots - robotic arms can be controlled by a user moving their arm in the direction they want the robot to follow. They can even pinch their fingers together to make the robot pick up an object.
- Turning any surface into a touch screen - any flat surface such as walls and desks can be used as a touch screen. Cameras and sensors pick up motions and gestures made on the surface such as swiping, pinching and tapping, and the computer will react as it would to a regular touch screen.
4. Dialogue based interface

Dialogue based interfaces rely on spoken commands to interact with a computer:
- Voice commands are accepted by the interface rather than inputs from mouse, keyboard or touch screens.
- Human voice is captured by a microphone and then input into the system and processed.
- Common examples of dialogue interfaces are Amazon Alexa and Apple Siri:

Uses of dialogue interfaces
Uses of dialogue interfaces are shown below:
- Communicating with virtual assistants - Amazon Alexa, Apple Siri and Google Assistant all rely on spoken commands in order to carry out a wide range of tasks such as setting alarms, calling people in a contacts list or setting reminders.
- Hands-free driving - drivers can interact with their car radio without taking their hands off the steering wheel. The voice command ‘change channel to Space 103.2’ will set the radio to that channel.
- Starting car engines - some cars can be started using voice commands rather than the traditional ignition key.
- Smart homes - homes can be equipped with smart technologies that allow things like heating, lighting, sound systems and even curtains to be controlled by voice commands. For example - a user could say ‘close curtains’ and the curtains will close. They could say ‘dim lights’ and the brightness of the lighting will be reduced.
Comparing Gesture and Dialogue operating systems
| Touchscreen Interface | Dialogue Interface | ||
|---|---|---|---|
| Advantages | Disadvantages | Advantages | Disadvantages |
| No training needed in order for people to be able to use them. All you do is press the correct option. | Limited number of commands available compared to other interfaces. | Allows hands-free - drivers can make calls or operate a radio without removing hands from the wheel. | Limited uses - they don’t have access to as many commands as other interfaces. |
| Very fast and easy to enter options (you just press them). | Screens can become dirty and full of germs due to people touching it. | Physically disabled people can still operate a computer. Someone with no arms can use their voice to interact with a computer rather than using their hands to operate a mouse/keyboard. | Prone to interference - may not pick up voice commands correctly in loud environments or if the user has a cold (a cold can change the way your voice sounds). |
| Increased portability - no mouse or keyboard required which makes the device (smartphone, tablet etc.) easier to carry. | |||
End of the topic
You've completed the topic: lesson 6 of 7 published in this unit, and already 85% of the way through. Keep it up!
When you are ready, click the Next button below to move on to Emerging Technologies.