Docsity

Learning Track 1: How Computer Hardware and Software Work, Slides of Technology

Toggle sidebar
bg1
Although managers and business professionals do not need to be computer technology
experts, they should have a basic understanding of the role of hardware and software in
the organization’s information technology (IT) infrastructure so that they can make
technology decisions that promote organizational performance and productivity. This
chapter surveys the capabilities of computer hardware and computer software and
highlights the major issues in the management of the firm’s hardware and software
assets.
Computer Hardware and Information Technology
Infrastructure
Computer hardware provides the underlying physical foundation for the firm’s IT
infrastructure. Other infrastructure components—software, data, and networks—
require computer hardware for their storage or operation.
The Computer System
A contemporary computer system consists of a central processing unit, primary stor-
age, secondary storage, input devices, output devices, and communications devices
(see Figure 4-1). The central processing unit manipulates raw data into a more useful
form and controls the other parts of the computer system. Primary storage temporarily
stores data and program instructions during processing, whereas secondary storage
Chapter 4
IT Infrastructure: Hardware and Software
1
LEARNING TRACK 1: HOW COMPUTER HARDWARE AND SOFTWARE WORK
FIGURE 4-1 Hardware components of a computer system.
A contemporary computer sys-
tem can be categorized into six
major components. The central
processing unit manipulates
data and controls the other
parts of the computer system;
primary storage temporarily
stores data and program
instructions during processing;
secondary storage stores data
and instructions when they are
not used in processing; input
devices convert data and
instructions for processing in
the computer; output devices
present data in a form that
people can understand; and
communications devices control
the passing of information to
and from communications net-
works.
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff

Partial preview of the text

Download Learning Track 1: How Computer Hardware and Software Work and more Slides Technology in PDF only on Docsity!

Although managers and business professionals do not need to be computer technology experts, they should have a basic understanding of the role of hardware and software in the organization’s information technology (IT) infrastructure so that they can make technology decisions that promote organizational performance and productivity. This chapter surveys the capabilities of computer hardware and computer software and highlights the major issues in the management of the firm’s hardware and software assets.

Computer Hardware and Information Technology

Infrastructure

Computer hardware provides the underlying physical foundation for the firm’s IT infrastructure. Other infrastructure components—software, data, and networks— require computer hardware for their storage or operation.

The Computer System

A contemporary computer system consists of a central processing unit, primary stor- age, secondary storage, input devices, output devices, and communications devices (see Figure 4-1). The central processing unit manipulates raw data into a more useful form and controls the other parts of the computer system. Primary storage temporarily stores data and program instructions during processing, whereas secondary storage

C h a p t e r 4

I T I n f r a s t r u c t u r e : H a r d w a r e a n d S o f t w a r e

1

LEARNING TRACK 1: HOW COMPUTER HARDWARE AND SOF TWARE WORK

FIGURE 4-1 Hardware components of a computer system.

A contemporary computer sys- tem can be categorized into six major components. The central processing unit manipulates data and controls the other parts of the computer system; primary storage temporarily stores data and program instructions during processing; secondary storage stores data and instructions when they are not used in processing; input devices convert data and instructions for processing in the computer; output devices present data in a form that people can understand; and communications devices control the passing of information to and from communications net- works.

devices (magnetic and optical disks, magnetic tape) store data and programs when they are not being used in processing. Input devices, such as a keyboard or mouse, convert data and instructions into electronic form for input into the computer. Output devices, such as printers and video display terminals, convert electronic data produced by the computer system and display them in a form that people can understand. Communications devices provide connections between the computer and communica- tions networks. Buses are circuitry paths for transmitting data and signals among the parts of the computer system. In order for information to flow through a computer system and be in a form suit- able for processing, all symbols, pictures, or words must be reduced to a string of bina- ry digits. A binary digit is called a bit and represents either a 0 or a 1. In the computer, the presence of an electronic or magnetic signal means one, and its absence signifies zero. Digital computers operate directly with binary digits, either singly or strung together to form bytes. A string of eight bits that the computer stores as a unit is called a byte. Each byte can be used to store a decimal number, a symbol, a character, or part of a picture (see Figure 4-2). Computers can represent pictures by creating a grid overlay of the picture. Each sin- gle point in this grid or matrix is called a pixel (picture element) and consists of a number of bits. The computer then stores this information on each pixel.

