• Join over 1.2 million students every month
  • Accelerate your learning by 29%
  • Unlimited access from just £6.99 per month

State two advantages and two disadvantages of a layered operating system.

Extracts from this document...

Introduction

CCM 3070Y:\svn\trunk\engine\docs\working\acumen3\85822.doc

Coursework 1

Question 1

State two advantages and two disadvantages of a layered operating system.

1).

-  Advantages of layered operating systems are:

  1. It is decomposable and therefore effects separation of concerns and different abstraction levels
  2. It allows good maintenance, where you can make changes without affecting layer interfaces

- Disadvantages of layered operating systems are:

  1. It is difficult to exactly assign of functionalities to the correct and appropriate layer
  2. Because of having too many layers, performance of the system is

degraded

Question 2

a. Give definitions for: turnaround time, throughput, processor utilisation

b. When might a context switch occur? What exactly is saved? Why?

c. In the presence of asynchronous interrupts, even the most innocent

    looking program can produce mysterious results. If concurrency can

    produce subtle bugs, why use it?

2).

a. Turnaround time: - is the time taken between the submission and complete

                                 execution of a process, which includes the actual running      

                                 time and waiting time for accessing the resources

Throughput:

...read more.

Middle

b. A context switch occurs when a thread releases the processor, and whereby

    the task/process of the front of the ready queue becomes the new active

    task. The execution context of the previous thread has to be saved so that

    the thread can be used later. Mainly, the program counter and the

    execution stack associated with the executing thread is saved, so that the

    context of a new thread can be restored.

c. We use concurrency because it allows multiple users to share a machine and

    programming is made easier by breaking a problem into simple pieces.

    Moreover, concurrency also provides other advantages such as timesharing,

    parallel processing, overlapping computation with Input/Output and solution

    for larger problems.

Question 3

List the responsibilities in UNIX of:        a. the shell        b. the kernel

3).

a. Responsibilities of the shell in UNIX:

        - to provide a command line interface (CLI)

        - to perform Input/Output redirection

        - to perform pathname substitution

        - to perform parameter/variable substitution

...read more.

Conclusion

Question 6

A computer systems uses segmentation and paging. When a segment is in memory, some words are wasted on the last page. A segment of size s will have s/p pages of size p. How do the page table size and the last page wastage each vary with page size? Find by calculation or otherwise the page size which will give the least overhead.

6).

Bibliography & References

Books

J. S. Swift, “Virtual Machinges II”, ©2002, School of Computing Science

Silberschatz, A., Galvin, P.B., and Gagne, G., Applied Operating Systems, Concepts, 1st Edition, J.Wiley and Sons, 2001

Tanenbaum, A. S., Modern Operating Systems, 2nd Edition, Prentice Hall, 2001

Websites

http://216.239.37.100/search?q=cache:eouvIOpZiiwC:www.ics.uci.edu/~muccini/ics123/LectureNotes/3.SAStyle_6.pdf+advantages+and+disadvantages+of+a+layered+operating+system&hl=en&ie=UTF-8

http://www.its.bldrdoc.gov/fs-1037/dir-037/_5439.htm

http://www.cim.mcgill.ca/~franco/OpSys-304-427/lecture-notes/node39.html

http://www.cs.colorado.edu/~nutt/OSAMP/StudentMtls/deadlock.html

Gasthurie Kanagachandran                 2035883

...read more.

This student written piece of work is one of many that can be found in our University Degree Computer Science section.

Found what you're looking for?

  • Start learning 29% faster today
  • 150,000+ documents available
  • Just £6.99 a month

Not the one? Search for your essay title...
  • Join over 1.2 million students every month
  • Accelerate your learning by 29%
  • Unlimited access from just £6.99 per month

See related essaysSee related essays

Related University Degree Computer Science essays

  1. What are the advantages and disadvantages of using an internal consultant as opposed to ...

    Client may complain little or no time to devote to the potential opportunities that could underpin the company's future. Here, external consultants can be the answers to an urgent need for outside help. External consultants not deviated by immediate daily operational pressures will certainly remain more focused on the investigating project.

  2. Information systems development literature review. Since the 1960s Methodologies, Frameworks, Approaches and CASE ...

    enabling the reader to analyse and explore the Methodologies discussed. A critical stance has been undertaken to outline the above providing an analytical approach to convey this information. Usefulness: SSM recognizes an alternative paradigm identifying the importance of individuals within an organisation and the complexity of human interaction.

  1. Unix Shell Programming

    Enter an integer number: 27 The number is not a prime number. -:PROGRAM TO CHECK A NUMBER WHEATHER IT IS AN ARMSTRONG NUMBER OR NOT:- SOURCE CODE echo Enter a number: read num ct = 'expr $num|wc -c ' ct = ' expr $ct - 1 ' i=0 a =

  2. BeOS : The Free Multimedia Operating System

    Further developments over the years included multi user systems and multi tasking. The graphical user interface was virtually the last component to be developed which forms and integral part of any modern operating system, Ideas like memory management, multi tasking , user management, security, networking, multimedia became accepted norms of any operating system available today.

  1. TOTAL QUALITY MANAGEMENT SYSTEM

    For initiating and implementing TQM in an organization five pragmatic guidelines should be looked out; 1. Determine the real current environment. This important assessment requires management to determine how their people perceive the environment. Management beliefs and employee perceptions may be worlds apart.

  2. Contents Page

    3.3 To carry out in depth investigation for the feasibility of the suggested solution. 3.4 To explore the horizon for alternative solutions and relevant assistance. 4.0 Overview of the Company: Jones Boots Maker Company began in 1857 in Bayswater in London.

  1. Distributed Computing

    Transparent and semi-transparent checkpointing systems (Tannenbaum and Litzkow) hide the details of checkpointing and restoration of saved states from the users, but are not portable. Non-transparent checkpointing systems (Geist et al.) involves the users to make some modifications to their programs but are highly portable across systems. Checkpointing can also be implemented at the kernel level or user-level.

  2. My aim is to develop and provide a proposal to the Surgery of a ...

    Textbooks * Own knowledge * Workshop and lecture notes From the internet site many of the members of the group had got information on examples of a feasibility study. From the textbook we had got information about how to complete an appendix, and how to cite references.

  • Over 160,000 pieces
    of student written work
  • Annotated by
    experienced teachers
  • Ideas and feedback to
    improve your own work