27
Ch 26 & 27 User Interfaces

Ch 26 & 27 User Interfaces. Identify operating systems, including those which contain a: graphical user interface (GUI), command-line interface

Embed Size (px)

Citation preview

Page 1: Ch 26 & 27 User Interfaces.  Identify operating systems, including those which contain a:  graphical user interface (GUI),  command-line interface

Ch 26 & 27

User Interfaces

Page 2: Ch 26 & 27 User Interfaces.  Identify operating systems, including those which contain a:  graphical user interface (GUI),  command-line interface

Objectives:

Identify operating systems, including those which contain a: graphical user interface (GUI), command-line interface

Be able to describe the features, advantages and disadvantages of the different types of user interface

Page 3: Ch 26 & 27 User Interfaces.  Identify operating systems, including those which contain a:  graphical user interface (GUI),  command-line interface

Purpose of an operating system:

To recap, two of the purposes of an operating system are:

To provide a user interface so that we can interact with the computer

To manage applications that are running on the computer, starting them when the user requests, and stopping them when they are no longer needed

Page 4: Ch 26 & 27 User Interfaces.  Identify operating systems, including those which contain a:  graphical user interface (GUI),  command-line interface

User Interfaces

What is a user interface?The system that people use to

interact with a computer (to give it commands, to see the results of those commands, etc.) is known as the user interface.

There are two that you need to be aware of:

Graphical User Interface (GUI)Command-Line Interface (CLI)

Page 5: Ch 26 & 27 User Interfaces.  Identify operating systems, including those which contain a:  graphical user interface (GUI),  command-line interface

Graphical User Interface (GUI)

A GUI is an interface built around visual (graphical) things.

Page 6: Ch 26 & 27 User Interfaces.  Identify operating systems, including those which contain a:  graphical user interface (GUI),  command-line interface

GUIs

The GUI allows the user to interact with the computer using pictures or symbols (icons).

The mouse controls a cursor, which is used to select icons to open/run windows, or to select menu items.

Each window contains an application.

Modern computers allow several windows (applications) to be open at the same time.

Page 7: Ch 26 & 27 User Interfaces.  Identify operating systems, including those which contain a:  graphical user interface (GUI),  command-line interface

New GUI technologies

Modern devices (eg touch screen phones) use post-WIMP interactions, where users’ fingers are in contact with the screen

This allows newly developed actions such as pinching and rotating, which would be difficult with a single mouse pointer.

Page 8: Ch 26 & 27 User Interfaces.  Identify operating systems, including those which contain a:  graphical user interface (GUI),  command-line interface

Graphical User Interface (GUI)

The most common technology used by GUIs to provide a user interface is WIMP.

Page 9: Ch 26 & 27 User Interfaces.  Identify operating systems, including those which contain a:  graphical user interface (GUI),  command-line interface

Windows

regions of the screen used to display information

Page 10: Ch 26 & 27 User Interfaces.  Identify operating systems, including those which contain a:  graphical user interface (GUI),  command-line interface

Icons

small pictures that are used to represent folders, software, etc.

Page 11: Ch 26 & 27 User Interfaces.  Identify operating systems, including those which contain a:  graphical user interface (GUI),  command-line interface

Menus

lists of options the user can select from

Page 12: Ch 26 & 27 User Interfaces.  Identify operating systems, including those which contain a:  graphical user interface (GUI),  command-line interface

Pointers

A pointer is an arrow that can be moved around the screen and is used to select things

Page 13: Ch 26 & 27 User Interfaces.  Identify operating systems, including those which contain a:  graphical user interface (GUI),  command-line interface

GUIs

Windows is an example of an operating system with a GUI.

GUIs are quite easy to use due to the visual nature of the interface – the user has lots of visual clues as to what things do.

Page 14: Ch 26 & 27 User Interfaces.  Identify operating systems, including those which contain a:  graphical user interface (GUI),  command-line interface

BUT

displaying all of the graphics required by a GUI takes a lot of computing power so quite a powerful computer is needed, and a lot of RAM.

Page 15: Ch 26 & 27 User Interfaces.  Identify operating systems, including those which contain a:  graphical user interface (GUI),  command-line interface

Advantages

Easier to use than a command line interface, as the icons are images that represent the functions

