OS Question Answers

Question answers of the operating system syllabus


Sort Answer type Questions-

(2022-23 KCS 401)

  1. Define two main functions of an operating system.
    ANS wel come to the number world

  2. Explain the principal advantages of multiprogramming.

  3. Define the term busy waiting.

  4. Define semaphore and its types.
    ANS A semaphore is a synchronization mechanism used in Concurrent programming to cintrol access to shared resources by multiple processes or threads. It is essentially a variable or abstract data type is used to solve critical section problems and to achieve process synchronization in multi-processing environments.

    A semaphore S is an integer variable that, apart from intilization, is accessed only through two standard atomic operations: wait() ans signal(). The wait() operation was originally termed P (from the Dutch proberen, "to test"), signal() was originally called V (from verhogen, "to increase"). The defination of wait() is as follows:

    wait(S) {
      while (S <= 0)
        ; // busy wait
      S--;
    }

    The defination of signal() is as follows:

    signal(S) {
      S++;
    } 
  5. Explain starvation problem and its solution.

  6. Explain internal and external fragmentation.

  7. Explain thrashing and locality of reference.

  8. Distinguish between physical and logical address space of a process.

  9. Explain various operations associated with a file.

  10. Explain tree level directory structure.

(2021-22 KCS 401)

  1. Define Operating system and mention its major functions.
  2. Briefly define the term Real Time Operating System.
  3. What dou mean by Concurrent Processes?
  4. Define Seek time and Latency time.
  5. What do we need Scheduling?
  6. What are the Performance Criteria in CPU Scheduling?
  7. Explain the Logical address space and Phusical address diagrammatically.
  8. Explain in brief about the Multiprogrmming with fixed partitions.
  9. What do you mean by the safe state and an unsafe state?
  10. What do you mean by the I/O Buffering?

(2018-19 RCS 401)

  1. Describe the typical elements of the process control block.
  2. What are the various scheduling criteria for CPU scheduling?
  3. What is the main function of the memory-management unit?
  4. Define seek time and latency time.
  5. Define SCAN and C-SCAN scheduling algorithms.
  6. What is a safe state and an unsafe state?
  7. Explain the logical address space and physical address space diagrammatically.