Preview

Operating System Past Year Answer

Satisfactory Essays
Open Document
Open Document
2709 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Operating System Past Year Answer
JUNE 2012
PART A
QUESTION 6
Based on Figure 1 below, describe the responsibilities of the resource manager. (5M)

The general form of a resource manager
Figure 1 * As an Internal resource name is an internal name for the resource used by the operating system code. * As total unit are a number of resource units configured into the system. * Available unit is a number of units currently available. * List of available units is a set of available units of this resource type that are available for use by processes. * List of blocked processes is a list of processes that have a pending request for units of this resource type.

QUESTION 7
Pipes are a very simple model introduced by UNIX for accomplishing interprocess communication (IPC). a) Define IPC. (2M)
Inter-process communication (IPC) is a set of methods for the exchange of data among multiple threads in one or more processes.

b) Explain how pipes are used to accomplish IPC. (3M)
Piping is a process where the output of one process is made the input of another.

PART B
QUESTION 2
c) Assume that the list of holes in a variable partitions memory system contains the following entries (in the given order): 400K, 150K, 270K and 500K. Consider the following sequence of requests :
A = 450K, B = 200K, C = 50K and D = 300K.
d) Draw the block of memory diagram using First Fit strategy to show the placement of the block requested. (4M)

450 K
50 K
200 K
50 K
270 K
100 K
200 K
500 K
270 K
150 K
400 K
Balance
Block Size

ii) What is the total size of internal fragmentation? (1M)
200K + 100K + 50K = 350K

iii) What is the total size of the external fragmentation? (1M)
200K + 100K + 50K + 270K = 620K

iv) Distinguish between internal fragmentation and external fragmentation. (4M)

External Fragmentation | Internal Fragmentation | * Occurs when the first free block of memory is insufficient for the next program to use. * It is dynamic memory allocation

You May Also Find These Documents Helpful

  • Powerful Essays

    NT1430 Lab2 Joy Brewer

    • 989 Words
    • 4 Pages

    4. What is a Process? A process is the execution of a command by Linux (they can communicate with each other) What Utility provides communication between processes where output of one process provide input for another? pipe…

    • 989 Words
    • 4 Pages
    Powerful Essays
  • Satisfactory Essays

    Homework Week 2

    • 743 Words
    • 3 Pages

    c. Design an algorithm in pseudocode to solve this problem. Make sure to include steps to get each input and generate each output.…

    • 743 Words
    • 3 Pages
    Satisfactory Essays
  • Good Essays

    Unit 16 Ao1

    • 529 Words
    • 3 Pages

    All programs are written to do something, their purpose may be to perform a calculation or to run a computer game, but all programs will perform a task, also known as a process. All programs take the stricter of input, process to output. Th input includes user controls such as keyboard, mouse, game controller, voice and so on. It will also include data from the user, computer or other programs.…

    • 529 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    It 240 Appendix F

    • 301 Words
    • 2 Pages

    |RAM |RAM is short for Random Access Memory and is a type of memory that is accessed |…

    • 301 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Nt1310 Unit 3 Os

    • 1341 Words
    • 6 Pages

    +• Synchronization: With multiple active processes having potential access to shared address spaces or shared I/O resources, care must be taken to provide effective synchronization. Synchronization is a facility that enforces mutual exclusion and event…

    • 1341 Words
    • 6 Pages
    Good Essays
  • Good Essays

    Random-access-memory (RAM) is a very important specification of the computer. By ensuring you have enough RAM, the faster your system processes, you can store more data, and allow more programs to run at the same time. As the OS allows the different task to complete for the processor, the RAM is used as temp storage, when the processor no longer needs them the OS clears it. Virtual memory is the hard drive space borrowed to use if there isn’t enough…

    • 580 Words
    • 3 Pages
    Good Essays
  • Good Essays

    Revision Gcse Ict

    • 1310 Words
    • 6 Pages

    * Memory: RAM (random access memory), the higher the RAM the more programs you can access and open at once.…

    • 1310 Words
    • 6 Pages
    Good Essays
  • Satisfactory Essays

    Inch and Lt

    • 1077 Words
    • 5 Pages

    c. Design an algorithm in pseudocode to solve this problem. Make sure to include steps to get each input and generate each output.…

    • 1077 Words
    • 5 Pages
    Satisfactory Essays
  • Good Essays

    National Cranberry

    • 620 Words
    • 3 Pages

    3. Recall the definition of a capacity bottleneck from Module 1. Identify the potential capacity bottleneck(s) in the…

    • 620 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    A. Program Design – Following the directions in the assignment, clearly write up your problem design in this section and comment your pseudocode.…

    • 467 Words
    • 2 Pages
    Satisfactory 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
  • Satisfactory Essays

    Sheet01

    • 1045 Words
    • 5 Pages

    1. Find the total amount of the memory in units requested, for each of the following CPUs, given the size of the address buses: a) 16-bit address bus. (in K) b) 24-bit address bus. (in megs) c) 32-bit address bus. (in megabytes and gigabytes) d) 48-bit address bus. (in megabytes, gigabytes, and terabytes)…

    • 1045 Words
    • 5 Pages
    Satisfactory Essays
  • Good Essays

    it320 assignment 1-3

    • 1779 Words
    • 8 Pages

    8. Which of the following is not a feature of a file system that might be used with a hard disk drive? ()…

    • 1779 Words
    • 8 Pages
    Good Essays
  • Good Essays

    Week 1 Homework

    • 843 Words
    • 5 Pages

    c. Design an algorithm in pseudocode to solve this problem. Make sure to include steps to get each input and generate each output.…

    • 843 Words
    • 5 Pages
    Good Essays
  • Powerful Essays

    Output and Average Age

    • 1584 Words
    • 7 Pages

    1 a) Write the problem statements as of what is needed to solve this problem.…

    • 1584 Words
    • 7 Pages
    Powerful Essays

Related Topics