The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
Elementary,Middle School,High School,College,University,PHD
| Teaching Since: | Apr 2017 |
| Last Sign in: | 103 Weeks Ago, 3 Days Ago |
| Questions Answered: | 4870 |
| Tutorials Posted: | 4863 |
MBA IT, Mater in Science and Technology
Devry
Jul-1996 - Jul-2000
Professor
Devry University
Mar-2010 - Oct-2016
I need 2 assignment done for operating system. one is code and other one is 2 page paper.Â
Â
Â
Assignment 1
We know that Access Lists are a used to implement Access Matrices.
Consider this Access List:
Users File 1 File 2 User A RWX - -- User B R-X RW- User C - -X RWX Where the access rights are R (Read), W(Write) and X(Execute)
Write a program in C to simulate the following scenarios:
1. User A tries to execute File 2
2. User B tries to read both files
3. User C tried to write to File 1 Assignment 2
An operating system acts as an interface between the hardware devices connected to the
system and the software applications that use these devices. These hardware devices need
to communicate with the system by sending signals either through a wired or a wireless port.
The operating system then transfers control of the CPU to the hardware device.
In this written assignment, write a minimum of 2 page paper covering the following:
a. Compare and contrast polling and interrupts, listing their functions, advantages and
disadvantages.
b. State your opinion on which interrupts work better - hardware or software.
c. Assuming that you are designing an operating system, explain with reasons, the type of
interrupts you would use in your system.