The CPU and Primary Storage The central processing unit (CPU) is the part of the computer system where the manip- ulation of symbols, numbers, and letters occurs, and it controls the other parts of the computer system (see Figure 4-3). Located near the CPU is primary storage (some- times called primary memory or main memory), where data and program instructions are stored temporarily during processing. Buses provide pathways for transmitting data and signals between the CPU, primary storage, and the other devices in the computer system. The characteristics of the CPU and primary storage are very important in determining a computer’s speed and capabilities.

T H E A R I T H M E T I C - L O G I C U N I T A N D C O N T R O L U N I T Figure 4-3 also shows that the CPU consists of an arithmetic-logic unit and a control unit. The arithmetic-logic unit (ALU) performs the computer’s principal logical and arithmetic operations. It adds, subtracts, multiplies, and divides, determining whether a number is positive, negative, or zero. In addition to performing arithmetic functions, an ALU must be able to determine when one quantity is greater than or less than another and when two quantities are equal. The ALU can perform logic operations on letters as well as numbers.

FIGURE 4-2 Bits and bytes.

Bits are represented by either a 0 or 1. A string of eight bits constitutes a byte, which repre- sents a character or number. Illustrated here is a byte repre- senting the letter “A” using the ASCII binary coding standard.

There are several different kinds of semiconductor memory used in primary storage. RAM is used for short-term storage of data or program instructions. RAM is volatile: Its contents will be lost when the computer’s electric supply is disrupted by a power outage or when the computer is turned off. ROM, or read-only memory, can only be read from; it cannot be written to. ROM chips come from the manufacturer with pro- grams already burned in, or stored. ROM is used in general-purpose computers to store important or frequently used programs.

Computer Processing The processing capability of the CPU plays a large role in determining the amount of work that a computer system can accomplish.

M I C R O P R O C E S S O R S A N D P R O C E S S I N G P O W E R Contemporary CPUs use semiconductor chips called microprocessors, which integrate all of the memory, logic, and control circuits for an entire CPU onto a single chip. The speed and performance of a computer’s microprocessors help determine a computer’s processing power and are based on the microprocessor’s word length, cycle speed, and data bus width. Word length refers to the number of bits that the computer can process at one time. A 32-bit chip can process 32 bits, or 4 bytes, of data in a single machine cycle. A 64-bit chip can process 64 bits or 8 bytes in a single cycle. The larger the word length, the greater the computer’s speed. A second factor affecting chip speed is cycle speed. Every event in a computer must be sequenced so that one step logically follows another. The control unit sets a beat to the chip. This beat is established by an internal clock and is measured in megahertz (abbreviated MHz, which stands for millions of cycles per second). The Intel 8088 chip, for instance, originally had a clock speed of 4.47 megahertz, whereas the Intel Pentium III chip has a clock speed that ranges from 450 to more than 900 megahertz and the Pentium 4 chip clock speed can reach up to 2 gigahertz. A third factor affecting speed is the data bus width. The data bus acts as a highway between the CPU, primary storage, and other devices, determining how much data can be moved at one time. The 8088 chip used in the original IBM personal computer, for example, had a 16-bit word length but only an 8-bit data bus width. This meant that data were processed within the CPU chip itself in 16-bit chunks but could only be moved 8 bits at a time between the CPU, primary storage, and external devices. On the other hand, Intel’s Itanium chip has both a 64-bit word length and a 64-bit data bus width. To have a computer execute more instructions per second and work through programs or handle users expeditiously, it is necessary to increase the processor’s word length, the data bus width, or the cycle speed—or all three. Microprocessors can be made faster by using reduced instruction set computing (RISC) in their design. Conventional chips, based on complex instruction set comput- ing, have several hundred or more instructions hard-wired into their circuitry, and they

TABLE 4-1 Computer storage capacity

Byte String of eight bits Kilobyte 1,000 bytes* Megabyte 1,000,000 bytes Gigabyte 1,000,000,000 bytes Terabyte 1,000,000,000,000 bytes *Actually 1024 storage positions.

may take several clock cycles to execute a single instruction. If the little-used instruc- tions are eliminated, the remaining instructions can execute much faster. RISC proces- sors have only the most frequently used instructions embedded in them. A RISC CPU can execute most instructions in a single machine cycle and sometimes multiple instructions at the same time. RISC is often used in scientific and workstation computing.

