Preview

Operating System Soluion Manual

Powerful Essays
Open Document
Open Document
15908 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Operating System Soluion Manual
INSTRUCTORS MANUAL

OPERATING SYSTEMS:
INTERNALS AND DESIGN PRINCIPLES
FOURTH EDITION

WILLIAM STALLINGS

Copyright 2000: William Stalling
TABLE OF CONTENTS

PART ONE: SOLUTIONS MANUAL ...............................................................................1
Chapter 1:
Computer System Overview ......................................................................2
Chapter 2:
Operating System Overview ......................................................................6
Chapter 3:
Process Description and Control ...............................................................7
Chapter 4:
Threads, SMP, and Microkernels.............................................................12
Chapter 5:
Concurrency: Mutual Exclusion and Synchronization.........................15
Chapter 6:
Concurrency: Deadlock and Starvation..................................................26
Chapter 7:
Memory Management ...............................................................................34
Chapter 8:
Virtual Memory..........................................................................................38

Part One
SOLUTIONS MANUAL

This manual contains solutions to all of the problems in Operating Systems,
Fourth Edition. If you spot an error in a solution or in the wording of a problem, I would greatly appreciate it if you would forward the information via email to me at ws@shore.net. An errata sheet for this manual, if needed, is available at ftp://ftp.shore.net/members/ws/S/
W.S.

-1-

CHAPTER 1
COMPUTER SYSTEM OVERVIEW
ANSWERS TO PROBLEMS
1.1

Memory (contents in hex): 300: 3005; 301: 5940; 302: 7006
Step 1: 3005 → IR; Step 2: 3 → AC
Step 3: 5940 → IR; Step 4: 3 + 2 = 5 → AC
Step 5: 7006 → IR; Step 6: AC → Device 6

1.2

1. a. The PC contains 300, the address of the first instruction. This value is loaded in to the MAR.
b. The value in location 300 (which is the instruction with the value 1940 in hexadecimal) is

You May Also Find These Documents Helpful

  • Good Essays

    a. The CPU tells the RAM which address holds the data that the CPU wants to read.…

    • 856 Words
    • 4 Pages
    Good Essays
  • Satisfactory Essays

    12. From Explorer or the Computer window, right-click a file or folder and select Properties from the short cut menu.…

    • 277 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    CS305 Final Exam Questions

    • 1044 Words
    • 6 Pages

    1. (D) Which of the following CALL instructions writes the contents of EAX to standard output as a signed decimal integer?…

    • 1044 Words
    • 6 Pages
    Satisfactory Essays
  • Good Essays

    operating system

    • 464 Words
    • 2 Pages

    1. What is the application Zenmap GUI typically used for? Describe a scenario in which you would use this type of application.…

    • 464 Words
    • 2 Pages
    Good Essays
  • Good Essays

    Operating System

    • 1099 Words
    • 5 Pages

    Answer: d. It redirects the output of one command to the input of another command.…

    • 1099 Words
    • 5 Pages
    Good Essays
  • Good Essays

    Wolff V. Mcdonnell

    • 893 Words
    • 4 Pages

    References: Clemens , B. (2002). Invitation to corrections: with built-in study guide. (p.471,). Pearson Custom Publishing. Retrieved from http://wow.coursesmart.com…

    • 893 Words
    • 4 Pages
    Good Essays
  • Satisfactory Essays

    Homework

    • 343 Words
    • 2 Pages

    68. In the HCS12, the stack pointer (SP) points to _____________ (the last used, next available) location of the stack.…

    • 343 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    4. If you find one or more errors, revise your argument to eliminate them. The…

    • 328 Words
    • 2 Pages
    Good Essays
  • Good Essays

    References: Foster,, B. (2006). Corrections: The Fundamentals. Retrieved from The University of Phoenix eBook Collection database.…

    • 609 Words
    • 3 Pages
    Good Essays
  • Better Essays

    Linux vs Windows vs Mac

    • 1355 Words
    • 6 Pages

    Operating systems are the link between the user and the applications and the hardware. They are responsible for deciding how the user commands will be interpreted and how the operating system itself will carry the process. There are several different types of operating and each carries out processing in their own way. Windows, UNIX/Linux and Mac are some of the most popular and widely used operating systems.…

    • 1355 Words
    • 6 Pages
    Better Essays
  • Powerful Essays

    Operating System Comparisons

    • 2694 Words
    • 11 Pages

    An operating system (OS) is software that manages the hardware and software resources of a computer system. Basically an OS is a set of libraries or functions which programs may use to perform specific tasks relating to interfacing with computer system components (The Computer Technology Documentation Project, n.d.). Advantages and disadvantages exist in every operating system. Reviewed in this paper is a comparison of some of the primary responsibilities of popular operating systems. Although Microsoft Windows has taken its own approach as an operating system, Mac OS X is based heavily on the UNIX core. The review includes Unix/Linux, Mac OS X, and Microsoft Windows operating systems.…

    • 2694 Words
    • 11 Pages
    Powerful Essays
  • Powerful Essays

    ASAP Technical Guide

    • 6881 Words
    • 28 Pages

    Contents . . . . . . . . . . . . . . . . . . . . . . . ............…

    • 6881 Words
    • 28 Pages
    Powerful Essays
  • Better Essays

    Silberschatz, A., Galvin, P. B., & Gagne, G. (2013). Operating System Concepts Essentials (2nd ed.). Hoboken, NJ: John Wiley & Sons,…

    • 900 Words
    • 3 Pages
    Better Essays
  • Powerful Essays

    Ubuntu User Manual Guide

    • 3251 Words
    • 14 Pages

    Produced by ISCA Vision Ltd - November 2008 European Resettlement Training & Education for Prisoners (E-Step) Project Number: 133925-LLP-1-2007-1-UK-GRUNDTVIG-GMP…

    • 3251 Words
    • 14 Pages
    Powerful Essays
  • Powerful Essays

    user manual

    • 19824 Words
    • 80 Pages

    1. The product is warranted for 12 months from the date of purchase. Subject to the conditions of this warranty Panasonic or its…

    • 19824 Words
    • 80 Pages
    Powerful Essays

Related Topics