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

  • Satisfactory Essays

    Nt1310 Unit 1 Study Guide

    • 378 Words
    • 2 Pages

    _____________ is the ability of a central processing unit (CPU) or a single core in a multi-core processor to execute multiple processesor threads concurrently…

    • 378 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Nt1310 Unit 3 Quiz

    • 6337 Words
    • 26 Pages

    10 [Ans] Corrected by buddy by running the program Choice 4 11 Choice 5 12 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - /*question number With every use of release allocated Choice 1 unalloc() Choice 2 dropmem() Choice 3 dealloc() Choice 4 release() Choice 5 free() [Ans] - - - - - - - - 2*/ a memory allocation function, what function should be used to memory which is no longer needed?…

    • 6337 Words
    • 26 Pages
    Good Essays
  • Good Essays

    Nt1210 Chapter 1 Review

    • 1315 Words
    • 6 Pages

    5. This chapter describes the concepts behind how a CPU reads the contents from RAM. Which of the following is true about the process of read data. As described in the chapter?…

    • 1315 Words
    • 6 Pages
    Good Essays
  • 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

    Programs need to store data at some time during the execution of processes. Data is held in variables which are names containers for each piece of data. Each variable must be given a name so it can be referred to again and again throughout the program. It should be something that is recognisable because for example variable 1 would be soon forgotten in a substantial piece of code. Variable names cannot be the same as code words such as print or run.…

    • 529 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
  • 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

    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
  • 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
  • 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
  • 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
  • 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