system software: intro€¦ · web viewmac os x 8. when a computer is "swapping", it is...

12
System Software System software is a catch-all term for the programs that handle the running of your computer's hardware. The two main categories are: Operating Systems Between the hardware and the application software lies the operating system. The operating system is a program that conducts the communication between the various pieces of hardware like the video card, sound card, printer, the motherboard and the applications. What can a computer do without an operating system? Not much!! Let's look at what happens when you turn on your computer, before the operating system is involved. The first screen you see when you turn your computer on will be about the BIOS (Basic Input/Output System) of your computer. The BIOS is a set of instructions on a ROM chip (Read-Only Memory) that controls how the hardware and the operating system communicate. It's a very limited set of instructions. Notice the instruction to "Hit DEL if you want to run Setup." Other keys might be used for a different brand of BIOS. Don't do this unless you know what you are trying to do. Setup allows you change certain features of your computer at a very basic level, but doing it wrong can keep it from working right or even at all! An older BIOS might not understand your newest, spiffiest piece of hardware. In this case you would have to get a new motherboard or an updated BIOS. A newer motherboard will have a BIOS that can be updated using software. It may require making a physical change on the inside of your computer, running a special software program, then resetting the motherboard back the way it was. (This is a task only for the brave and technically skilled since you can ruin a motherboard very easily!) After the BIOS has gone through its morning wake-up routine, you'll see on your screen something about running the POST (Power On Self Test). This is operating systems utility programs

Upload: others

Post on 23-Jul-2020

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: System Software: Intro€¦ · Web viewMac OS X 8. When a computer is "swapping", it is _____. moving data from the hard drive to the floppy drive moving data from memory to the swap

System Software

System software is a catch-all term for the programs that handle the running of your computer's hardware. The two main categories are:

Operating SystemsBetween the hardware and the application

software lies the operating system. The operating system is a program that conducts the communication between the various pieces of hardware like the video card, sound card, printer, the motherboard and the applications.   What can a computer do without an operating system?Not much!! Let's look at what happens when you turn on your computer, before the operating system is involved.   The first screen you see when you turn your computer on will be about the BIOS (Basic Input/Output System) of your computer. The BIOS is a set of instructions on a ROM chip (Read-Only Memory) that controls how the hardware and the operating system communicate. It's a very limited set of instructions.

Notice the instruction to "Hit DEL if you want to run Setup." Other keys might be used for a different brand of BIOS. Don't do this unless you know what you are trying to do. Setup allows you change certain features of your computer at a very basic level, but doing it wrong can keep it from working right or even at all!

An older BIOS might not understand your newest, spiffiest piece of hardware. In this case you would have to get a new motherboard or an updated BIOS. A newer motherboard will have a BIOS that can be updated using software. It may require making a physical change on the inside of your computer, running a special software program, then resetting the motherboard back the way it was. (This is a task only for the brave and technically skilled since you can ruin a motherboard very easily!)

After the BIOS has gone through its morning wake-up routine, you'll see on your screen something about running the POST (Power On Self Test). This is a set of tests of the hardware. If, for example, your keyboard is not plugged in or is broken, you will see a message about "Keyboard failure" and the computer will stop where it is in the POST. There are tests included for the hard drives, memory, and the buses, too. This is only a quick check-up though and does not guarantee that everything is perfect.

That's it for what the computer can do without an operating system. It can wake up and twitch a little, but it can't move or talk yet. Its nervous system is not working.

Next the computer looks for some kind of operating system. It will usually be set up to look in the CD drive first and then on the hard drive. This way if your hard drive fails, you have a way to get the system working enough to diagnose the problem. Enough of the operating system to get started can be loaded on a CD or a flash drive. This part of the operating system has various names. Kernel, master program, supervisor, control program are a few. In PCs using Windows the term kernel is used.

operating systems utility programs

Page 2: System Software: Intro€¦ · Web viewMac OS X 8. When a computer is "swapping", it is _____. moving data from the hard drive to the floppy drive moving data from memory to the swap

System Software: Functions

FunctionsAll operating systems must handle the same basic tasks. These functions can be divided into three groups: Allocates Resources, Monitors Activities, and Manages Disks & Files.

Allocating System ResourcesThe operating system directs the traffic inside the computer, deciding what resources will be used and for how long.

Time Time in the CPU is divided into time slices which are measured in milliseconds. Each task the CPU does is assigned a certain number of time slices. When time expires, another task gets a turn. The first task must wait until it has another turn. Since time slices are so small, you usually can't tell that any sharing is going

