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
Examen

LSK2601 Assignment 2 Q&A

Puntuación
-
Vendido
-
Páginas
214
Grado
A+
Subido en
15-07-2025
Escrito en
2024/2025

LSK2601 Assignment 2 Q&A In the case of reading from the disk, obviously the caller will have to be blocked (because there are no data for it). What about the case of writing to the disk? - ANSWER-When the process has requested for writing data to the disk, then it all depends on what happens after interrupt. If the calling process gains access back and writes more data, then only the fresh part is written, causing unusual loss. Need the caller be blocking awaiting completion of the disk transfer? - ANSWER-Since the system is maintaining a buffer fro the driver and after interrupt the buffer is written first and then the user data is appended. This means that the data stays secure. Thus, this is not possible. What does the purpose of a system call in an operating system? - ANSWER-How a program requests a service from an operating system's kernel. Condition for fork to fail - ANSWER-If there are no free slots left in the process table. Condition for exec to fail - ANSWER-If the file name given does not exist. Condition for unlink to fail - ANSWER-If the calling process does not have the authority to unlink it. Can the count = write (fd, buffer, nbytes); Call return any value in count other than nbytes? If so, why? - ANSWER-If the call fails, for example because fd is incorrect, it can return −1. It can also fail because the disk is full, and it is not possible to write the number of bytes requested. On a correct termination, it always returns nbytes. Suppose that a 10 MB file is stored on a disk on the same track (track # 50) in consecutive sectors. The disk arm is currently situated over track number 100. How long will it take to retrieve this file from the disk? Assume that moving the arm from one cylinder to the next takes about 1 ms and it takes about 5 ms for the sector where the beginning of the file is stored to rotate under the head. Also, assume that reading occurs at a rate of 100 MB/s. - ANSWER-Size of File = 10 MB...

Mostrar más Leer menos
Institución
APEA PRE PREDICTOR
Grado
APEA PRE PREDICTOR











Ups! No podemos cargar tu documento ahora. Inténtalo de nuevo o contacta con soporte.

Escuela, estudio y materia

Institución
APEA PRE PREDICTOR
Grado
APEA PRE PREDICTOR

Información del documento

Subido en
15 de julio de 2025
Número de páginas
214
Escrito en
2024/2025
Tipo
Examen
Contiene
Preguntas y respuestas

Temas

$11.99
Accede al documento completo:

¿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

Conoce al vendedor
Seller avatar
harrisonwairumbi

Conoce al vendedor

Seller avatar
harrisonwairumbi Black Hills State University
Seguir Necesitas iniciar sesión para seguir a otros usuarios o asignaturas
Vendido
2
Miembro desde
1 año
Número de seguidores
0
Documentos
135
Última venta
8 meses hace

0.0

0 reseñas

5
0
4
0
3
0
2
0
1
0

Documentos populares

Recientemente visto por ti

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