06.04.2013 Views

To my children, Lemar, Sivan, and Aaron - Webs

To my children, Lemar, Sivan, and Aaron - Webs

To my children, Lemar, Sivan, and Aaron - Webs

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

6 Chapter 1<br />

1.2<br />

STORAGE DEFINITIONS AND NOTATION<br />

A is the basic unit of computer storage. It can contain one of two values,<br />

zero <strong>and</strong> one. All other storage in a computer is based on collections of bits.<br />

Given enough bits, it is amazing how many things a computer can represent:<br />

numbers, letters, images, movies, sounds, documents, <strong>and</strong> programs, to name<br />

a few. A is 8 bits, <strong>and</strong> on most computers it is the smallest convenient<br />

chunk of storage. For example, most computers don't have an instruction<br />

to move a bit but do have one to move a byte. A less common term is<br />

which is a given computer architecture's native storage unit. A word is<br />

generally made up of one or more bytes. For example, a computer may have<br />

instructions to move 64-bit (8-byte) words.<br />

A kilobyte, or KB, is 1,024 bytes; a megabyte, or MB, is 1,0242 bytes; <strong>and</strong><br />

a gigabyte, or GB, !s 1,024 3 bytes. Computer manufacturers often round off<br />

these numbers <strong>and</strong> say that a megabyte is 1 million bytes <strong>and</strong> a gigabyte is 1<br />

billion bytes.<br />

problems easier. <strong>To</strong>ward this goal, computer hardware is constructed. Since<br />

bare hardware alone is not particularly easy to use, application programs are<br />

developed. These programs require certain common operations, such as those<br />

controlling the II 0 devices. The common functions of controlling <strong>and</strong> allocating<br />

resources are then brought together into one piece of software: the operating<br />

system.<br />

In addition, we have no universally accepted definition of what is part of the<br />

operating system. A simple viewpoint is that it includes everything a vendor<br />

ships when you order "the operating system." The features included, however,<br />

vary greatly across systems. Some systems take up less than 1 megabyte of<br />

space <strong>and</strong> lack even a full-screen editor, whereas others require gigabytes of<br />

space <strong>and</strong> are entirely based on graphical windowing systems. A more common<br />

definition, <strong>and</strong> the one that we usually follow, is that the operating system<br />

is the one program running at all times on the computer-usually called<br />

the . (Along with the kernel, there are two other types of programs:<br />

which are associated with the operating system but are not<br />

part of the kernel, <strong>and</strong> which include all programs not<br />

associated with the operation of the system.)<br />

The matter of what constitutes an operating system has become increasingly<br />

important. In 1998, the United States Deparhnent of Justice filed suit<br />

against Microsoft, in essence claiming that Microsoft included too much functionality<br />

in its operating systems <strong>and</strong> thus prevented application vendors from<br />

competing. For example, a Web browser was an integral part of the operating<br />

systems. As a result, Microsoft was found guilty of using its operating-system<br />

monopoly to limit competition.<br />

Before we can explore the details of how computer systems operate, we need<br />

general knowledge of the structure of a computer system. In this section,<br />

we look at several parts of this structure. The section is mostly concerned

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!