on. Tasks can be assigned priorities so that high priority (foreground) tasks get more time slices than low priority (background) tasks.

Memory Memory must be managed also by the operating system. All those rotating turns of CPU use leave data waiting around in buffers. Care must be taken not to lose data!! One way to help out the traffic jam is to use virtual memory. This includes disk space as part of main memory. While it is slower to put data on a hard disk, it increases the amount of data that can be held in memory at one time. When the memory chips get full, some of the data is paged

out to the hard disk. This is called swapping. Windows uses a swap file for this purpose.

Input and output

Flow control is also part of the operating system's responsibilities. The operating system must manage all requests to read data from disks or tape and all writes to these and to printers. 

To speed up the output to printers, most operating systems now allow for print spooling, where the data to be printed is first put in a file. This frees up the processor for other work in between the times data is going to the

printer. A printer can only handle so much data at a time. Without print spooling you'd have to wait for a print job to finish before you can do anything else. With it you can request several print jobs and go on working. The print spool will hold all the orders and process them in turn.

Monitoring System ActivitiesSystem performance

A user or administrator can check to see whether the computer or network is getting overloaded. Changes could be made to the way tasks are allocated or maybe a shopping trip is in order! System performance would include response time ( how long it takes for the computer to respond when data is entered) and CPU utilization (comparing the time the CPU is working to the time it is idle.)

Page 3: System Software: Intro€¦ · Web viewMac OS X 8. When a computer is "swapping", it is _____. moving data from the hard drive to the floppy drive moving data from memory to the swap

System security

Some system security is part of the operating system, though additional software can add more security functions. For multiple users who are not all allowed access to everything, there must be a logon or login procedure where the user supplies a user name or ID and a secret password. An administrator must set up the permissions list of who can have access to what programs and what data.

File and Disk ManagementKeeping track of what files are where is a major job. If you can't find a file, it doesn't help to know that it is safe and secure somewhere. So an operating system comes with basic file management commands. A user needs to be able to create directories for storing files. (Dumping everything in one pile soon becomes the needle-in-the-haystack story.) A user needs to copy, move, delete, and rename files. This is the category of operating system functions that the user actually sees the most.

A more technical task is that of disk management. Under some operating systems your hard disk can be divided up, or partitioned into several virtual disks. The operating system treats each virtual disk as though it were a physically separate disk. Managing several physical and/or virtual disks can get pretty complex, especially if some of the disks are set up with different operating systems. (Some folks are never satisfied with just one of anything!) System Software: Types

There are two basic types of operating systems: single program and multitasking.A single program operating system allows only one program to run at a time. This means that if you are working in a spreadsheet and want to write a memo, you must shut down the spreadsheet application and open up a word processor. This is annoying, especially if you need to quote some data

from the spreadsheet in your memo! So new operating systems were designed that allowed multiple programs to run at the same time.

The simplest form is multi-tasking. What this really means is that the programs are taking turns with the processor. It allows a single user to have the spreadsheet and the word processor open at the same time, and even more. Now the user can see to copy data from one to the other. Much better!!

The computer must decide on how many time slices each program gets. The active program gets the most. Next is programs that are doing things but which aren't the foreground program. Last is programs that are open but aren't doing anything. They need a little bit of time every now and then to see if they are supposed to do something yet.

The next step up in complexity is multiple users. On a network several users can be using the same computer or even the same program on that computer. This is called time-sharing.

If a computer has multiple CPUs, it can do multiprocessing. Rather than a single CPU giving out turns to various programs, the different CPUs can work simultaneously. Speed increases immensely. Of course cost does, too!

It is possible for a computer to use more than one operating system through the use of virtual machines."Virtual" means it's not really there. But programs written for different operating systems are fooled into thinking their required operating system is present.

Page 4: System Software: Intro€¦ · Web viewMac OS X 8. When a computer is "swapping", it is _____. moving data from the hard drive to the floppy drive moving data from memory to the swap

Common Operating SystemsOriginally the operating system was created by each company that manufactured a processor and motherboard. So each operating system was proprietary, that is, unique to each manufacturer. Problem: changing to a new computer meant your software had to be replaced! Not good marketing. So there was pressure early on to standardize things so that software could be transferred to the new (and of course better!) computer. This required more standardization in operating systems.

The winner in the PC market was MS-DOS, Microsoft's Disk Operating System, and its twin at IBM, PC-DOS, also written by Microsoft. Now it's hard to recall those days when each computer had its own unique operating system.