PA R A L L E L P R O C E S S I N G Processing can also be sped up by linking several processors to work simultaneously on the same task. Figure 4-4 compares parallel processing to serial processing used in conventional computers. In parallel processing, multiple processing units (CPUs) break down a problem into smaller parts and work on it simultaneously. Getting a group of processors to attack the same problem at once requires both rethinking the problems and special software that can divide problems among different processors in the most efficient way possible, providing the needed data, and reassembling the many subtasks to reach an appropriate solution. Massively parallel computers have huge networks of hundreds or even thousands of processor chips interwoven in complex and flexible ways to attack large computing problems. As opposed to parallel processing, where small numbers of powerful but expensive specialized chips are linked together, massively parallel machines link hun- dreds or even thousands of inexpensive, commonly used chips to break problems into many small pieces and solve them.

Storage, Input and Output Technology The capabilities of computer systems depend not only on the speed and capacity of the CPU but also on the speed, capacity, and design of storage, input and output technolo- gy. Storage, input and output devices are called peripheral devices because they are outside the main computer system unit.

Secondary Storage Technology The rise of digital firms has made storage a strategic technology. Although electronic commerce and electronic business are reducing manual processes, data of all types must be stored electronically and available whenever needed. Most of the information

FIGURE 4-4 Sequential and parallel processing.

During sequential processing, each task is assigned to one CPU that processes one instruction at a time. In paral- lel processing, multiple tasks are assigned to multiple pro- cessing units to expedite the result.

Digital video disks (DVDs), also called digital versatile disks, are optical disks the same size as CD-ROMs but of even higher capacity. They can hold a minimum of 4. gigabytes of data, enough to store a full-length, high-quality motion picture. DVDs are initially being used to store movies and multimedia applications using large amounts of video and graphics, but they may replace CD-ROMs because they can store large amounts of digitized text, graphics, audio, and video data. Once read-only, writable and re-writable DVD drives and media are now available.

M A G N E T I C TA P E Magnetic tape is an older storage technology that still is employed for secondary stor- age of large quantities of data that are needed rapidly but not instantly. Magnetic tape is very inexpensive and relatively stable. However, it stores data sequentially and is rel- atively slow compared to the speed of other secondary storage media. In order to find an individual record stored on magnetic tape, such as an employment record, the tape must be read from the beginning up to the location of the desired record.

N E W S T O R A G E A LT E R N AT I V E S : S T O R A G E A R E A N E T W O R K S ( S A N S ) To meet the escalating demand for data-intensive multimedia, Web, and other services, the amount of data that companies need to store is increasing from 75 to 150 percent every year. Companies are turning to new kinds of storage infrastructures to deal with their mushrooming storage requirements and their difficulties managing large volumes of data. Storage area networks (SANs) can provide a solution for companies with the need to share information across applications and computing platforms. A storage area net- work (SAN) is a high-speed network dedicated to storage that connects different kinds of storage devices, such as tape libraries and disk arrays. The network moves data among pools of servers and storage devices, creating an enterprise-wide infrastructure for data storage. The SAN creates a large central pool of storage that can be shared by multiple servers so that users can rapidly share data across the SAN. Every user in a company can access data from any server in the organization. Figure 4-5 illustrates

Multimedia combines text, graphics, sound, and video into a computer-based experience that permits two-way commu- nication. Many organizations use this technology for interac- tive training.

how a SAN works. The SAN storage devices are located on their own network and connected using a high-transmission technology such as Fibre Channel. SANs can be expensive and difficult to manage, but they are very useful for companies that can ben- efit from consolidating their storage resources and providing rapid data access to wide- ly distributed users.

Input and Output Devices Human beings interact with computer systems largely through input and output devices. Input devices gather data and convert them into electronic form for use by the computer, whereas output devices display data after they have been processed. Table 4-2 describes the principal input devices, and Table 4-3 describes the major output devices. The principal input devices consist of keyboards, pointing devices (such as the com- puter mouse and touch screens), and source data automation technologies (optical and magnetic ink character recognition, pen-based input, digital scanners, audio input, and sensors), which capture data in computer-readable form at the time and place they are created. The principal output devices are cathode ray tube terminals (CRTs), sometimes called video display terminals or VDTs, and printers.

FIGURE 4-5 A storage area network (SAN).

The SAN stores data on many different types of storage devices, providing data to the enterprise. The SAN supports communication between any server and the storage unit as well as between different stor- age devices in the network.

