• ¿Documento equivocado? Cámbialo gratis
  • Escrito por estudiantes que aprobaron
  • Inmediatamente disponible después del pago
  • Leer en línea o como PDF
Vender
¿Dónde estudias?
Tu idioma
Document preview thumbnail
Vista previa 3 fuera de 18 páginas
Examen

CSC 415 Operating System Principles Unit 05 Exam Study Guide

Document preview thumbnail
Vista previa 3 fuera de 18 páginas

CSC 415 Operating System Principles Unit 05 Exam Study Guide ...

Vista previa del contenido

CSC 415 Operating System Principles Unit 05
Exam Study Guide


A race condition ______.

Select one:

a. will result only if the outcome of execution does not depend on the order in which
instructions are executed

b. None of the other answers

c. results when several threads try to access the same data concurrently

d. results when several threads try to access and modify the same data concurrently -
ANSWER d. results when several threads try to access and modify the same data
concurrently




Instructions from different processes can be interleaved when interrupts are allowed.

Select one:

True

False - ANSWER True




A nonpreemptive kernel is safe from race conditions on kernel data structures.

Select one:

True

False - ANSWER True

,A solution to the critical section problem does not have to satisfy which of the following
requirements?

Select one:

a. progress

b. atomicity

c. mutual exclusion

d. bounded waiting - ANSWER b. atomicity




A(n) _______ refers to where a process is accessing/updating shared data.

Select one:

a. mutex

b. critical section

c. entry section

d. test-and-set - ANSWER b. critical section




Race conditions are prevented by requiring that critical regions be protected by locks.

Select one:

True

False - ANSWER True




Both the test_ and_set() instruction and compare_and_swap() instruction are executed

, atomically.

Select one:

True

False - ANSWER True




An instruction that executes atomically ____.




Select one:

a. cannot be used to solve the critical section problem

b. executes as a single, uninterruptible unit

c. must consist of only one machine instruction

d. All of the other answers - ANSWER b. executes as a single, uninterruptible unit




A mutex lock ____.




Select one:

a. is not guaranteed to be atomic

b. can be used to eliminate busy waiting

c. is exactly like a counting semaphore

d. is essentially a boolean variable - ANSWER d. is essentially a boolean variable

Información del documento

Subido en
15 de enero de 2026
Número de páginas
18
Escrito en
2025/2026
Tipo
Examen
Contiene
Preguntas y respuestas
$17.49

¿Documento equivocado? Cámbialo gratis Dentro de los 14 días posteriores a la compra y antes de descargarlo, puedes elegir otro documento. Puedes gastar el importe de nuevo.
Escrito por estudiantes que aprobaron
Inmediatamente disponible después del pago
Leer en línea o como PDF

Seller avatar
Los indicadores de reputación están sujetos a la cantidad de artículos vendidos por una tarifa y las reseñas que ha recibido por esos documentos. Hay tres niveles: Bronce, Plata y Oro. Cuanto mayor reputación, más podrás confiar en la calidad del trabajo del vendedor.
Zayla
3.2
(20)
Vendido
160
Seguidores
13
Artículos
18307
Última venta
2 días hace



Por qué los estudiantes eligen Stuvia

Creado por compañeros estudiantes, verificado por reseñas

Calidad en la que puedes confiar: escrito por estudiantes que aprobaron y evaluado por otros que han usado estos resúmenes.

¿No estás satisfecho? Elige otro documento

¡No te preocupes! Puedes elegir directamente otro documento que se ajuste mejor a lo que buscas.

Paga como quieras, empieza a estudiar al instante

Sin suscripción, sin compromisos. Paga como estés acostumbrado con tarjeta de crédito y descarga tu documento PDF inmediatamente.

Student with book image

“Comprado, descargado y aprobado. Así de fácil puede ser.”

Alisha Student

Preguntas frecuentes