12.07.2015 Views

ACTIVIDAD 1 UNIDAD 2 - McGraw-Hill Interamericana de España SL.

ACTIVIDAD 1 UNIDAD 2 - McGraw-Hill Interamericana de España SL.

ACTIVIDAD 1 UNIDAD 2 - McGraw-Hill Interamericana de España SL.

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>ACTIVIDAD</strong> 5 <strong>UNIDAD</strong> 2Nombre: ............................................................................ Fecha: .....................Apellidos: .......................................................................... Curso: .....................Tres procesos A, B y C, solicitan la atención <strong>de</strong> la UCP. Los tiempos ociclos <strong>de</strong> UCP que necesitan respectivamente para completarse son: 4, 3y 2. Representar gráficamente la gestión que realizará la UCP si usa losalgoritmos Round-Robin y FCFS, en los siguientes casos:a) El or<strong>de</strong>n <strong>de</strong> llegada <strong>de</strong> A, B y C se produce en los ciclos: 1, 0 y 3respectivamente.PROCESOCICLO DECICLOSCICLOCICLOLLEGADATOTALESINICIALFINALDE CPUA 1 4 2B 0 3 1C 3 2 4b) El or<strong>de</strong>n <strong>de</strong> llegada <strong>de</strong> A, B y C se produce en los ciclos: 2, 1 y 0respectivamente.PROCESOCICLO DECICLOSCICLOCICLOLLEGADATOTALESINICIALFINALDE CPUA 2 4 3B 1 3 2C 0 2 1<strong>McGraw</strong>-<strong>Hill</strong>/<strong>Interamericana</strong>Activida<strong>de</strong>s • Sistemas Operativos y Lenguajes <strong>de</strong> Programación


<strong>ACTIVIDAD</strong> 6 <strong>UNIDAD</strong> 2Nombre: ............................................................................ Fecha: .....................Apellidos: .......................................................................... Curso: .....................Explica el concepto <strong>de</strong> tiempo compartido. Si N procesos: P 1 , P 2 ,........, P N ,necesitan tiempos <strong>de</strong> ejecución: t 1 , t 2 ,........, t N , respectivamente. Sinconsi<strong>de</strong>rar el ciclo inicial 0, en el que no hay ningún proceso enejecución, ¿podríamos saber cuántos ciclos <strong>de</strong> UCP serían necesariospara completarlos todos totalmente?. ¿Depen<strong>de</strong>rá <strong>de</strong>l algoritmo <strong>de</strong>planificación usado?, ¿porqué?.<strong>McGraw</strong>-<strong>Hill</strong>/<strong>Interamericana</strong>Activida<strong>de</strong>s • Sistemas Operativos y Lenguajes <strong>de</strong> Programación


<strong>ACTIVIDAD</strong> 7 <strong>UNIDAD</strong> 2Nombre: ............................................................................ Fecha: .....................Apellidos: .......................................................................... Curso: .....................Representar gráficamente la gestión que realizará la UCP si usa losalgoritmos Round-Robin y FCFS, en los siguientes casos:a)PROCESOCICLO DECICLOSCICLOCICLOLLEGADATOTALESINICIALFINALDE CPUA 1 4 2B 4 3 5C 5 4 6D 2 2 3E 6 5 7b)PROCESOCICLO DECICLOSCICLOCICLOLLEGADATOTALESINICIALFINALDE CPUA 3 5 4B 6 1 7C 2 4 3D 1 5 2E 4 2 5<strong>McGraw</strong>-<strong>Hill</strong>/<strong>Interamericana</strong>Activida<strong>de</strong>s • Sistemas Operativos y Lenguajes <strong>de</strong> Programación


<strong>ACTIVIDAD</strong> 8 <strong>UNIDAD</strong> 2Nombre: ............................................................................ Fecha: .....................Apellidos: .......................................................................... Curso: .....................Deducir <strong>de</strong> la siguiente representación gráfica <strong>de</strong> procesos:• Ciclo <strong>de</strong> llegada.• Ciclos <strong>de</strong> CPU que consumen.• Ciclo inicial.• Ciclo final• Ciclos <strong>de</strong> espera.Ciclos totales <strong>de</strong> CPU para la terminanción <strong>de</strong> pr<strong>McGraw</strong>-<strong>Hill</strong>/<strong>Interamericana</strong>Activida<strong>de</strong>s • Sistemas Operativos y Lenguajes <strong>de</strong> Programación

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!