Escrito por estudiantes que aprobaron Inmediatamente disponible después del pago Leer en línea o como PDF ¿Documento equivocado? Cámbialo gratis 4,6 TrustPilot
logo-home
Document preview thumbnail
Vista previa 4 fuera de 38 páginas
Examen

CS-C191 ITEC 2211 OS for Programmers Comprehensive OA 2025 (With Solns)

Document preview thumbnail
Vista previa 4 fuera de 38 páginas

CS-C191 ITEC 2211 OS for Programmers Comprehensive OA 2025 (With Solns)CS-C191 ITEC 2211 OS for Programmers Comprehensive OA 2025 (With Solns)CS-C191 ITEC 2211 OS for Programmers Comprehensive OA 2025 (With Solns)

Vista previa del contenido

CS – C191 ITEC 2211 Operation Systems for
Programmers

Comprehensive Objective Assessment (Qns &
Ans)

2025


1. Which scheduling algorithm prevents starvation by increasing
the priority of waiting processes over time?


a) First-Come, First-Served
b) Shortest Job First
c) Priority Scheduling
d) Aging
ANS: d) Aging
Rationale: Aging gradually increases the priority of waiting
processes to prevent starvation.
©2025

,2. In distributed systems, what protocol ensures that all nodes
agree on a transaction's outcome even in case of failures?


a) Token Ring
b) 2-Phase Commit
c) Time-Sliced Scheduling
d) RPC Chaining
ANS: b) 2-Phase Commit
Rationale: The 2-Phase Commit protocol ensures atomic
transaction commits across distributed nodes.


3. Which of the following is NOT a primary goal of virtual
memory?


a) Simplified programming
b) Increased execution speed by eliminating paging overhead
c) Efficient utilization of main memory
d) Protection and isolation among processes
ANS: b) Increased execution speed by eliminating paging
overhead


©2025

,Rationale: Paging overhead is a cost of virtual memory, not a
benefit.


4. Consider a UNIX system implementing demand paging. What
could cause a process to experience thrashing?


a) Having more frames than needed
b) Frequent page faults due to insufficient frames
c) High CPU burst times
d) Context switching
ANS: b) Frequent page faults due to insufficient frames
Rationale: Thrashing occurs when frequent page faults cause
excessive swapping.


5. Which synchronization primitive is most suitable to prevent
race conditions when several threads update a shared counter?


a) Barrier
b) Mutex
c) Condition Variable
d) Spinlock
ANS: b) Mutex
©2025

, Rationale: Mutexes ensure mutual exclusion for critical sections.


6. What is the primary purpose of the 'inode' structure in UNIX
file systems?


a) Storing the file's content
b) Storing metadata about a file, including pointers to its data
blocks
c) Allocating disk sectors on demand
d) Managing network file sharing
ANS: b) Storing metadata about a file, including pointers to its
data blocks
Rationale: Inodes contain file metadata and pointers, but not the
file content itself.


7. Which of the following best explains the role of the OS in
deadlock detection?


a) It uses the Banker's algorithm to allocate resources safely.
b) It ignores deadlocks, leaving them to be resolved by users.
c) It preempts resources whenever possible.
d) It periodically checks the resource allocation graph for cycles.
©2025

Información del documento

Subido en
3 de mayo de 2025
Número de páginas
38
Escrito en
2024/2025
Tipo
Examen
Contiene
Desconocido
$12.99

¿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.
EmilioOchieng
4.1
(24)
Vendido
148
Seguidores
17
Artículos
4032
Última venta
3 meses 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