GoConqr has a new look! Let us know what you think.

Quiz

Operating Systems Part 2

Matthew Warner 18 questions

Take the quiz

This quiz has a time limit, so it opens in the usual player.

Questions in this quiz (18)

  1. 1Processes executing concurrently in the operating system may be either [blank_start]independent[blank_end] or [blank_start]concurrent[blank_end] processes
    1. Aindependent
    2. Bconcurrent
  2. 2[blank_start]Independent[blank_end] - It can not affect or be affected by any other process in the system. It does not share data with other processes
    1. AIndependent
  3. 3[blank_start]cooperating[blank_end] - It can affect and be affected by other processes executing in the system. Any process that shares data with another is a cooperating process
    1. Acooperating
  4. 4There are several reasons to provide an environment that allows process cooperation
    1. AInformation sharing
    2. Bcomputation speedup
    3. Cmodularity
    4. Dconnivence
    5. Ecost
  5. 5cooperating processes require an [blank_start]interprocess communication (IPC)[blank_end] mechanism, which allows them to exchange data and information
    1. Ainterprocess communication (IPC)
    2. Bprocess communication (PC)
    3. Cindependent communication (IPC)
  6. 6message passing is useful for smaller amounts of data, where no conflict need to be avoided
    1. ATrue
    2. BFalse
  7. 7a [blank_start]producer[blank_end] process produces information that is consumed by a [blank_start]consumer[blank_end] process
    1. Aproducer
    2. Bconsumer
  8. 8how do we handle producer/consumer processes?
    1. Ashared memory
    2. Bmessage passing
  9. 9[blank_start]unbounded buffer[blank_end] - Places no practical limit on the size of the buffer. The consumer may need to wait for new items, but producers can always produce new items

    [blank_start]bounded buffer[blank_end] - Assumes a buffer of a fixed size, in this case, the [blank_start]consumer[blank_end] must wait if the buffer is empty, and the [blank_start]producer[blank_end] must wait if the buffer is full
    1. Aunbounded buffer
    2. Bbounded buffer
    3. Cconsumer
    4. Dproducer
  10. 10A shared buffer is implemented as a circular array with two logical pointers, in and out. In points to the next free position, and out points to the first full position in the buffer. The buffer is empty if in == out, and the buffer is full when [blank_start]((in + 1) % BUFFER_SIZE == out[blank_end].
    1. A((in + 1) % BUFFER_SIZE == out
    2. Bin == out

Information

Description
Quiz on Operating Systems Part 2, created by Matthew Warner on 03/10/2015.
Language
English
Views
2
Rating
No ratings yet
Rate this quiz
Rate this quiz

Feedback

What is it about?

What do you think of the new look?

How do you like it?