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

The _______ are used for communication between related or unrelated processes on the same system or unrelated
processes on different systems.

  1. A
    ?Pipes
  2. B
    ?BSD Sockets (Page 53)
  3. C
    ?Named pipe (FIFO)
  4. D
    ?None of the given options
Show correct answer

Correct answer: B. ?BSD Sockets (Page 53)

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

The creating process is called a--------------- process while the new processes are called the -------------- of that
process

  1. A
    ?None of the given options
  2. B
    ?Children, parent
  3. C
    ?Parent, children (Page 38)
  4. D
    ?Zombie, single
Show correct answer

Correct answer: C. ?Parent, children (Page 38)

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

Files that start with a -------- in UNIX/Linux directory structure are known as hidden files .

  1. A
    ?. (dot) (Page 28)
  2. B
    ?# ( hash )
  3. C
    ?/ (slash)
  4. D
    ?~ (tilt)
Show correct answer

Correct answer: A. ?. (dot) (Page 28)

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

You can use the ---------command in UNIX to create a directory.

  1. A
    ?rmdir
  2. B
    ?mkdir (Page 29)
  3. C
    ?cp
  4. D
    ?gcc
Show correct answer

Correct answer: B. ?mkdir (Page 29)

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

------------has a hierarchical file system structure.

  1. A
    ?DOS
  2. B
    ?Windows
  3. C
    ?UNIX (Page 25)
  4. D
    ?None of the given options
Show correct answer

Correct answer: C. ?UNIX (Page 25)

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

I MB or 1 megabyte is equivalent to----

  1. A
    ?1024 bytes
  2. B
    ?10242 bytes click here for detail
  3. C

    ?10243 bytes
  4. D
    ?1000000 bytes
Show correct answer

Correct answer: B. ?10242 bytes click here for detail

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

When a process opens its first file explicitly it will get descriptor number _________

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

Correct answer: C. ?3 click here for detail

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

If the fork system call fails, it returns

  1. A
    ?1
  2. B
    ?-1 (Page 40)
  3. C
    ?2
  4. D
    ?0
Show correct answer

Correct answer: B. ?-1 (Page 40)

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

In ________ communication the process which wants to communicate with the other process must explicitly
name the recipient and the sender.

  1. A
    ?Direct (Page 46)
  2. B
    ?Indirect
  3. C
    ?Automatic
  4. D
    ?Self
Show correct answer

Correct answer: A. ?Direct (Page 46)

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

Bounded Buffer is a buffer of ____________ size

  1. A
    ?variable
  2. B
    ?fixed (Page 44)
Show correct answer

Correct answer: B. ?fixed (Page 44)

Check community answers against your course notes.Question permalink ↗