Windows versions (95, 98, Me, NT, 2000, XP, Vista, and 7) are operating systems on their own. The earlier versions of Windows use DOS as the operating system and add a graphical user interface which will do multitasking. But with Windows 95 Microsoft released an operating system that can take advantage of the 32-bit processors.

Windows XP is an upgrade to Windows 2000. It comes in two versions - Home and Professional. The Professional version contains all the features of the Home version plus more business features, like networking and security features.

Windows Vista was released in early 2007. It has higher requirements for memory and processor speed than previous versions of Windows. Vista comes in several different flavors for home and business purposes.

Windows 7 was released in late 2009. There are several versions with differing prices.

The Apple Macintosh is a multitasking operating system that was the first graphical interface to achieve commercial success. The Mac was an immediate success in the areas of graphics production, and still commands the lion's share of that market. Apple made a major marketing error when they

decided to keep their hardware and software under tight control rather than licensing others to produce compatible devices and programs. While the Apple products were of high quality, they were always more expensive than comparable products that were compatible with Microsoft's DOS operating system.The current version is Mac OS X, which is version 10. Since January 2002, all new Mac computers use Mac OS X. Subversions are named Jaguar, Panther, Tiger, Leopard....

UNIX is an operating system developed by Bell Labs to handle complex scientific applications. University networks are likely to use UNIX, as are Internet Service Providers. A lot of people have experience with UNIX from their college work. Many computer old-timers love UNIX and its command line interface. But all those commands are not easy to remember for newcomers. X-Windows is a graphical interface for UNIX that some think is even easier to work with than Windows 98.

Linux is an operating system similar to UNIX that is becoming more and more popular. (And it has the cutest logo!) It is a open-source program created by Linus Torvalds at the University of Finland, starting in 1991. Open source means that the underlying computer code is freely available to everyone.  Programmers can work directly with the code and add features. They can sell their

customized version of Linux, as long as the source code is still open to others. By the way, the word Linux is generally pronounced with a short i and the accent on the first syllable, like LIH-nucks.  

Page 5: System Software: Intro€¦ · Web viewMac OS X 8. When a computer is "swapping", it is _____. moving data from the hard drive to the floppy drive moving data from memory to the swap

Mobile DevicesMobile devices such as netbooks, smart phones, Blackberries, and Palm Pilots also have operating systems. Some use proprietary operating system (unique to that device) while other use versions of Windows Linux, or other operating systems that are customized for the mobile device. Lite versions of a number of major applications are available to run on these devices. You can link your device to your regular computer to synchronize documents and data.

The chart of estimated sales of smartphones below is from Wikipedia (Feb. 2010).

Which is most popular?It depends on who you ask! There is no one who can accurately report the true usage of any operating system. Various companies can report what they sold in a particular period of time and combine that info to see their "market share". Internet sites can report the operating systems of those who come to visit them. Someone might be able to estimate the "installed base" for an operating system, meaning the number of computers currently using that operating system. But no one can really tally the whole world, or even a whole country.

The pie chart below shows statistics on operating systems as of January 2010. The chart shows the median of values from several sources, all of which use data from web browser visits to web sites. This, of course, omits completely any computer that did not visit those sites. But it's the best we can do.

Usage share of web client operating systems. Source: Median values from Usage share of operating systems.      Windows XP (58.64%)      Windows Vista (23.25%)      Windows 7 (7.70%)      Mac OS X (5.12%)      Linux (1.04%)     iPhone (0.72%)      Other (1.32%)

Page 6: System Software: Intro€¦ · Web viewMac OS X 8. When a computer is "swapping", it is _____. moving data from the hard drive to the floppy drive moving data from memory to the swap

System Software: Utilities

Utility Programs A utility program performs tasks related to the maintaining of your computer's health - hardware or data. Some are included with the operating system. But someone always thinks they have a better version for you to buy. And they are frequently right!

File Management programs make it easier to manage your files. In the high days of DOS it didn't take much to improve on the text-only type-it-all-yourself methods that DOS provided. Many programs were

written to help the user find files, create and organize directories, copy, move, and rename files. Some even used the mouse to point and click to accomplish these tasks. You don't appreciate the vastness of the improvement until you've tried to do these things from the command line. The newer graphical interfaces that come with current operating systems have reduced the need for alternate file management programs.

Disk Management programs involve formatting and defragmenting disks. Defragmenting means putting files on the disk so that the whole file is in sequence. This reduces the time to access the file.