Batch and On-Line Input and Processing The manner in which data are input into the computer affects how the data can be processed. Information systems collect and process information in one of two ways: through batch or through on-line processing. In batch processing, transactions, such as orders or payroll time cards, are accumulated and stored in a group or batch until the time when, because of some reporting cycle, it is efficient or necessary to process them. Batch processing is found primarily in older systems where users need only occasional reports. In on-line processing, the user enters transactions into a device (such as a data entry keyboard or bar code reader) that is directly connected to the computer system. The transactions usually are processed immediately. Most processing today is on-line processing. Figure 4-6 compares batch and on-line processing. Batch systems often use tape as a storage medium, whereas on-line processing systems use disk storage, which permits immediate access to specific items. In batch systems, transactions are accumulated in a transaction file, which contains all the transactions for a particular time period. Periodically, this file is used to update a master file, which contains permanent infor- mation on entities. (An example is a payroll master file with employee earnings and deduction data. It is updated with weekly time-card transactions.) Adding the transac- tion data to the existing master file creates a new master file. In on-line processing,

FIGURE 4-6 A comparison of batch and on-line processing.

In batch processing, transac- tions are accumulated and stored in a group. Because batches are processed at regu- lar intervals, such as daily, weekly, or monthly, information in the system will not always be up to date. In on-line process- ing, transactions are input immediately and usually processed immediately. Information in the system is generally up to date. A typical on-line application is an airline reservation system.

transactions are entered into the system immediately using a keyboard, pointing device, or source data automation, and the system usually responds immediately. The master file is updated continually.

Interactive Multimedia

The processing, input, output, and storage technologies we have just described can be used to create multimedia applications that integrate sound and full-motion video, or animation with graphics and text into a computer-based application. Multimedia is becoming the foundation of new consumer products and services, such as electronic books and newspapers, electronic classroom-presentation technologies, full-motion videoconferencing, imaging, graphics design tools, and video and voice mail. PCs today come with built-in multimedia capabilities, including high-resolution color mon- itors, CD-ROM drives or DVD drives to store video, audio, and graphic data, and stereo speakers for amplifying audio output. Interactive Web pages replete with graphics, sound, animations, and full-motion video have made multimedia popular on the Internet. For example, visitors to the CNN Interactive Web site can access news stories from CNN, photos, on-air transcripts, video clips, and audio clips. The video and audio clips are made available using streaming technology, which allows audio and video data to be processed as a steady and continuous stream as they are downloaded from the Web. Multimedia Web sites are also being used to sell digital products, such as digitized music clips. A compression standard known as MP3, also called MPEG3, which stands for Motion Picture Experts Group, audio layer 3, can compress audio files down to one-tenth or one-twelfth of their original size with virtually no loss in quality. Visitors to Web sites such as MP3.com can download MP3 music clips over the Internet and play them on their own computers.

System Software and PC Operating Systems

System software coordinates the various parts of the computer system and mediates between application software and computer hardware. The system software that man- ages and controls the computer’s activities is called the operating system. Other system software consists of computer language translation programs that convert programming languages into machine language that can be understood by the computer and utility programs that perform common processing tasks.

F U N C T I O N S O F T H E O P E R AT I N G S Y S T E M The operating system is the computer system’s chief manager. The operating system allocates and assigns system resources, schedules the use of computer resources and computer jobs, and monitors computer system activities. The operating system pro- vides locations in primary memory for data and programs, and controls the input and output devices, such as printers, terminals, and telecommunication links. The operating system also coordinates the scheduling of work in various areas of the computer so that different parts of different jobs can be worked on at the same time. Finally, the operating system keeps track of each computer job and may also keep track of who is using the system, of what programs have been run, and of any unauthorized attempts to access the system.

M U LT I P R O G R A M M I N G A series of specialized operating system capabilities enables the computer to handle many different tasks and users at the same time. Multiprogramming permits multiple programs to share a computer system’s resources at any one time through concurrent

T I M E S H A R I N G

Time sharing is an operating system capability that allows many users to share com- puter processing resources simultaneously. It differs from multiprogramming in that the CPU spends a fixed amount of time on one program before moving on to another. Thousands of users are each allocated a tiny slice of computer time, when each is free to perform any required operations; at the end of this period, another user is given another tiny time slice of the CPU. This arrangement permits many users to be con- nected to a CPU simultaneously, with each receiving only a tiny amount of CPU time.

