THE ARCHITECTURE OF COMPUTER HARDWARE, SYSTEM SOFTWARE, AND NETWORKING

Similar documents
Real-Time Optimization by Extremum-Seeking Control

Microprocessor Theory

HASHING IN COMPUTER SCIENCE FIFTY YEARS OF SLICING AND DICING

Relational Database Index Design and the Optimizers

Practical Database Programming with Visual Basic.NET

COMPONENT-ORIENTED PROGRAMMING

7 Windows Tweaks. A Comprehensive Guide to Customizing, Increasing Performance, and Securing Microsoft Windows 7. Steve Sinchak

Magical Math G ROOVY G EOMETRY. Games and Activities That Make Math Easy and Fun. Lynette Long. John Wiley & Sons, Inc.

CHAPTER 5: Representing Numerical Data

LEGITIMATE APPLICATIONS OF PEER-TO-PEER NETWORKS DINESH C. VERMA IBM T. J. Watson Research Center A JOHN WILEY & SONS, INC., PUBLICATION

TASK SCHEDULING FOR PARALLEL SYSTEMS

Join the p2p.wrox.com. Wrox Programmer to Programmer. Beginning PHP 5.3. Matt Doyle

LEGITIMATE APPLICATIONS OF PEER-TO-PEER NETWORKS

COSO Enterprise Risk Management

Study Guide. Robert Schmidt Dane Charlton

Agile Database Techniques Effective Strategies for the Agile Software Developer. Scott W. Ambler

Modern Experimental Design

Basic Definition INTEGER DATA. Unsigned Binary and Binary-Coded Decimal. BCD: Binary-Coded Decimal

IP MULTICAST WITH APPLICATIONS TO IPTV AND MOBILE DVB-H

MODERN MULTITHREADING

Positional notation Ch Conversions between Decimal and Binary. /continued. Binary to Decimal

Creating Web Pages. Learn to: Bud E. Smith. Making Everything Easier! 9th Edition. Design, build, and post a Web page

Beginning Web Programming with HTML, XHTML, and CSS. Second Edition. Jon Duckett

Mastering UNIX Shell Scripting

Linux Command Line and Shell Scripting Bible

Linux Command Line and Shell Scripting Bible. Third Edtion

DIFFERENTIAL EQUATION ANALYSIS IN BIOMEDICAL SCIENCE AND ENGINEERING

Google Voice. Learn to: Bud E. Smith Chris Dannen. Making Everything Easier! Set up and use Google Voice

Beginning Transact-SQL with SQL Server 2000 and Paul Turley with Dan Wood

iwork DUMmIES 2ND EDITION FOR

OVER 750 QUESTIONS AND 55 TASK-BASED SIMULATIONS! CPA EXAM REVIEW. Auditing and Attestation. O. Ray Whittington, CPA, PhD Patrick R.

A complement number system is used to represent positive and negative integers. A complement number system is based on a fixed length representation

Digital Electronics A Practical Approach with VHDL William Kleitz Ninth Edition

Number System. Introduction. Decimal Numbers

Algorithms and Parallel Computing


Cloud Phone Systems. Andrew Moore. Making Everything Easier! Nextiva Special Edition. Learn:

ECE 2030D Computer Engineering Spring problems, 5 pages Exam Two 8 March 2012

Professional ASP.NET 2.0 Databases. Thiru Thangarathinam

MICROPROCESSOR 8085 AND ITS INTERFACING SUNIL MATHUR. Second Edition A 1 ALE AD 0 - AD 7. Latch. Keyboard data V CC 8 P A D D 0 7 STB STB G G A

MACHINE LEVEL REPRESENTATION OF DATA

An Introduction to Programming with IDL

PHP & MySQL. Learn to: Janet Valade. Making Everything Easier! 4th Edition. Create well-formed PHP code that s compliant with PHP 4, 5, and 6

ECE 2030B 1:00pm Computer Engineering Spring problems, 5 pages Exam Two 10 March 2010

CHW 261: Logic Design

