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

If a system is not in a safe state, there can be no deadlocks.

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

Correct answer: B. ? False (Page 137)

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

Wrong use of wait and signal operations (in context with semaphores) can cause _________ problem(s).

  1. A
    ? Mutual Exclusion
  2. B
    ? Deadlock
  3. C
    ? Bounded Waiting
  4. D
    ? All of the given options are correct
Show correct answer

Correct answer: D. ? All of the given options are correct

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

Which of the following is correct definition for wait operation?

  1. A
    ? wait(S) { (Page 111)
    while(S<=0)
    ;// no op
    S--;
    }
  2. B
    ? wait(S) {
    S++;
    }
  3. C
    ? wait(S) {
    while(S>=0)
    ;// no op
    S--;
    }
  4. D
    ? wait(S) {
    S--;
    }
Show correct answer

Correct answer: A. ? wait(S) { (Page 111)
while(S<=0)
;// no op
S--;
}

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

Which part of the computer system helps in managing the file and memory management system?

  1. A
    ? Operating System (Page 5)
  2. B
    ? Device Drivers
  3. C
    ? Application Software
  4. D
    ? Hardware
Show correct answer

Correct answer: A. ? Operating System (Page 5)

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

The ___________ method requires each file to occupy a set of contiguous blocks on the disk.

  1. A
    ? Contiguous Allocation (Page 236)
  2. B
    ? Linked Allocation
  3. C
    ? Indexed Allocation
  4. D
    ? None of the given options
Show correct answer

Correct answer: A. ? Contiguous Allocation (Page 236)

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

When a _____link is created, a directory entry for the existing file is created

  1. A
    ? Soft
  2. B
    ? Hard (Page 227)
  3. C
    ? Soft or Hard
  4. D
    ? None of the given options
Show correct answer

Correct answer: B. ? Hard (Page 227)

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

_______ is a way to establish a connection between the file to be shared and the directory entries of the users
who want to have aces to this file.

  1. A
    ? Link (Page 231)
  2. B
    ? Directory
  3. C
    ? Common Group
  4. D
    ? Access Permission
Show correct answer

Correct answer: A. ? Link (Page 231)

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

The address generated by the CPU, after any indexing or other addressing-mode arithmetic, is called a --------
address, and the address it gets translated to by the MMU is called a ---------address.

  1. A
    ?Virtual, physical click here for detail
  2. B
    ? Hexadecimal, Binary,
  3. C
    ? Valid, invalid
  4. D
    ? Physical, Virtual
Show correct answer

Correct answer: A. ?Virtual, physical click here for detail

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

A page table needed for keeping track of pages of the page table is called --------------

  1. A
    ? 2-level paging
  2. B
    ? Page directory (Page 173)
  3. C
    ? Page size
  4. D
    ? Page table size
Show correct answer

Correct answer: B. ? Page directory (Page 173)

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

Physical memory is broken down into fixed-sized blocks, called----------- and Logical memory is divided into
blocks of the same size, called -----------

  1. A
    ? Frames, pages (Page 165)
  2. B
    ? Pages, Frames
  3. C
    ? Frames, holes
  4. D
    ? Holes, segments
Show correct answer

Correct answer: A. ? Frames, pages (Page 165)

Check community answers against your course notes.Question permalink ↗