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 · Midterm#10

Each process must first request permission to enter its critical section. The section of code implementing this
request is called the _____

  1. A
    ?entry section
  2. B
    ?Critical Section
  3. C
    ?remainder section
  4. D
    ?None of all these
Show correct answer

Correct answer: A. ?entry section

Check community answers against your course notes.Question permalink ↗
CS604 · Midterm#9

The interval from the time of submission to the time of completion is the

  1. A
    Turnaround time
  2. B
    Waiting time
  3. C
    Response time
  4. D
    None of all these
Show correct answer

Correct answer: A. Turnaround time

Check community answers against your course notes.Question permalink ↗
CS604 · Midterm#8

You can create a threads by using the pthread_create() call.

  1. A
    ?True
  2. B
    ?False
Show correct answer

Correct answer: A. ?True

Check community answers against your course notes.Question permalink ↗
CS604 · Midterm#7

Typically the execlp system call is used after a fork system call.

  1. A
    True
  2. B
    False
Show correct answer

Correct answer: A. True

Check community answers against your course notes.Question permalink ↗
CS604 · Midterm#6

A solution to the critical section problem must satisfy the following requirements

  1. A
    Progress
  2. B
    Mutual exclusion
  3. C
    Bounded Waiting
  4. D
    All of these
Show correct answer

Correct answer: D. All of these

Check community answers against your course notes.Question permalink ↗
CS604 · Midterm#5

In ________addressing, the recipient is not required to name the sender.

  1. A
    Symmetric
  2. B
    Asymmetric
  3. C
    Both symmetric and asymmetric
  4. D
    None of the given options
Show correct answer

Correct answer: B. Asymmetric

Check community answers against your course notes.Question permalink ↗
CS604 · Midterm#4

The process id returned to the child process after successful fork system call execution is

  1. A
    0
  2. B
    1
  3. C
    2
  4. D
    3
Show correct answer

Correct answer: A. 0

Check community answers against your course notes.Question permalink ↗
CS604 · Midterm#3

__________ commands in Linux is used to copy file

  1. A
    is
  2. B
    cp
  3. C
    mv
  4. D
    mkdir
Show correct answer

Correct answer: B. cp

Check community answers against your course notes.Question permalink ↗
CS604 · Midterm#2

_________ command to resume the execution of a suspended job in the foreground

  1. A
    fg
  2. B
    bg
  3. C
    jobs
  4. D
    kill
Show correct answer

Correct answer: A. fg

Check community answers against your course notes.Question permalink ↗
CS604 · Midterm#1

Semaphore is a ..... solution to the sychoronization problems.

  1. A
    Operating system
  2. B
    Software
  3. C
    None of the given
  4. D
    Hardware
Show correct answer

Correct answer: A. Operating system

Check community answers against your course notes.Question permalink ↗