Honorary Professor Supercomputer Education and Research Centre Indian Institute of Science, Bangalore

FUNDAMENTALS OF COMPUTER ORGANIZATION AND ARCHITECTURE

Number Systems and Conversions UNIT 1 NUMBER SYSTEMS & CONVERSIONS. Number Systems (2/2) Number Systems (1/2) Iris Hui-Ru Jiang Spring 2010

LAB MANUAL. Craig Zacker.

UNIT 7A Data Representation: Numbers and Text. Digital Data

Advanced Diploma in Computer Science (907) Computer Systems Architecture

Digital Fundamentals

ECE 2020B Fundamentals of Digital Design Spring problems, 6 pages Exam Two 26 February 2014

Number Systems. Both numbers are positive

CS 265. Computer Architecture. Wei Lu, Ph.D., P.Eng.

Introduction to Computer Science-103. Midterm

T02 Tutorial Slides for Week 2

Securing SCADA Systems. Ronald L. Krutz

Introduction to Computers and Programming. Numeric Values

9/3/2015. Data Representation II. 2.4 Signed Integer Representation. 2.4 Signed Integer Representation

IBM 370 Basic Data Types

COMP2611: Computer Organization. Data Representation

Homework 1 graded and returned in class today. Solutions posted online. Request regrades by next class period. Question 10 treated as extra credit

SDH/SONET Explained in Functional Models

Number Systems. Decimal numbers. Binary numbers. Chapter 1 <1> 8's column. 1000's column. 2's column. 4's column

UNIVERSITY OF WISCONSIN MADISON

Hands-On Oracle Application Express Security

FileMaker. Pro 10. The book you need to succeed! Companion Web Site. Ray Cologon. Go from basics to full-scale development

Oracle PL/SQL. DUMmIES. by Michael Rosenblum and Dr. Paul Dorsey FOR

Implementing Security and Tokens: Current Standards, Tools, and Practices

Chapter 3 DATA REPRESENTATION

Solving Managerial Accounting Problems Using Excel for Windows

Introduction to Numbering Systems

C Programming for Electronic Engineers

Excel for Chemists. Second Edition

CS/ECE 252: INTRODUCTION TO COMPUTER ENGINEERING UNIVERSITY OF WISCONSIN MADISON

Chapter 3: Arithmetic for Computers

CS & IT Conversions. Magnitude 10,000 1,

CISSP. DUMmIES 4TH EDITION FOR

Number Systems and Binary Arithmetic. Quantitative Analysis II Professor Bob Orr

Digital Fundamentals. CHAPTER 2 Number Systems, Operations, and Codes

Multi-Core Programming

Richard Wentk. Cocoa. Developer Reference.

FLOATING POINT NUMBERS

Numbers and Computers. Debdeep Mukhopadhyay Assistant Professor Dept of Computer Sc and Engg IIT Madras

EMBEDDED SYSTEMS: Jonathan W. Valvano INTRODUCTION TO THE MSP432 MICROCONTROLLER. Volume 1 First Edition June 2015

PRINCIPLES OF MODERN DIGITAL DESIGN. Parag K. Lala Cary and Lois Patterson Chair of Electrical Engineering Texas A&M University Texarkana

Advanced Computer Architecture-CS501

Number Systems Standard positional representation of numbers: An unsigned number with whole and fraction portions is represented as:

Machine Architecture and Number Systems

ECE 2020B Fundamentals of Digital Design Spring problems, 6 pages Exam Two Solutions 26 February 2014

J2EE TM Best Practices Java TM Design Patterns, Automation, and Performance

1010 2?= ?= CS 64 Lecture 2 Data Representation. Decimal Numbers: Base 10. Reading: FLD Digits: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9

MC1601 Computer Organization

Problem Set 1 Solutions

Algorithm Collections for Digital Signal Processing Applications Using Matlab

MCTS. Microsoft Windows 7 Configuration STUDY GUIDE. William Panek. Covers All Objectives for Exam Exam

