YOUR SUBJECT CS604 Operating SystemsChange subject ↗
PRACTICE AT YOUR OWN PACE

CS604 practice questions

Think through the options before revealing the answer. Use the term filter to focus your revision.

200 questions
CS604 · Final-term only#80

___________ is a piece of code in a cooperating process in which the process may updates shared data (variable, file,
database, etc.).

  1. A
    ?Critical analysis
  2. B
    ?Critical section (Page 100)
  3. C
    ?Critical path
  4. D
    ?Critical code
Show correct answer

Correct answer: B. ?Critical section (Page 100)

Check community answers against your course notes.Question permalink ↗
CS604 · Final-term only#79

n-process critical section problem can be solved by using

  1. A
    ?The bakery algorithm (Page 105)
  2. B
    ?Deterministing modeling
  3. C
    ?Analytic evaluation
  4. D
    ?None of above
Show correct answer

Correct answer: A. ?The bakery algorithm (Page 105)

Check community answers against your course notes.Question permalink ↗
CS604 · Final-term only#78

A parent process calling __________ system call will be suspended until children process terminates.

  1. A
    ?wait click here for detail
  2. B
    ?fork
  3. C
    ?exit
  4. D
    ?exec
Show correct answer

Correct answer: A. ?wait click here for detail

Check community answers against your course notes.Question permalink ↗
CS604 · Final-term only#77

OS helps manages the following except

  1. A
    ?Application software
  2. B
    ?Bus speed of the system Click here for detail
  3. C
    ?Memory
  4. D
    ?Virtual memory
Show correct answer

Correct answer: B. ?Bus speed of the system Click here for detail

Check community answers against your course notes.Question permalink ↗
CS604 · Final-term only#76

Preemptive ----------------scheduling is sometimes called shortestremaining-time-first scheduling.

  1. A
    ?First-Come-First-Served (FCFS)
  2. B
    ?Round-Robin
  3. C
    ?Sorted Job First (SJF) (Page 85)
  4. D
    ?Priority
Show correct answer

Correct answer: C. ?Sorted Job First (SJF) (Page 85)

Check community answers against your course notes.Question permalink ↗
CS604 · Final-term only#75

The Shortest-Job-First Scheduling algorithm can be

  1. A
    ?Preemptive only
  2. B
    ?non-preemptive only
  3. C
    ?preemptive or non-preemptive. (Page 85)
  4. D
    ?None of the given options
Show correct answer

Correct answer: C. ?preemptive or non-preemptive. (Page 85)

Check community answers against your course notes.Question permalink ↗
CS604 · Final-term only#74

First-Come, First-Served (FCFS) is a --------------scheduling algorithm.

  1. A
    ?preemptive
  2. B
    ?non-preemptive (Page 83)
  3. C
    ?both preemptive and non- preemptive
  4. D
    ?none of the given options
Show correct answer

Correct answer: B. ?non-preemptive (Page 83)

Check community answers against your course notes.Question permalink ↗
CS604 · Final-term only#73

The time it takes for the dispatcher to stop one process and start another running is known as the-----------.

  1. A
    ?Dispatch latency (Page 82)
  2. B
    ?Scheduling
  3. C
    ?Context switching
  4. D
    ?None of the given options
Show correct answer

Correct answer: A. ?Dispatch latency (Page 82)

Check community answers against your course notes.Question permalink ↗
CS604 · Final-term only#72

You can display all of the signals supported by your system, along with their numbers, by using the -----------
command

  1. A
    ?<Ctrl-A>
  2. B
    ?fg
  3. C
    ?jobs
  4. D
    ?kill -l (Page 69)
Show correct answer

Correct answer: D. ?kill -l (Page 69)

Check community answers against your course notes.Question permalink ↗
CS604 · Final-term only#71

A_____ is an abstract key for accessing a file.

  1. A
    ?File descriptor click here for detail
  2. B
    ?Input Redirection
  3. C
    ?Output Redirection
  4. D
    ?FIFO
Show correct answer

Correct answer: A. ?File descriptor click here for detail

Check community answers against your course notes.Question permalink ↗