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#140

Kernel is responsible for scheduling the user level threads.

  1. A
    ?True
  2. B
    ?False (Page 73)
Show correct answer

Correct answer: B. ?False (Page 73)

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

Round Robin algorithm is most suitable for __________.

  1. A
    Time sharing system (Page 88)
  2. B
    Real time systems and batch systems
  3. C
    Running Batch programs
  4. D
    Expert system
Show correct answer

Correct answer: A. Time sharing system (Page 88)

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

_________________ scheduling allows a process to move between queues.

  1. A
    ?Round Robin
  2. B
    ?First Come First Serve
  3. C
    ?Multilevel Feedback Queue (Page 92)
  4. D
    ?Shortest Remaining Time First
Show correct answer

Correct answer: C. ?Multilevel Feedback Queue (Page 92)

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

A Process „A? that has finished working but its parent process has also finished its execution. In this state the process „A?
will be called as _____ process.

  1. A
    ?Child
  2. B
    ?Thread
  3. C
    ?Zombie (Page 42)
  4. D
    ?Fork
Show correct answer

Correct answer: C. ?Zombie (Page 42)

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

_____ system call is used to write to a file or FIFO or any other IPC channel.

  1. A
    ?read
  2. B
    ?write (Page 48)
  3. C
    ?open
  4. D
    ?fork
Show correct answer

Correct answer: B. ?write (Page 48)

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

Swapper is also termed as Short term scheduler.

  1. A
    ?True
  2. B
    ?False (Page 36)
Show correct answer

Correct answer: B. ?False (Page 36)

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

____ command display the status of a process.

  1. A
    ?ls
  2. B
    ?ps (Page 66)
  3. C
    ?gcc
  4. D
    ?cat
Show correct answer

Correct answer: B. ?ps (Page 66)

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

Cooperating processes never share any data, code, memory or state.

  1. A
    ?True
  2. B
    ?False (Page 5)
Show correct answer

Correct answer: B. ?False (Page 5)

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

Using _________system, we can create a new process in Linux.

  1. A
    ?Fork (Page 39)
  2. B
    ? exec
  3. C
    ?wait
  4. D
    ?exit
Show correct answer

Correct answer: A. ?Fork (Page 39)

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

The correct command for compiling C program named program.c in Linux environment is

  1. A
    ?gcc program.c –o FirstPrgram (Page 31)
  2. B
    ?gcc –o FirstProgram program.c
  3. C
    ?gcc –z FirstProgram program.c
  4. D
    ?gcc program.c –m FirstPrgram
Show correct answer

Correct answer: A. ?gcc program.c –o FirstPrgram (Page 31)

Check community answers against your course notes.Question permalink ↗