The Purpose & Functionality of Operating Systems (Edexcel GCSE Computer Science)

Revision Note

Robert Hampton

Written by: Robert Hampton

Reviewed by: James Woodhouse

The Purpose & Functionality of Operating Systems

What is an operating system?

  • An operating system (OS) is software designed to allow a user to control the hardware and software in a computer

  • An operating system hides the complexities of the hardware from the user, for example:

    • A user does not need to know 'where' on secondary storage data is kept, just that it is saved for when they want it again

  • An operating systems main functions can be divided in to five key areas:

    • User interface

    • File management

    • Process & memory management

    • Peripheral management

    • User management

User Interface

What is a user interface?

  • A user interface is how the user interacts with the operating system

  • Examples of user interfaces include:

    • Command Line Interface (CLI)

    • Graphical User Interface (GUI)

    • Natural language (NLI)

purpose-and-functionality-of-the-os-

What is a command line interface?

  • A Command Line Interface (CLI) requires users to interact with the operating system using text based commands

  • CLIs are more commonly used by advanced users

  • Examples of CLIs are MSDOS (Microsoft Disk Operating System) and Raspbian (for Raspberry Pi)

What is a graphical user interface?

  • A Graphical User Interface (GUI) requires users to interact with the operating system using visual elements such as windows, icons, menus & pointers (WIMP)

  • GUIs are optimised for mouse and touch gesture input

  • Examples of GUIs are Windows, Android and MAC OS

What is a natural language interface?

  • A natural language interface (NLI) uses the spoken word to respond to spoken or textual inputs from a user

  • Examples include

    • Virtual assistants - Amazon Alexa, Google Assistant, Siri

    • Search engines

    • Smart home devices

Advantages and disadvantages of user interfaces

Interface

Advantages

Disadvantages

Command line (CLI)

  • Uses less system resources

  • Useful for automation of tasks

  • Commands are often faster to type than navigating menus

  • Requires users to remember commands

  • Typing errors are common

  • Less intuitive than GUI

Graphical (GUI)

  • Intuitive and user-friendly

  • Requires no previous knowledge to use

  • Information is visual, making it easier to understand

  • Uses more system resources

  • Can be slower to find and execute commands

  • Can be frustrating when doing repetitive tasks

Natural language (NLI)

  • Can be used by people with disabilities

  • Intuitive

  • Not always reliable

  • Privacy concerns

File Management

What is file management?

  • File management is a process carried out by the operating system creating, organising, manipulating and accessing files and folders on a computer system

  • The OS manages where data is stored in both main memory and secondary storage

  • File management gives the user the ability to:

    • Create files/folders

    • Name files/folders

    • Rename files/folders

    • Copy files/folders

    • Move files/folders

    • Delete files/folders

  • The OS allows users to control who can access, modify and delete files/folders (permissions)

  • The OS provides a search facility to find specific files based on various criteria

Process & Memory Management

What is process management?

  • Process management is a process carried out by the operating system dividing time (time slicing) in to small chunks and allocating them to different processes

  • The CPU can only execute one process at a time, it can can execute billions of them in one second.

  • The OS uses a scheduling algorithm to prioritise processes

  • Processes are placed in queue whist waiting to be carried out, they return to the back of the queue when their time is up

  • The goal of process management is to share resources (CPU & main memory)

What is memory management?

  • Memory management is a process carried out by the operating system allocating main memory (RAM) between different programs that are open at the same time

  • The OS is responsible for copying programs and data from secondary to main memory as it is needed

  • Programs and data require different amounts of RAM to operate efficiently and the OS manages this process

  • RAM is allocated based on priority and fairness, for example, system applications (essential) may have a higher priority than user applications

  • The OS uses a paging algorithm to dynamically manage the memory

  • The paging algorithm can adjust memory allocation as needed and swap processes between RAM and virtual memory if needed

  • Memory management makes multitasking possible

Peripheral Management

What is peripheral management?

  • Peripheral management is a process carried out by the operating system managing the way peripherals (hardware) interact with software

  • The OS allocates system resources to peripherals to ensure efficient operation

  • Peripheral management makes plug-and-play (PnP) functionality possible, automatically detecting and configuring new peripherals without the need for manually installing device drivers or power cycling the system

What is a device driver?

  • A device driver is a piece of software used to control a piece of hardware

  • Peripherals require device drivers in order to be used by the operating system

  • The OS has generic device drivers built in which makes basic compatibility possible and enables plug-and-play (PnP)

  • In order for hardware to be used to its maximum capacity, often a separate device driver must be downloaded from the manufacturer

  • Device drivers are OS specific and are regularly updated

User Management

What is user management?

  • User management is a process carried out by the operating system enabling different users to log onto a computer

  • User management includes:

    • Adding and deleting users

    • Allocating different access rights for different users on a network

    • Authenticating users

  • The OS is able to maintain settings for individual users, such as desktop backgrounds, icons and colour schemes

Worked Example

The operating system controls the scheduling of processes. Describe how the operating system uses scheduling to allocate processor time [4]

Answer

A description that makes reference to any four of the following points:

  • All processes are held in a queue

  • Processes are prioritised

  • Processes are allocated time slices

  • Length of time slice depends on priority

  • (and) processes are switched (at the end of their time slice)

  • Unfinished processes are put to the back of the queue

  • During the time slice the process has exclusive use of the processor

Last updated:

You've read 0 of your 5 free revision notes this week

Sign up now. It’s free!

Join the 100,000+ Students that ❤️ Save My Exams

the (exam) results speak for themselves:

Did this page help you?

Robert Hampton

Author: Robert Hampton

Expertise: Computer Science Content Creator

Rob has over 16 years' experience teaching Computer Science and ICT at KS3 & GCSE levels. Rob has demonstrated strong leadership as Head of Department since 2012 and previously supported teacher development as a Specialist Leader of Education, empowering departments to excel in Computer Science. Beyond his tech expertise, Robert embraces the virtual world as an avid gamer, conquering digital battlefields when he's not coding.

James Woodhouse

Author: James Woodhouse

Expertise: Computer Science

James graduated from the University of Sunderland with a degree in ICT and Computing education. He has over 14 years of experience both teaching and leading in Computer Science, specialising in teaching GCSE and A-level. James has held various leadership roles, including Head of Computer Science and coordinator positions for Key Stage 3 and Key Stage 4. James has a keen interest in networking security and technologies aimed at preventing security breaches.