¡GoConqr estrena diseño! Cuéntanos qué te parece.

Test

Operating Systems Part 2

Matthew Warner 18 preguntas

Hacer el test

Este test tiene tiempo límite, así que se abre en el reproductor de siempre.

Preguntas del test (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. AVerdadero
    2. BFalso
  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

Información

Descripción
Test sobre Operating Systems Part 2, creado por Matthew Warner el 03/10/2015.
Idioma
English
Visitas
2
Valoración
Aún sin valoraciones
Valora este test
Valora este test

Escríbenos

¿Sobre qué es tu mensaje?

¿Qué te parece el nuevo diseño?

¿Te gusta?