3i Infotech Papers: Sample Questions 698 - 698 of 1245

Examrace Placement Series prepares you for the toughest placement exams to top companies.

Question number: 698

» Basic CS » Operating System

Essay Question▾

Describe in Detail

List out some reasons for process termination.

Explanation

Image of the process termination

Image of the Process Termination

Image of the process termination

  • Normal completion

    • Process completes and releases the CPUs.

  • Time limit exceeded:

    • Process runs longer than the specified total time limit.

    • A number of possibilities for the type of time are measured.

  • Memory unavailable

    • A process requires more memory that system fails to provide.

  • Bounds violation:

    • Process tries to access a memory location it is not allowed access.

  • Protection error

    • Uses a resource that it is not allowed to use.

  • Arithmetic error:

    • Process issues an invalid instruction and needs to terminate.

  • Time overrun

    • Process exceeds the allowed time waiting for a resource.

    • Process fails to release a resource in specified time.

  • I/O failure:

    • A process attempts to use a non-functional I/O device.

  • Invalid instruction:

    • Process attempts to execute an invalid instruction (likely from an incorrect memory address).

  • Privileged instruction:

    • Process tries to execute an instruction reserved only for OS.

  • Data misuse:

    • A piece of data used by the process is wrong or not initialized.

  • Operator or OS intervention:

    • The operator or the operating system has terminated the process- for example due to deadlock.

  • Parent termination.

    • Parent process requests termination of child process.

    • In addition, when parent is terminated, child process is also terminated.