Introduction To Operating Systems
Introduction To Operating Systems
Computers work through an interaction of hardware and software. Hardware refers to the parts of a
computer that you can see and touch, including the case and everything inside it. The most important
piece of hardware is a tiny rectangular chip inside your computer called the central processing unit
(CPU), or microprocessor. It's the "brain" of your computer—the part that translates instructions and
performs calculations. Hardware items such as your monitor, keyboard, mouse, printer, and other
components are often called hardware devices, or devices.
Software refers to the instructions, or programs, that tell the hardware what to do. A word-processing
program that you can use to write letters on your computer is a type of software. The operating
system (OS) is software that manages your computer and the devices connected to it. Windows is a
well-known operating system.
Types of computers
Computers range in size and capability. At one end of the scale are supercomputers, very large
computers with thousands of linked microprocessors that perform extremely complex calculations. At
the other end are tiny computers embedded in cars, TVs, stereo systems, calculators, and appliances.
These computers are built to perform a limited number of tasks.
1
The personal computer, or PC, is designed to be used by one person at a time. This section describes
the various kinds of personal computers: desktops, laptops, handheld computers, and Tablet PCs.
Desktop computers
Desktop computers are designed for use at a desk or table. They are typically larger and more
powerful than other types of personal computers. Desktop computers are made up of separate
components. The main component, called the system unit, is usually a rectangular case that sits on or
underneath a desk. Other components, such as the monitor, mouse, and keyboard, connect to the
system unit.
Desktop computer
Netbooks (also referred to as mini notebooks), are small, affordable laptops that are designed to
perform a limited number of tasks. They're usually less powerful than laptops, so they're used mainly
to browse the web and check e-mail.
2
Smartphones
Smartphones are mobile phones that have some of the same capabilities as a computer. You can use
a smartphone to make telephone calls, access the Internet, organize contact information, send e-mail
and text messages, play games, and take pictures. Smartphones usually have a keyboard and a large
screen.
Smartphone
Handheld computers
Handheld computers, also called personal digital assistants (PDAs), are battery-powered computers
small enough to carry almost anywhere. Although not as powerful as desktops or laptops, handheld
computers are useful for scheduling appointments, storing addresses and phone numbers, and
playing games. Some have more advanced capabilities, such as making telephone calls or accessing
the Internet. Instead of keyboards, handheld computers have touch screens that you use with your
finger or a stylus (a pen-shaped pointing tool).
Handheld computer
Tablet PCs
Tablet PCs are mobile PCs that combine features of laptops and handheld computers. Like laptops,
they're powerful and have a built-in screen. Like handheld computers, they allow you to write notes or
draw pictures on the screen, usually with a tablet pen instead of a stylus. They can also convert your
handwriting into typed text. Some Tablet PCs are “convertibles” with a screen that swivels and unfolds
to reveal a keyboard underneath.
Tablet PC
3
What can you do with computers?
In the workplace, many people use computers to keep records, analyze data, do research, and manage
projects. At home, you can use computers to find information, store pictures and music, track finances,
play games, and communicate with others—and those are just a few of the possibilities.
You can also use your computer to connect to the Internet, a network that links computers around
the world. Internet access is now available in most areas, and increasingly, in less populated areas.
With Internet access, you can communicate with people all over the world and find a vast amount of
information.
The web
The World Wide Web (usually called the web, or web) is a gigantic storehouse of information. The
web is the most popular part of the Internet, partly because it displays most information in a visually
appealing format. Headlines, text, and pictures can be combined on a single webpage—much like a
page in a magazine—along with sounds and animation. A website is a collection of interconnected
webpages. The web contains millions of websites and billions of webpages.
Example of a webpage
(Microsoft Game Studios)
Surfing the web means exploring it. You can find information on the web about almost any topic
imaginable. For example, you can read news stories and movie reviews, check airline schedules, see
street maps, get the weather forecast for your city, or research a health condition. Most companies,
agencies, museums, and libraries have websites with information about their products, services, or
collections. Reference sources, such as dictionaries and encyclopedias, are also widely available.
4
The web is also a shopper's delight. You can browse and purchase products—books, music, toys,
clothing, electronics, and much more—at the websites of major retailers. You can also buy and sell
used items through websites that use auction-style bidding.
E-mail
E-mail (short for electronic mail) is a convenient way to communicate with others. When you send an
e-mail message, it arrives almost instantly in the recipient's e-mail inbox. You can send e-mail to many
people simultaneously, and you can save, print, and forward e-mail to others. You can send almost
any type of file in an e-mail message, including documents, pictures, and music files. And with e-mail,
you don't need a postage stamp!
Instant messaging
Instant messaging is like having a real-time conversation with another person or a group of people.
When you type and send an instant message, the message is immediately visible to all participants.
Unlike e-mail, all participants have to be online (connected to the Internet) and in front of their
computers at the same time. Communicating by means of instant messaging is called chatting.
Gaming
Do you like to play games? Thousands of computer games in every conceivable category are available
to entertain you. Get behind the wheel of a car, battle frightening creatures in a dungeon, or control
civilizations and empires! Many games allow you to compete with other players around the world
through the Internet. Windows includes a variety of card games, puzzle games, and strategy games.
For more information,
Basic parts
A mouse typically has two buttons: a primary button (usually the left button) and a secondary
button (usually the right button). You will use the primary button most often. Most mice also include
a scroll wheel between the buttons to help you scroll through documents and webpages more easily.
5
On some mice, the scroll wheel can be pressed to act as a third button. Advanced mice might have
additional buttons that can perform other functions.
Parts of a mouse
Mouse pointers
Place your mouse beside your keyboard on a clean, smooth surface, such as a mouse pad. Hold the
mouse gently, with your index finger resting on the primary button and your thumb resting on the
side. To move the mouse, slide it slowly in any direction. Don't twist it—keep the front of the mouse
aimed away from you. As you move the mouse, a pointer (see picture) on your screen moves in the
same direction. If you run out of room to move your mouse on your desk or mouse pad, just pick up
the mouse and bring it back closer to you.
6
Pointing to an object often reveals a descriptive message about it.
The pointer can change depending on what you're pointing to. For example, when you point to a link in your
web browser, the pointer changes from an arrow to a hand with a pointing finger .
Most mouse actions combine pointing with pressing one of the mouse buttons. There are four basic
ways to use your mouse buttons: clicking, double-clicking, right-clicking, and dragging.
Clicking (single-clicking)
To click an item, point to the item on the screen, and then press and release the primary button
(usually the left button).
Clicking is most often used to select (mark) an item or open a menu. This is sometimes called single-
clicking or left-clicking.
Double-clicking
To double-click an item, point to the item on the screen, and then click twice quickly. If the two clicks
are spaced too far apart, they might be interpreted as two individual clicks rather than as one double-
click.
Double-clicking is most often used to open items on your desktop. For example, you can start a
program or open a folder by double-clicking its icon on the desktop.
Tip
If you have trouble double-clicking, you can adjust the double-click speed (the amount of time
acceptable between clicks). Follow these steps:
1. Open Mouse Properties by clicking the Start button , and then clicking Control Panel. In the
search box, type mouse, and then click Mouse.
2. Click the Buttons tab, and then, under Double-click speed, move the slider to increase or
decrease the speed.
Right-clicking
To right-click an item, point to the item on the screen, and then press and release the secondary
button (usually the right button).
7
Right-clicking an item usually displays a list of things you can do with the item. For example, when you
right-click the Recycle Bin on your desktop, you'll see a menu with options to open it, empty it, delete
it, or see its properties. If you're ever unsure of what to do with something, right-click it.
Dragging
You can move items around your screen by dragging them. To drag an object, point to the object on
the screen, press and hold the primary button, move the object to a new location, and then release
the primary button.
Dragging (sometimes called dragging and dropping) is most often used to move files and folders to a
different location and to move windows and icons around on your screen.
Place your mouse at elbow level. Your upper arms should fall relaxed at your sides.
8
Move the mouse by pivoting your arm at your elbow. Avoid bending your wrist up, down, or to
the sides.
Keep your fingers relaxed. Don't allow them to hover above the buttons.
When you don't need to use the mouse, don't hold it.
Typing (alphanumeric) keys. These keys include the same letter, number, punctuation, and
symbol keys found on a traditional typewriter.
Control keys. These keys are used alone or in combination with other keys to perform certain
actions. The most frequently used control keys are Ctrl, Alt, the Windows logo key , and Esc.
Function keys. The function keys are used to perform specific tasks. They are labelled as F1, F2,
F3, and so on, up to F12. The functionality of these keys differs from program to program.
Navigation keys. These keys are used for moving around in documents or webpages and
editing text. They include the arrow keys, Home, End, Page Up, Page Down, Delete, and Insert.
Numeric keypad. The numeric keypad is handy for entering numbers quickly. The keys are
grouped together in a block like a conventional calculator or adding machine.
The following illustration shows how these keys are arranged on a typical keyboard. Your keyboard
layout might be different.
9
How the keys are arranged on a keyboard
Typing text
Whenever you need to type something in a program, e-mail message, or text box, you'll see a blinking
vertical line ( ). That's the cursor, also called the insertion point. It shows where the text that you type
will begin. You can move the cursor by clicking in the desired location with the mouse, or by using the
navigation keys (see the "Using navigation keys" section of this article).
In addition to letters, numerals, punctuation marks, and symbols, the typing keys also include Shift,
Caps Lock, Tab, Enter, the Spacebar, and Backspace.
Caps Lock Press Caps Lock once to type all letters as uppercase.
Press Caps Lock again to turn this function off. Your
keyboard might have a light indicating whether Caps
Lock is on.
Tab Press Tab to move the cursor several spaces forward. You
can also press Tab to move to the next text box on a
form.
10
next line. In a dialog box, press Enter to select the
highlighted button.
In Help topics, a plus sign (+) between two or more keys indicates that those keys should be pressed
in combination. For example, Ctrl+A means to press and hold Ctrl and then press A. Ctrl+Shift+A
means to press and hold Ctrl and Shift and then press A.
11
Press Alt+F to open the File menu, then press P to choose the Print command.
This trick works in dialog boxes too. Whenever you see an underlined letter attached to an option in a
dialog box, it means you can press Alt plus that letter to choose that option.
Useful shortcuts
The following table lists some of the most useful keyboard shortcuts.
12
Ctrl+V Paste the selected item
Left Arrow, Right Arrow, Up Arrow, or Down Move the cursor or selection one space or line in the
Arrow direction of the arrow, or scroll a webpage in the
direction of the arrow
13
Ctrl+End Move to the bottom of a document
Delete Delete the character after the cursor, or the selected text;
inWindows, delete the selected item and move it to the
Recycle Bin
Insert Turn Insert mode off or on. When Insert mode is on, text
that you type is inserted at the cursor. When Insert mode
is off, text that you type replaces existing characters.
Numeric keypad
To use the numeric keypad to enter numbers, press Num Lock. Most keyboards have a light that
indicates whether Num Lock is on or off. When Num Lock is off, the numeric keypad functions as a
second set of navigation keys (these functions are printed on the keys next to the numerals or
symbols).
You can use your numeric keypad to perform simple calculations with Calculator.
14
Operate Calculator with the numeric keypad
1. Open Calculator by clicking the Start button . In the search box, type Calculator, and then,
in the list of results, click Calculator.
2. Check your keyboard light to see if Num Lock is on. If it isn't, press Num Lock.
3. Using the numeric keypad, type the first number in the calculation.
More obscure is SYS RQ, which shares the key with PrtScn on some keyboards. Historically, SYS RQ
was designed to be a "system request," but this command is not enabled in Windows.
Tip
Press Alt+PrtScn to capture an image of just the active window, instead of the entire screen.
Pause/Break
This key is rarely used. In some older programs, pressing this key pauses the program or, in
combination with Ctrl, stops it from running.
Other keys
Some modern keyboards come with "hot keys" or buttons that give you quick, one-press access to
programs, files, or commands. Other models have volume controls, scroll wheels, zoom wheels, and
15
other gadgets. For details about these features, check the information that came with your keyboard
or computer, or go to the manufacturer's website.
Place your keyboard at elbow level. Your upper arms should be relaxed at your sides.
Center your keyboard in front of you. If your keyboard has a numeric keypad, you can use the
spacebar as the centering point.
Type with your hands and wrists floating above the keyboard, so that you can use your whole
arm to reach for distant keys instead of stretching your fingers.
Avoid resting your palms or wrists on any type of surface while typing. If your keyboard has a
palm rest, use it only during breaks from typing.
While typing, use a light touch and keep your wrists straight.
When you click Shut down, your computer closes all open programs, along with Windows itself, and
then completely turns off your computer and display. Shutting down doesn't save your work, so you
must save your files first.
16
Click the arrow next to the Shutdown button for more options.
By default, the Shutdown button shuts down your computer. But you can change what happens when
you click that button.
1. Open Taskbar and Start Menu Properties by clicking the Start button , clicking Control
Panel, clicking Appearance and Personalization, and then clicking Taskbar and Start Menu.
3. In the Power button action list, click an item, and then click OK.
Note
If you're connected to a network domain, it's possible that settings made by your network
administrator (Group Policy settings) will prevent you from completing the previous steps.
There's one other form that the Shutdown button can take. If you've set your computer to receive
automatic updates, and the updates are ready to be installed, the Shutdown button will look like this:
In this case, when you click the Shutdown button, Windows installs the updates and then shuts down
your computer.
Note
Starting your computer after it has been shut down takes longer than waking your computer from
sleep.
Using sleep
You can put your computer into sleep mode instead of shutting it down. When your computer is
asleep, the display turns off and often the computer's fan stops. Usually, a light on the outside of your
computer case blinks or turns yellow to indicate that the computer is asleep. The whole process takes
only a few seconds.
17
Because Windows will remember what you were doing, there's no need to close your programs and
files before putting your computer into sleep mode. But it's always a good idea to save your work
before putting the computer into any low-power mode. The next time you turn on your computer
(and enter your password, if required), the screen will look exactly as it did when you turned off your
computer.
To wake your computer, press the power button on your computer case. Because you don't have to
wait for Windows to start, your computer wakes within seconds and you can resume work almost
immediately.
Note
When your computer is asleep, it uses a very small amount of power to maintain your work in its
memory. If you're using a laptop, don't worry—the battery won't be drained. After the computer has
been sleeping for several hours, or if the battery is running low, your work is saved to the hard disk,
and then your computer turns off completely, drawing no power.
When you're adding or upgrading the hardware inside your computer—such as installing
memory, a disk drive, a sound card, or a video card. Shut down the computer, and then
disconnect it from its power source before proceeding with the upgrade.
When you're adding a printer, monitor, external drive, or other hardware device that doesn't
connect to a USB or IEEE 1394 port on your computer. Shut down the computer before
connecting the device.
Note
When adding hardware that uses a USB cable, you don't need to turn off the computer first. Most
newer devices use USB cables. A USB cable looks like this:
USB cable
1. Open Power Options by clicking the Start button , clicking Control Panel, clicking System
and Security, and then clicking Power Options.
18
2. On the Select a power plan page, click Choose what closing the lid does.
3. On the Define power buttons and turn on password protection page, next to When I close
the lid, choose what you want your laptop to do, both for when it's running on battery and
when it's plugged in.
Tip
To save battery power and quickly resume working, select Sleep. Sleep is a power-saving
state that allows a computer to quickly resume full power operation (typically within several
seconds) when you want to start working again.
1. Open Power Options by clicking the Start button , clicking Control Panel, clicking System
and Security, and then clicking Power Options.
2. On the Select a power plan page, click Change plan settings for the plan that you want to
change.
3. On the Change settings for the plan page, click Change advanced power settings.
4. On the Advanced settings tab, expand Power buttons and lid, expand Lid close action,
choose what you want your laptop to do when you close the lid, both for when it's running on
battery and when it's plugged in, and then click OK.
If you prefer, you can turn off your laptop by pressing the power button on its case.
There are two ways to change what happens when you press the power button on your computer.
You can change what happens when you press the power button on your computer case (or the edge
of your laptop) and you can change what happens when you press the Shutdown button on the Start
menu.
1. Open Power Options by clicking the Start button , clicking Control Panel, clicking System
and Security, and then clicking Power Options.
2. On the Select a power plan page, in the left pane, click Choose what the power buttons do.
19
3. On the Define power buttons and turn on password protection page, next to When I press
the power button, choose what you want your computer to do when you press the power
button.
If you have a laptop, you can choose separate settings for when your laptop is running on
battery and when it's plugged in.
1. Open Power Options by clicking the Start button , clicking Control Panel, clicking System
and Security, and then clicking Power Options.
2. On the Select a power plan page, click Change plan settings for the plan that you want to
change.
3. On the Change settings for the plan page, click Change advanced power settings.
4. On the Advanced settings tab, expand Power buttons and lid, expand Power button action,
choose what you want your computer to do when you press the power button, and then
click OK.
If you have a laptop, you can choose separate settings for when your laptop is running on
battery and when it's plugged in.
By default, clicking the Shutdown button on the Start menu shuts down your computer. You can
change this so that instead of shutting down, your computer logs you off, locks, restarts, goes into a
sleep state, or goes into hibernation.
1. Open Taskbar and Start Menu Properties by clicking the Start button , clicking Control
Panel, clicking Appearance and Personalization, and then clicking Taskbar and Start Menu.
3. In the Power button action list, click an item, and then click OK.
When you change the action of the Shutdown button, the name of the button changes to
reflect the new action.
20
History of operating systems
The story of Windows begins with a very different operating system, developed by Microsoft for the
first IBM personal computer and referred to as MS-DOS or PC-DOS. The initial version, DOS 1.0, was
released in August 1981. It consisted of 4000 lines of assembly language source code and ran in 8
Kbytes of memory using the Intel 8086 microprocessor.
When IBM developed a hard disk-based personal computer, the PC XT, Microsoft developed DOS 2.0,
released in 1983. It contained support for the hard disk and provided for hierarchical directories.
Heretofore, a disk could contain only one directory of files, supporting a maximum of 64 files. While
this was adequate in the era of floppy disks, it was too limited for a hard disk, and the single-directory
restriction was too clumsy. This new release allowed directories to contain subdirectories as well as
files. The new release also contained a richer set of commands embedded in the operating system to
provide functions that had to be performed by external programs provided as utilities with release 1.
Among the capabilities added were several UNIX-like features, such as I/O redirection, which is the
ability to change the input or output identity for a given application, and background printing. The
memory-resident portion grew to 24 Kbytes.
When IBM announced the PC AT in 1984, Microsoft introduced DOS 3.0. The AT contained the Intel
80286 processor, which provided extended addressing and memory protection features. These were
not used by DOS. To remain compatible with previous releases, the operating system simply used the
80286 as a "fast 8086." The operating system did provide support for new keyboard and hard disk
peripherals. Even so, the memory requirement grew to 36 Kbytes. There were several notable
upgrades to the 3.0 release. DOS 3.1, released in 1984, contained support for networking of PCs. The
size of the resident portion did not change; this-4-was achieved by increasing the amount of the
operating system that could be swapped. DOS 3.3, released in 1987, provided support for the new line
of IBM machines, the PS/2. Again, this release did not take advantage of the processor capabilities of
the PS/2, provided by the 80286 and the 32-bit 80386 chips. The resident portion at this stage had
grown to a minimum of 46 Kbytes, with more required if certain optional extensions were selected.
By this time, DOS was being used in an environment far beyond its capabilities. The introduction of
the 80486 and then the Intel Pentium chip provided power and features that simply could not be
exploited by the simple-minded DOS. Meanwhile, beginning in the early 1980s, Microsoft began
development of a graphical user interface (GUI) that would be interposed between the user and DOS.
Microsoft's intent was to compete with Macintosh, whose operating system was unsurpassed for ease
of use. By 1990, Microsoft had a version of the GUI, known as Windows 3.0, which incorporated some
of the user friendly features of Macintosh. However, it was still hamstrung by the need to run on top
of DOS. After an abortive attempt by Microsoft to develop with IBM a next-generation operating
system, which would exploit the power of the new microprocessors and which would incorporate the
ease-of-use features of Windows, Microsoft struck out on its own and developed a new operating
system from the ground up, Windows NT. Windows NT exploits the capabilities of contemporary
microprocessors and provides multitasking in a single-user or multiple-user environment.
The first version of Windows NT (3.1) was released in 1993, with the same GUI as Windows 3.1,
another Microsoft operating system (the follow-on to Windows 3.0). However, NT 3.1 was a new 32-
bit operating system with the ability to support older DOS and Windows applications as well as
provide OS/2 support.
21
After several versions of NT 3.x, Microsoft released NT 4.0. NT 4.0 has essentially the same internal
architecture as 3.x. The most notable external change is that NT 4.0 provides the same user interface
as Windows 95. The major architectural change is that several graphics components that ran in user
mode as part of the Win32 subsystem in 3.x have been moved into-5-the Windows NT Executive,
which runs in kernel mode. The benefit of this change is to speed up the operation of these important
functions. The potential drawback is that these graphics functions now have access to low-level
system services, which could impact the reliability of the operating system.
In 2000, Microsoft introduced the next major upgrade, now called Windows 2000. Again, the
underlying Executive and kernel architecture is fundamentally the same as in NT 4.0, but new features
have been added. The emphasis in Windows 2000 is the addition of services and functions to support
distributed processing. The central element of Windows 2000's new features is Active Directory, which
is a distributed directory service able to map names of arbitrary objects to any kind of information
about those objects.
One final general point to make about Windows 2000 is the distinction between Windows 2000 Server
and Windows 2000 desktop. In essence, the kernel and executive architecture and services remain the
same, but Server includes some services required to use as a network server.
In 2001, the latest desktop version of Windows was released, known as Windows XP. Both home PC
and business workstation versions of XP are offered. Also in 2001, a 64-bit version of XP was
introduced. In 2003, Microsoft introduced a new server version, known as Windows Server 2003; both
32-bit and 64 bit versions are available. The 64-bit versions of XP and Server 2003 are designed
specifically for the 64-bit Intel Itanium hardware
22