M U LT I P R O C E S S I N G Multiprocessing is an operating system capability that links together two or more CPUs to work in parallel in a single computer system. The operating system can assign multiple CPUs to execute different instructions from the same program or from differ- ent programs simultaneously, dividing the work between the CPUs. Whereas multipro- gramming uses concurrent processing with one CPU, multiprocessing uses simultane- ous processing with multiple CPUs.

L A N G U A G E T R A N S L AT I O N A N D U T I L I T Y S O F T W A R E System software includes special language translator programs that translate high-level language programs written in programming languages such as COBOL, FORTRAN, or C into machine language that the computer can execute. The program in the high-level language before translation into machine language is called source code. A compiler translates source code into machine code called object code, which is linked to other object code modules and then executed by the computer. Some programming lan- guages, such as BASIC, do not use a compiler but an interpreter, which translates each source code statement one at a time into machine code and executes it. System software includes utility programs for routine, repetitive tasks, such as copy- ing, clearing primary storage, computing a square root, or sorting. Utility programs can be shared by all users of a computer system and can be used in many different infor- mation system applications when requested.

P C O P E R AT I N G S Y S T E M S A N D G R A P H I C A L U S E R I N T E R FA C E S Like any other software, PC software is based on specific operating systems and com- puter hardware. Software written for one PC operating system generally cannot run on another. When a user interacts with a computer, including a PC, the interaction is controlled by an operating system. A user communicates with an operating system through the user interface of that operating system. Contemporary PC operating systems use a graphical user interface, often called a GUI, which makes extensive use of icons, but- tons, bars, and boxes to perform tasks. It has become the dominant model for the user interface of PC operating systems and for many types of application software.

Application Software and Programming Languages

Application software is primarily concerned with accomplishing the tasks of end users. Many different languages and software tools can be used to develop application soft- ware. Managers should understand which software tools and programming languages are appropriate for their organization’s objectives.

P R O G R A M M I N G L A N G U A G E S The first generation of computer languages consisted of machine language, which required the programmer to write all program instructions in the 0s and 1s of binary

code and to specify storage locations for every instruction and item of data used. Programming in machine language was a very slow, labor-intensive process. As com- puter hardware improved and processing speed and memory size increased, program- ming languages became progressively easier for humans to understand and use. From the mid-1950s to the mid-1970s, high-level programming languages emerged, allowing programs to be written with regular words using sentence-like statements. We now briefly describe the most important high-level languages.

A S S E M B LY L A N G U A G E Assembly language is the next level of programming language up from machine lan- guage and is considered a “second-generation” language. Like machine language, assembly language (Figure 4-9) is designed for a specific machine and specific micro- processors. Assembly language makes use of certain mnemonics (e.g., load, sum) to represent machine language instructions and storage locations. Although assembly lan- guage gives programmers great control, it is difficult and costly to write and learn. Assembly language is used primarily today in system software.

T H I R D - G E N E R AT I O N L A N G U A G E S : F O R T R A N , C O B O L , B A S I C , PA S C A L , A N D C Third-generation languages specify instructions as brief statements that are more like natural languages than assembly language. All are less efficient in the use of computer resources than earlier languages, they are easier to write and understand and have made it possible to create software for business and scientific problems. Important third-generation languages include FORTRAN, COBOL, BASIC, and C. FORTRAN FORTRAN (FORmula TRANslator) (Figure 4-10) was developed in 1956 to provide an easy way of writing scientific and engineering applications. FOR- TRAN is especially useful in processing numeric data. Some business applications can be written in FORTRAN, and contemporary versions provide sophisticated structures for controlling program logic. COBOL COBOL (COmmon Business Oriented Language) (Figure 4-11) was developed in the early 1960s by a committee representing both government and indus- try. Rear Admiral Grace M. Hopper was a key committee member who played a major role in COBOL development. COBOL was designed with business administration in mind, for processing large data files with alphanumeric characters (mixed alphabetic

FIGURE 4-9 Assembly language.

This sample assembly language command adds the contents of register 3 to register 5 and stores the result in register 5. (A register is a temporary stor- age location in the CPU for small amounts of data or instructions).

FIGURE 4-10 FORTRAN.

This sample FORTRAN pro- gram code is part of a program to compute sales figures for a particular item.