Topic 11 Software and Human Computer Interface

What is software?

The computer and its peripherals are called hardware.  Without software, hardware is useless. 

 You must remember that the computer can only do one thing, add two binary numbers.  The computer does not know anything.  It has to given instructions for absolutely everything it does.  These sets of instructions are called programs.  Software is a term that describes programs.  When you buy software, you are buying a suite of many programs that do a particular job.

 Question 1.  What is the difference between a program and software? ANSWER

There are two main categories of software:

The systems software can be broken down into two further areas:

The Need for an Operating System

The operating system is a set of programs that are provided when you buy a computer.  The operating system is needed for applications programs to run properly.  The operating system is loaded onto the hard disk and when you turn on the computer, it is loaded to the computer’s main memory.  This may take a couple of minutes.

The role of the operating system is to manage the computer’s resources do that it operates in the most efficient way.  It’s rather like the timetable of a school or college.  The students know what lessons they have to go to, but without a timetable, it would be hit and miss as to whether they got to the correct teacher.

The operating system of a PC is much simpler than that of a supercomputer.  Games computers have a specialist operating system.

All operating systems have the following functions:

 The programs that work directly with the CPU are referred to as the kernel.  The programs associated with the operating system, but not directly with the management of the CPU are called the shell.

The earliest PC’s had an operating system called DOS (Disk Operating System) produced by William Gates’ Microsoft Corporation.  At the same time PC’s made the MacIntosh Corporation had the Mac operating system that used the Graphical User Interface, which was much easier to use than Gates’ command line interface.  Also DOS only allowed one program to run at a time.

DOS soon adopted the windows approach with Windows 3.1, which enabled several programs to be run at once, multi-tasking.  The user could switch between tasks.  From this the concept of the desktop was born.  The idea was that users could have their most commonly used programs arranged on a screen called the desktop, just as they would on their desks in the office.

More superior operating systems were introduced with Windows 95, 98, 2000, ME, and XP.  These allowed users to:

Question 2  Disk directories record information about files on disk.  State three items that are recorded.  ANSWER

The picture shows a modern operating system interface

 Windows XP has 35 million lines of code; it is the biggest program ever written.  The picture above shows a Windows XP desktop.

There are other operating systems such as Unix, written in the language C.   There are many programmers who write in C, which has a very machine efficient code.  The same software can be used on a variety of hardware that uses Unix.

Linux has a big advantage over Windows; most of it is free.  So you can download the operating system from the Internet.  Also, unlike Windows, it is virtually bug-free.  Where bugs are found, up dates are rapid.  It was developed by many of the best programmers in the world in an altruistic exercise by the Finnish programmer Linus Torvalds.  Programmers are allowed to alter the code to their hearts’ content, tailoring it to their own purposes.  Although there are not many programmes that operate with Linux, some software companies are now developing Linux versions of their software to break the monopoly enjoyed by Microsoft.  Linux does provide its analogous version of the Office Suite, which is again free.

Some web servers and some networks use a Linux operating system.  The layout is like very like Windows, for the normal work it as easy as Windows.

Linux has a few disadvantages:

Operating System software also has utility programs:

The screenshot shows a file management program in action:

 

De-fragmentation is important to do from time to time.  When files are updated the next bit of the file is NOT crammed in with the rest of the file, it is placed in the next free space.  Look at the diagram below:

 

 

The first file then gets up dated.

 

   

The free space gets filled.  Now we up date the next file:

 

 

and the next..

Then we do a lot of work on the first file to get:

 

You can see that the file is starting to get broken up and ends up in several pieces.  The computer keeps a record of where everything is kept in the registry.  However if a file is fragmented, it will take longer to load because the computer has to look for each piece.  Eventually the computer will be noticeably slow.  De-fragmentation will do this:

 

This will allow files to be read as a whole.  As further work is done, fragments will occur again, so de-fragmentation has to be done on a regular basis. If a computer disk is badly fragmented, the de-fragmentation process may take a long time, possible several hours.

Question 3   Describe three utilities you would normally find with the operating system of a home PC.  State a typical task for which each utility is used. ANSWER

 

Other Systems Software

 

Question 4  A virus checker detects a virus.  Write three things the virus checker may do with the infected file. ANSWER

The picture below shows a user interface for some system software:

 

Now go on to Applications Software