Professional Documents
Culture Documents
Operating Systems: User Interface
Operating Systems: User Interface
Operating Systems
Operating systems fall under the 'Systems software" Category and their main
purpose is to provide the user with some sort of interface as well
as managing all of the connected hardware, Managing Memory,
Managing Hardware, Multi tasking, Allowing interrupts etc... All of these
things are explained in detail on this page.
User Interface
One of the operating systems jobs is to provide a user interface is what
the user must use to control the computer. Without a user interface, people
would have no way of controlling what a computer does.
There are many different types of user interface, each best suited to different
systems. The user interfaces that we will look ate here are GUI, CLI, MDUI
and VDUI,
GUI
GUI Stands for Graphical User Interface
A GUI is very visual, it usually relies on the idea of having WIMP (Windows,
Icons, Menus and pointers)
Having a GUI allows people to use a pointer to select icons, look at menus,
read instructions etc.
The use of a GUI should be very intuitive and easy to use. When designing a
GUI think about this...
"A GUI is like a joke... if you have to explain it, its not good"
Examples of GUIs include - Windows, OSX, Android, IOS
CLI
CLI stands for Command Line Interface
A CLI is all text based, there is no use for windows, icons menus or pointers,
the user is literally provided with a place to type and read text.
Learning all of these commands will take a long time and therefore this type of
UI is best suited to expert users.
For experts that know the commands, using a CLI can be much faster and
more effective than a GUI as you can instantly command the computer do a
certain task rather than having to search for it in a menu.
Another benefit of CLIs is that they take much less space in both RAM and
your hard disk.
MDUI
MDUI stands for Menu Driven User Interface.
A MDUI are less commonly used in, however they are very useful for
computer systems that have very specific purposes. MDUIs provide the user
with a menu that gives them a set of tasks that can be performed. The users
are limited to these tasks therefore increasing simplicity and preventing errors.
Managing Memory
Another job of the Operating system is to manage the memory being used. Hopefully we already know that when a
program is run by the user it is copied into RAM where faster access can be provided. When RAM becomes full a swap
file (Virtual memory) is used on the hard drive to temporarily move things in and out of RAM as required.
It is the job of an operating system to ensure that all of this runs smoothly and effectively without causing issues.
• Keep a record of where each program/ file is stored on the hard drive
• Keep track of which programs are currently in RAM
• Keep track of how much space is free on both the HD and RAM
• Ensure that programs are not accidentally overwritten.
Multi Tasking
These days computers are expected to do multiple things at a time without
slowing down! For a computer to do this successfully the operating system
needs to manage the tasks that are being processed.
If you open your operating systems task manager you can see this in action...
In the image above you can see all of the programs that are running as well
as the percentage of the CPU they have been allocated and the amount of
RAM they are using. It is the job of the CPU to manage this effectively.
Interrupts
Occasionally with computers something will go wrong, or some sort of human intervention will be required.
When this occurs an operating system must allow an interrupt signal to be sent to the CPU indicating that something needs
instant attention. This signal will suspend CPU activity and await intervention from a human before continuing.
1. Hardware Interrupts - Generated by hardware e.g. a printer out of paper will sent a 'printer interrupt' to the CPU
saying that is cannot print until the paper is refilled.
2. Software interrupts - These are generated by software when an erro
r has occurred.
At any one time a computer will have many devices connected to it. It is the job of the Operating system to manage
these, ensure that they are all working and to ensure that they can all interact with each other as required.
You can get an Idea of this managing process in windows by looking at the device manager. In the image to the right
you can see the device manager software has a list of all hardware connected to the computer.
Print Buffer
If multiple people send documents to a printer at the same time what will
happen? well they cannot print at the same time, therefore some sort of
organization is required. Operating systems will use something called a print
buffer.
Provide Security
Another important job of the operating system is to manage security. The
operating system does this in a number of ways...