Preview

Os Assignment

Good Essays
Open Document
Open Document
1231 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Os Assignment
OS ASSIGNMENT-1

Q1. In a multiprogramming and time-sharing environment, several users share the system simultaneously. This situation can result in various security problems. a. What are two such problems? b. Can we ensure the same degree of security in a time-shared machine as in a dedicated machine? Explain your answer?

Ans1: (a) Stealing or copying a user 's files; writing over another program 's (belonging to another user or to the OS) area in memory; using system resources (CPU, disk space) without proper accounting; causing the printer to mix output by sending data while some other user 's file is printing.

(b)
Probably we cannot assure the same degree of security in a time shared machine as in a dedicated machine, since any protection scheme devised by a human can also be broken -- and the more complex the scheme is, the more difficult it is to be confident of its correct implementation.

Q2. Which of the functionalities listed below need to be supported by the operating system for the following two settings: (a) handheld devices and (b) real-time systems? a. Batch programming b. Virtual memory c. Time sharing

Ans2:
For hand held systems, the operating system needs to provide virtual memory, but does not need to provide time-sharing.

For real-time systems, the operating system needs to support virtual memory and time sharing in a fair manner.

Batch programming is not necessary in both settings.

Q3. Describe the differences between symmetric and asymmetric multiprocessing. What are three advantages and one disadvantage of multiprocessor systems?

Ans3:
Symmetric processing treats all processors as equals; I/O can be processed on any of them.

Asymmetric processing designates one CPU as the master, which is the only one capable of performing I/O; the master distributes computational work among the other CPUs.

|Advantages

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

    ISDS 550 PS6

    • 438 Words
    • 2 Pages

    2. Discuss the pros and cons of consolidating data in central data center facilities versus the distributed data storage arrangement it replaced.…

    • 438 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Nt1310 Unit 3 Os

    • 1341 Words
    • 6 Pages

    +Ability: Operating system should permit effective, development, texting, and introduction to new system function without interfering with service…

    • 1341 Words
    • 6 Pages
    Good Essays
  • Good Essays

    Memory management is an important characteristic of an operating system. Main memory is divided into two parts one for resident programs, and the other for the program currently in use. The user part must be subdivided to accommodate multiple processes (Stallings, 2012). When a few processes are in the memory then much of the time all of the processes will have to wait for input /output and the processor will be idle. According to Stallings (2012),. The requirements that memory management is supposed to satisfy are Relocation, Protection, Sharing, Logical organization, and Physical…

    • 573 Words
    • 3 Pages
    Good Essays
  • Good Essays

    11. An OS’s capability to run more than one application or process at the same time is referred to which of the…

    • 2490 Words
    • 10 Pages
    Good Essays
  • Good Essays

    3. Describe a use for an operating system. You can pick any one you wish.…

    • 816 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    Scholarship Essay

    • 269 Words
    • 2 Pages

    The computer age presents wonderful opportunities, and any research that promotes the facile use of PC or network systems will help advance this cause. For this reason, I would dedicate my year of research to improvements in the design of central processing…

    • 269 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    (4 points) (TRUE/FALSE) For each of the following thread/process state transitions, whether the transition is legal, (a) Change from thread/process state BLOCKED to thread state RUNNING.…

    • 382 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    In a lockstep execution, a particular vehicle mode should correspond to other vehicle modes or certain states of specific system functions or components. In a synchronous execution, vehicle modes and function/component states are synchronized frequently with each other. In an asynchronous execution, vehicle modes and function/component states work independently and have no demands on state agreement among each other. One effective architectural solution for regulating accesses to shared actuation and computation resources is to introduce arbitration servers. For example, Server- Based Scheduling [8] is a kind of share-driven scheduling scheme that allows the isolation of temporal aspect of applications and thereby promotes dynamic reconfiguration in regards to the management of shared resources (e.g., task and network…

    • 6716 Words
    • 27 Pages
    Powerful Essays
  • Satisfactory Essays

    Process Synchronization

    • 778 Words
    • 4 Pages

    consumer-producer problem that fills all the buffers. We can do so by having an integer count that keeps track of the number of full buffers. Initially, count is set to 0. It is incremented by the producer after it produces a new buffer and is decremented by the consumer after it consumes a buffer.…

    • 778 Words
    • 4 Pages
    Satisfactory Essays
  • Powerful Essays

    In virtualization, there are several virtual copies of a physical resource, and the access to the resource is usually multiplexed in a time-sharing manner. On the other hand, real-time computing expects deterministic patterns of execution. Resource sharing will increase the degree of uncertainty [26]. Therefore, it is preferred to minimize the usage of shared resources in real-time computing. It is still possible to support real-time computing in a virtualization environment. Theoretically, as long as the system does not exceed the maximum utilization bound, it can guarantee no real-time constraints will be violated. However, it is too difficult to determine the exact bound for an arbitrary virtualization…

    • 1061 Words
    • 5 Pages
    Powerful Essays
  • Satisfactory Essays

    To introduce the notion of a thread — a fundamental unit of CPU utilization that forms the basis of…

    • 1334 Words
    • 6 Pages
    Satisfactory Essays
  • Good Essays

    Priority Interrupt

    • 2015 Words
    • 9 Pages

    In a typical system number of I/O devices are connected to the system. Each of the devices is equally capable of producing the interrupt to talk to CPU and transfers the data. The first task of the interrupt handler is to identify the source of the request and the time it originates. Sometime it also happens that the requests generated are simultaneous. In such cases system has to decide which one to be served first.…

    • 2015 Words
    • 9 Pages
    Good Essays
  • Better Essays

    OSEK is basically a German Term which stands for “Open systems and the corresponding interfaces for the Automotive Electronics in Motor Vehicle Distributed” [1]. This source is available for everyone and produced specification for three main components which are Operating System (OS), Network Management (NM) and Communication for Automotive embedded systems to increase and improve the Software Portability and Reusability. This document only focuses on the OSEK operating system.…

    • 2496 Words
    • 10 Pages
    Better Essays
  • Better Essays

    The computer industry and its products continue to undergo dynamic change. Software development continues to lag behind hardware, and its high cost is offsetting the savings provided by hardware.…

    • 935 Words
    • 4 Pages
    Better Essays