Skip to main content

Posts

Showing posts from November, 2020

Write a note on real time OS.

  Write a note on real time OS. Ans. In real time operating system , job is to be completed within the rigid time constraints otherwise job loses its meaning. A real time system functions correctly only if it return the correct result within its time constraints Thus, in a real tome system , the correctness of the computation not only depends upon the logical correctness of the but also upon the time at which the result is produced. A real time system is often used as a central device in a dedicated applications like fuel-injection system, robotics, air- traffic control, medical imaging systems, systems that control scientific  experiment, industrial control system and weapon systems .  

Service provided By An Operating System.

  List of five service provided by an operating system. Explain how  each provides convenience to users?     The main purpose of operating system is to provide environment for the execution of programs. Thus an operating system provides certain services to program and the users of those programs. However , different operating system can provide different set of service. Some of the basis services provided by operating system are: 1.         Program execution ·          Operating system provides a convenient environment where users can run their programs ·          The operating system performs memory allocation to programs, load them into appropriate location so that they can execute. The users need not to worry about all these tasks.   2.         I/O Operation ·        ...

Security

  S ecurity Thus securing a system involves following measures :                   1.        Preventing unauthorized access i.e. hiding the information from unauthorisation users.   2.        Protection the system from malicious damage or misuse. Such intential misuse can be of the following kinds :   ·          Theft of information ·          Unauthorized modification of data ·          Unauthorized destruction of data   3.        Protection the system against accidental misuse.   4.        The term security is often associated with protection with however, there is a difference between them. Protection is defined as guarding the user information against use...

Protection and security

  Protection and security Protection in computer system   ·           In the system with contiguous memory allocation,    protection is usually accomplished by the use of limit registers. Each program    is assigned a specific limit in term of address space . whenever any reference is made to an instruction of the limit register is checked to ensure that reference is within the bound of program otherwise the access to memory is denied. ·           In paging system, protection is achieved by the use of a page table. This page table list all the pages that a program can access. ·           In addition the table store access rights such as read, write or execute for each individual page. ·           In a system that uses segmentation, protection is accomplished by the use of segment ...
 C omparison between real time and time sharing operating system P rotection and s ecurity  • Protection refers to a mechanism for controlling the access of program s processes, or users to the resources defined by computer system. • The concept of protection came with the advent of multiprogramming where several processes compete for the use of CPU. • the purpose was to confine each users program to its assigned areaof memory so that the programs cannot interface and harm each other. • Protection in main memory is particularly important because of address translation. The purpose of protection is to allow concurrently running process to share the common physical address space. • Protection also ensure that only process that have gained proper authorization from the operating system can operate on memory segment , the CPU, files and other resources.

Multi threading operating system

  Multi threading  operating system ·           Multi threading is a technique in which a process, executing an application is divided into threads that can run concurrently ·           A thread is a dispatch able unit of work. It includes    a processor context and its own data area for sack . ·           A thread execute sequentially and is interruptible so that the processor can turn to another thread. ·           Thus, a thread represents a light weight process and is the smallest unit of CPU utilization it is like a mini process. ·           A process, on other hand is a collection of one or more threads and associated system resources ·           A thread is not a process by itself. Cannot run on...

Real-time system

  R eal-time system ·           In a real time operating system, a job is to be completed within the    rigid time constraints otherwise job loses its meaning. ·           A real time system function correctly only if it returns the correct result within its time constraints ·           Thus, in a    real-time system, the correctness of the    computation not only depends upon the logical correctness of the computation but also upon the time at which the result is produced. R eal-time system In a real time system various functions like process scheduling, memory management, I/O management and file  management are performed as follows : 1.         Process scheduling  . the real time system uses priority based pre-emptive scheduling. each process is assigned a certain level of ...

Distributed system

  Distributed system ·           A distributed system is a collection of processor located in geographical dispersal physical location. ·           In this system, the workhold is distributed or divided between two or more computers that are linked together by communication network . that is the different processors communicate using communication links, such as telephone lines and buses3 ·           The various processors do not share memory, clock ,or peripheral devices instead each processors has its local memory. ·           The purpose of distributed system is to provide an efficient and convenient environment for sharing of resources. ·           Some example of distributed operating system are amoeba, angle, chorus, much, alpha kernel. ·   ...

Time Sharing System and its Requirements

  Time sharing  system ·           Time sharing refers to the allocation of computer resources in a time dependent fashion to several program simultaneously ·           A time sharing system has many user terminals that are connected to same computer simultaneously. Using these terminal, different users can work on a system at the same time ·           Thus, it uses multi programming with a special CPU scheduling among all the last one, and then again beginning from the first one ·           In time sharing system, the CPU time is divided among all the users on schedule basis. ·           It release the CPU under any of the following three conditions: 1.         When the allotted time slice expires. 2.    ...