0

Operating Systems - 3

Description: test your knowledge on operating system
Number of Questions: 25
Created by:
Tags: semaphore mutual exclusion UNIX TYPES OF UNIX OS BSD UNIX UNIX COMMANDS SHELL PROGRAMMING Semaphores Deadlocks Relocation swap Basic Fundamentals Hardware and Software Computer Basics
Attempted 0/25 Correct 0 Score 0

SRTN stands for

  1. shortest remaining time next

  2. smallest remaining time next

  3. shortest routing time next

  4. shortest remaining task next


Correct Option: A

FCFS stands for

  1. first-come-first served

  2. first-come-fast-served

  3. fast-come-first-served

  4. none of these


Correct Option: A

________ scheduling is an algorithm in which the next job is selected on the basis of the shortest remaining execution time.

  1. First-come first-served

  2. Shortest remaining time next

  3. Time-slice

  4. Priority-based preemptive


Correct Option: B

SJF stands for

  1. smallest job first

  2. smallest job fast

  3. shortest job first

  4. shortest job fast


Correct Option: C

Time slicing is also known as

  1. round robin

  2. raw robin

  3. route robin

  4. none of these


Correct Option: A

RR stands for

  1. round robin

  2. raw robin

  3. route robin

  4. none of these


Correct Option: A

_____ scheduler schedules for executing a ready process by the earliest deadline.

  1. Earliest deadline

  2. Least laxity

  3. Least slack

  4. None of these


Correct Option: A

MLQ stands for

  1. multiple level queues

  2. many level queues

  3. multiple last queues

  4. none of these


Correct Option: A

Inter-process _____ is the exchange of timing signals among concurrent processes.

  1. synchronization

  2. signaling

  3. communication

  4. none of these


Correct Option: B

_____ simulation(s) use(s), as input, a trace of actual events collected and recorded on a real system.

  1. A trace-driven

  2. A self-driven

  3. Both 1 and 2

  4. None of these


Correct Option: A

Inter-process _____ is a set of protocols and mechanisms used to preserve system integrity and consistency.

  1. synchronization

  2. signaling

  3. communication

  4. none of these


Correct Option: A

_____ simulation(s) use(s) a synthetic workload that is artificially generated to resemble the expected conditions in the target system.

  1. A trace-driven

  2. A self-driven

  3. Both 1 and 2

  4. None of these


Correct Option: B

Least laxity scheduler is also known as _____ scheduler.

  1. earliest deadline

  2. least slack

  3. fastest slack

  4. none of these


Correct Option: B

Inter-process _____ is used for exchanging data.

  1. synchronization

  2. signaling

  3. communication

  4. none of these


Correct Option: C

SJF is the _____ version of SRTN.

  1. preemptive

  2. non-preemptive

  3. contiguous

  4. none of these


Correct Option: B

The _____ is a sequence of instructions with a clearly marked beginning and end.

  1. critical section

  2. critical segment

  3. critical part

  4. none of these


Correct Option: A

A single process that temporarily excludes all others from using a shared resource, in order to ensure system's integrity is called the _______.

  1. critical section

  2. mutual exclusion

  3. semaphore

  4. none of these


Correct Option: B

____ decrement(s) the value of its/their argument semaphore.

  1. SIGNAL

  2. WAIT

  3. Both 1 and 2

  4. None of these


Correct Option: B

_____ increment(s) the value of its/their argument semaphore.

  1. SIGNAL

  2. WAIT

  3. Both 1 and 2

  4. None of these


Correct Option: A

____ is another primitive operation of the semaphore

  1. BUSY

  2. HALT

  3. WAIT

  4. None of these


Correct Option: C

A semaphore whose variable is allowed to take on only the values of 0 and 1 is called ____ semaphore.

  1. binary

  2. unary

  3. general

  4. none of these


Correct Option: A

A ____ semaphore may take any integer value.

  1. binary

  2. unary

  3. general

  4. none of these


Correct Option: C

____ instruction(s) is/are intended for direct hardware support of mutual exclusion.

  1. Test and set

  2. Set and test

  3. Both 1 and 2

  4. None of these


Correct Option: A

_____ is one of the primitive operations of semaphore.

  1. SIGNAL

  2. BUSY

  3. HALT

  4. None of these


Correct Option: A

A _____ is a mechanism for mutual exclusion.

  1. critical section

  2. mutual exclusion

  3. semaphore

  4. none of these


Correct Option: C
- Hide questions