No special training is required: the user can usually work out what clicking on an icon will result in: it’s an intuitive system

Page 16: Ch 26 & 27 User Interfaces.  Identify operating systems, including those which contain a:  graphical user interface (GUI),  command-line interface

Disadvantages

Icons are image files, and therefore take up a lot of space both in the memory (RAM) and the backing storage (hard disk)

This means that a modern GUI such as Windows 7 may need 2GB of RAM to be able to function properly

If a computer is older, using a GUI could be a very slow process

Page 17: Ch 26 & 27 User Interfaces.  Identify operating systems, including those which contain a:  graphical user interface (GUI),  command-line interface

Command Line Interface (CLI)

Many years ago when computers were not very powerful they could not display the colourful graphics required for a GUI. The only interface available to most computer uses was the ‘command line’.

Page 18: Ch 26 & 27 User Interfaces.  Identify operating systems, including those which contain a:  graphical user interface (GUI),  command-line interface

Command Line Interface (CLI) The user would see nothing but a black

screen. They would have to type a command to make anything happen.

e.g. To copy a text file called NOTES from a floppy disc to the hard drive the user would have to type:

> COPY A:\NOTES.TXT C:\

Page 19: Ch 26 & 27 User Interfaces.  Identify operating systems, including those which contain a:  graphical user interface (GUI),  command-line interface

Command Line Interface (CLI)

The user would have to learn a whole set of strange commands so that they could make use of the computer system. Plus it was not very interesting to look at – no visual clues to tell you what to do next.

This meant computers used to be quite difficult to use, so this type of interface is only really suitable for expert users.

Page 20: Ch 26 & 27 User Interfaces.  Identify operating systems, including those which contain a:  graphical user interface (GUI),  command-line interface

Command Line Interface (CLI)

Command-line interfaces are still used today on many servers.

These computers need to use all of their computing power running networks, etc. so they do not use GUIs.

Page 21: Ch 26 & 27 User Interfaces.  Identify operating systems, including those which contain a:  graphical user interface (GUI),  command-line interface

Command Line Interface (CLI)

They take up much less RAM and processing power than GUIs, and are much faster to use (if you know what you’re doing!)

Page 22: Ch 26 & 27 User Interfaces.  Identify operating systems, including those which contain a:  graphical user interface (GUI),  command-line interface

Try it:

Use this link to see how to write the command to copy a file (using DOS) – you have to type in where the file is that you want to copy, and then type in where you want to move it to (so you can imagine how much longer it would take you than simply clicking on an icon):

http://en.wikipedia.org/wiki/List_of_DOS_commands#copy

Page 23: Ch 26 & 27 User Interfaces.  Identify operating systems, including those which contain a:  graphical user interface (GUI),  command-line interface

Advantages

Command line interfaces don’t contain any RAM-hungry graphics files, so they don’t require very much memory or storage

If the user is an experienced programmer, this is the fastest user interface to use: no need to open up a succession of windows in order to find the correct file

Page 24: Ch 26 & 27 User Interfaces.  Identify operating systems, including those which contain a:  graphical user interface (GUI),  command-line interface

Disadvantages

If you don’t know the correct commands, it could be impossible to use!

A ‘normal’ computer user would find it very slow – there are many commands to learn

A simple typo would mean that a command could not be executed

It is not as intuitive as a GUI

Page 25: Ch 26 & 27 User Interfaces.  Identify operating systems, including those which contain a:  graphical user interface (GUI),  command-line interface

Menu-driven Interfaces

This is a type of interface still used in some mobile phone applications

The user selects what he or she wants to do from a succession of menus

Each menu has several sub menus, and each sub menu has further sub menus

Page 26: Ch 26 & 27 User Interfaces.  Identify operating systems, including those which contain a:  graphical user interface (GUI),  command-line interface

Advantages

No icons or images, so don’t require as much RAM or processing power as GUIs

No knowledge of coding necessary, so easier to use than CLIs.

Page 27: Ch 26 & 27 User Interfaces.  Identify operating systems, including those which contain a:  graphical user interface (GUI),  command-line interface

Disadvantages

Slower to use than a GUI, as the user has to navigate through a number of menus and submenus before he is able to find what he wants.

Cannot click on an icon to open a specified file or folder.

Much slower to use than a CLI, and uses more memory too