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

Test

CS1550 Midterm Prep

Court Kowaluk 107 preguntas

Hacer el test

Este test tiene tipos de pregunta que se abren en el reproductor de siempre.

Preguntas del test (107)

  1. 1A Mutex is safer to use for mutual exclusion than a counting semaphore because a Mutex can only be up()’ed by the same process that down()’ed it.
    1. AVerdadero
    2. BFalso
  2. 2Making a system call results in a voluntary transition from user mode to kernel mode.
    1. AVerdadero
    2. BFalso
  3. 3A zombie process switches to the terminated state immediately after being in the waiting state.
    1. AVerdadero
    2. BFalso
  4. 4Assuming lock is a shared integer, initialized as lock = 0;, if two processes execute the instruction TestAndSet(&lock) in parallel at the same time on two CPU cores, both processes will get the same return value from the instruction
    1. AVerdadero
    2. BFalso
  5. 5A semaphore that is used to enforce mutual exclusion should be initialized to 0
    1. AVerdadero
    2. BFalso
  6. 6When the following program runs, the fork system call will be called exactly two times by
    each process.
    int main(){
    fork();
    fork();
    }
    1. AVerdadero
    2. BFalso
  7. 7Copy-on-Write is a mechanism that avoids unnecessary memory copying when fork() is immediately followed by an exec() call by the child process.
    1. AVerdadero
    2. BFalso
  8. 8All child processes created using fork() will eventually get adopted by the init process
    1. AVerdadero
    2. BFalso
  9. 9Zombie processes may waste system resources because the operating system does not completely free up their resources until their parents wait() on them or exit().
    1. AVerdadero
    2. BFalso
  10. 10A process that has multiple threads also has multiple stacks and multiple heaps.
    1. AVerdadero
    2. BFalso

Información

Descripción
Computer Science Test sobre CS1550 Midterm Prep, creado por Court Kowaluk el 20/02/2024.
Idioma
English
Visitas
16
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?