Some disk management programs even let you specify that certain files that are accessed often, like the operating system itself and frequently used programs, are at the front of the disk. Anything that speeds things up will have customers.

Memory Management software handles where programs put their current data in RAM. They move certain memory-resident items out of the way. This can effectively increase the memory available by

getting all the unused pieces together in one spot, making a useable amount.

A backup program, which also restores the backed up data, is a must if you have any data at all that you want to keep around for a while. The software will compress the data to take

up the least space.

Data Recovery programs are for those who just said "Whoops!" They attempt to recover deleted or damaged (corrupted) files.

Data Compression programs squeeze out the slack space generated by the formatting schemes.

 Security Software This category includes a number of different kinds of programs, all of which are trying to protect your computer and your data from attacks and damage and being controlled without permission. No one

program can protect against all of the bad guys out there. Using a set of overlapping programs is the best way to keep your computer and its data safe. Malware is what we call the whole category of things that try to do bad things to your computer or your data.

What you need protection from: Viruses copy themselves to other disks to spread to other computers. They can be merely annoying or

they can be vastly destructive to your files. Trojans hide inside something else to sneak in unwanted programs. You don't know that they are

there, like the famous Trojan horse. These are often used to capture your logins and passwords. Worms are unwanted programs that are transferred over network or Internet connections to spread

themselves quickly.

Page 7: System Software: Intro€¦ · Web viewMac OS X 8. When a computer is "swapping", it is _____. moving data from the hard drive to the floppy drive moving data from memory to the swap

Spyware programs lurk on your computer to steal important information, like your passwords and logons and other personal identification information and then send it off to someone else.

Zombie programs take control of your computer and use it and its Internet connection to attack other computers or networks or to perform criminal activities.

Phishing (pronounced like the word 'fishing') is a message that tries to trick you into providing information like your social security number or bank account information or logon and password for a web site. The message may claim that if you do not click on the link in the message and log onto a financial web site that your account will be blocked, or some such disaster.

Spam is email that you did not request and do not want. One person's spam is another's useful newsletter or sale ad. Spam is a common way to spread viruses, trojans, and the like.

Browser hijacking occurs when one of the nasties takes control of your browser, sending you to sites that you did not mean to go to. This may be a porn site or it may look like a real banking, sales, or credit card site. The purpose is to steal your personal and financial information.

Anti-virus programs monitor the computer for the activity of viruses and similar nasties.  Anti-spyware programs similarly monitor your computer, looking for known trouble-makers as well as suspicious behavior.Anti-spam software tries to identify useless or dangerous messages for you.A firewall blocks attempts to access your files over a network or internet connection. Your network router or modem or both may have a hardware firewall built into it. That will block incoming attacks. But you still need a software firewall on your computer to block outgoing attacks. Your computer can become infected through shared disks or even from another computer on the network. So you need to monitor what your computer is putting out over the network or internet also.

Page 8: System Software: Intro€¦ · Web viewMac OS X 8. When a computer is "swapping", it is _____. moving data from the hard drive to the floppy drive moving data from memory to the swap

System Software:  Quiz

1. The operating system for a computer does the following:

manages the disks and files

manages the computer's resources

manages the computer's memory

all of the above

none of the above

2. Spooling helps because _____.

it is a more secure method of accessing data

print jobs go more smoothly with less stop and go

the computer is released to do other things while still printing

none of the above

3. A proprietary operating system is ____.

unique to a manufacturer

similar to those of other manufacturers

used by many different computer manufacturers

properly configured to operate

4. A computer's BIOS will ____

check for the presence of peripherals like mouse, sound card, scanner

run a check of memory

be loaded first when the computer is powered on

none of the above

  5. Windows versions before Windows 95 _____

a.  are proprietary operating systems

b.  are not operating systems at all

c.  rely on DOS as the operating system

d.  were the first successful graphical operating systems

e.  both a and d

f.  both b and c

g.  a, b, c, and d

  6. A backup program _____.

makes a copy of files you select.

returns you to the previous program

undoes the last change you made

none of the above

  7. Based on statistics from Jan of 2010, which operating system was the 2nd most popular behind Windows XP?

Windows Vista

Windows 7

Linux

Mac OS X

  8. When a computer is "swapping", it is _____.

moving data from the hard drive to the floppy drive

moving data from memory to the swap file on the hard drive

moving data between registers in memory

none of the above

  9. A computer virus can be _____.

annoying only

damaging to your data

copied without your knowledge onto floppies used in the infected computer

all of the above

  10. A foreground task has more _____ than a background task.

buffers

microseconds

registers

time slices