Number Systems Prof. Indranil Sen Gupta Dept. of Computer Science & Engg. Indian Institute of Technology Kharagpur Number Representation

Digital Logic. The Binary System is a way of writing numbers using only the digits 0 and 1. This is the method used by the (digital) computer.

Formats. Formats Under UNIX. HEXw. format. $HEXw. format. Details CHAPTER 11

Transcription:

FOURTH EDITION THE ARCHITECTURE OF COMPUTER HARDWARE, SYSTEM SOFTWARE, AND NETWORKING AN INFORMATION TECHNOLOGY APPROACH Irv Englander Bentley University John Wiley & Sons, Inc.

Vice President & Executive Publisher Don Fowley Executive Editor Beth Lang Golub Marketing Manager Christopher Ruel Marketing Assistant Diana Smith Design Director Harry Nolan Senior Designer Kevin Murphy Senior Production Editor Patricia McFadden Senior Media Editor Lauren Sapira Editorial Assistant Mike Berlin Production Management Services Kate Boilard, Laserwords Maine This book was set in 10/12 Minion by Laserwords India and printed and bound by Courier/Westford. The cover was printed by Courier/Westford. The book is printed on acid free paper. Copyright 2009 John Wiley & Sons, Inc. All rights reserved. No part of this publication may be reproduced, stored in a retrieval system or transmitted in any form or by any means, electronic, mechanical, photocopying, recording, scanning or otherwise, except as permitted under Sections 107 or 108 of the 1976 United States Copyright Act, without either the prior written permission of the Publisher, or authorization through payment of the appropriate per-copy fee to the Copyright Clearance Center, Inc. 222 Rosewood Drive, Danvers, MA 01923,website www.copyright.com. Requests to the Publisher for permission should be addressed to the Permissions Department, John Wiley & Sons, Inc., 111 River Street, Hoboken, NJ 07030-5774, (201)748-6011, fax (201)748-6008, website http://www.wiley.com/go/permissions. To order books or for customer service please, call 1-800-CALL WILEY (225-5945). ISBN-13: 978-0471-71542-9 Printed in the United States of America 10987654321

To four outstanding teachers and great human beings: With your guidance, inspiration, and patience, you showed me that everything is possible. Dr. Sidney H. Englander (1900 1980) and Mildred K. Englander (1906 2008), in memoriam my father and mother Albert L. Daugherty, in memoriam teacher of Science in Cleveland Heights, Ohio from 1927 to 1970 Edith B. Malin, in memoriam teacher of English in Cleveland Heights, Ohio from 1924 to 1958

BRIEF CONTENTS PART ONE AN OVERVIEW OF COMPUTER SYSTEMS 2 CHAPTER 1 Computers and Systems 4 CHAPTER 2 An Introduction to System Concepts and Systems Architecture 38 PART TWO DATA IN THE COMPUTER 66 CHAPTER 3 Number Systems 68 CHAPTER 4 Data Formats 96 CHAPTER 5 Representing Numerical Data 136 PART THREE COMPUTER ARCHITECTURE AND HARDWARE OPERATION 178 CHAPTER 6 The Little Man Computer 180 CHAPTER 7 The CPU and Memory 198 CHAPTER 8 CPU and Memory: Design, Enhancement, and Implementation 240 CHAPTER 9 Input/Output 276 iv

BRIEF CONTENTS v CHAPTER10 Computer Peripherals 306 CHAPTER11 Modern Computer Systems 342 PART FOUR NETWORKS AND DATA COMMUNICATIONS 368 CHAPTER12 Networks and Data Communications 370 CHAPTER13 Ethernet and TCP/IP Networking 422 CHAPTER14 Communication Channel Technology 446 PART FIVE THE SOFTWARE COMPONENT 476 CHAPTER15 Operating Systems: An Overview 478 CHAPTER16 The User View of Operating Systems 514 CHAPTER17 File Management 548 CHAPTER18 The Internal Operating System 592 SUPPLEMENTARY CHAPTERS On the Web at www.wiley.com/college/englander SUPPLEMENTARY CHAPTER 1 SUPPLEMENTARY CHAPTER 2 SUPPLEMENTARY CHAPTER 3 SUPPLEMENTARY CHAPTER 4 An Introduction to Digital Computer Logic System Examples Instruction Addressing Modes Programming Tools

CONTENTS Preface xix About the Author xxv PART ONE AN OVERVIEW OF COMPUTER SYSTEMS 2 CHAPTER 1 Computers and Systems 4 1.0 Introduction 5 1.1 The Starting Point 9 1.2 Components of the Computer System 12 The Hardware Component 13 The Software Component 16 The Communication Component 18 The Computer System 18 1.3 The Concept of Virtualization 20 1.4 Protocols and Standards 20 1.5 Overview of This Book 22 1.6 A Brief Architectural History of the Computer 23 Early Work 24 Computer Hardware 25 Operating Systems 28 Communication, Networks, and the Internet 33 Summary and Review 34 For Further Reading 34 Key Concepts and Terms 35 Reading Review Questions 35 Exercises 36 CHAPTER 2 vi An Introduction to System Concepts and Systems Architecture 38 2.0 Introduction 39 2.1 The General Concept of Systems 40 2.2 IT System Architectures 48 Distributed Processing Systems 49

CONTENTS vii PART TWO DATA IN THE COMPUTER 66 The Role of the System Architect 57 Google: A System Architecture Example 58 Summary and Review 62 For Further Reading 63 Key Concepts and Terms 63 Reading Review Questions 63 Exercises 64 CHAPTER 3 Number Systems 68 3.0 Introduction 69 3.1 Numbers as a Physical Representation 70 3.2 Counting in Different Bases 70 3.3 Performing Arithmetic in Different Number Bases 74 3.4 Numeric Conversion between Number Bases 77 An Alternative Conversion Method 79 3.5 Hexadecimal Numbers and Arithmetic 81 3.6 A Special Conversion Case Number Bases that are Related 81 3.7 Fractions 83 Fractional Conversion Methods 86 3.8 Mixed Number Conversions 89 Summary and Review 89 For Further Reading 90 Key Concepts and Terms 90 Reading Review Questions 90 Exercises 91 CHAPTER 4 Data Formats 96 4.0 Introduction 97 4.1 General Considerations 97 4.2 Alphanumeric Character Data 100 Keyboard Input 106 Alternative Sources of Alphanumeric Input 107 4.3 Image Data 109 Bitmap Images 110 Object Images 114 Representing Characters as Images 117 Video Images 117 Image and Video Input 118 4.4 Audio Data 119 4.5 Data Compression 123

viii CONTENTS 4.6 Page Description Languages 124 4.7 Internal Computer Data Format 125 Numerical Character to Integer Conversion 127 Summary and Review 128 For Further Reading 129 Key Concepts and Terms 130 Reading Review Questions 130 Exercises 131 CHAPTER 5 Representing Numerical Data 136 5.0 Introduction 137 5.1 Unsigned Binary and Binary-Coded Decimal Representations 138 5.2 Representations for Signed Integers 141 Sign-and-magnitude Representation 142 Nine s Decimal and 1 s Binary Complementary Representations 143 Ten s Complement and 2 s Complement 150 Overflow and Carry Conditions 153 Other Bases 153 Summary of Rules for Complementary Numbers 154 5.3 Real Numbers 155 A Review of Exponential Notation 155 Floating Point Format 157 Normalization and Formatting of Floating Point Numbers 159 A Programming Example 162 Floating Point Calculations 163 Floating Point in the Computer 165 Conversion between Base 10 and Base 2 167 5.4 Programming Considerations 168 Summary and Review 169 For Further Reading 170 Key Concepts and Terms 171 Reading Review Questions 171 Exercises 172 PART THREE COMPUTER ARCHITECTURE AND HARDWARE OPERATION 178 CHAPTER 6 The Little Man Computer 180 6.0 Introduction 181 6.1 Layout of the Little Man Computer 181