100% de satisfacción garantizada Inmediatamente disponible después del pago Tanto en línea como en PDF No estas atado a nada 4,6 TrustPilot
logo-home
Examen

CPEN 4700 Exam 3 Review Questions And 100% Correct Answers

Puntuación
-
Vendido
-
Páginas
32
Grado
A+
Subido en
24-10-2024
Escrito en
2024/2025

CPEN 4700 Exam 3 Review Questions And 100% Correct Answers...

Institución
CPEN 4700
Grado
CPEN 4700











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

Escuela, estudio y materia

Institución
CPEN 4700
Grado
CPEN 4700

Información del documento

Subido en
24 de octubre de 2024
Número de páginas
32
Escrito en
2024/2025
Tipo
Examen
Contiene
Preguntas y respuestas

Temas

Vista previa del contenido

CPEN 4700 Exam 3 Review Questions And
100% Correct Answers


interrupts

Exceptions caused by hardware devices.



Interrupts must be handled transparently

The currently running process must not "notice" that an interrupt occurs, except for the
time lag involved in servicing it.



The possible problem in code for interrupts

It could occur after a computation determines condition code/status flag bits, but before
a condition is evaluated.



Interrupt Request (IRQ)

There is a hard-wired connection from the device to an interrupt request pin in the CPU
chip. Bringing the signal to the active level initiates a(n) ____________.



atoms True



(T/F) The system will respond to the interrupt request if interrupts are currently disabled
and if the request is of sufficient priority.

False




priority scheme

Any system that has more than one level (category) of hardware interrupts is going to

,have to have some ____________ in place.



maskable interrupt

can be disabled, (and later re-enabled) under software control, (normally
enabling/disabling interrupts is a privileged operation.).



nonmaskable interrupt

Cannot be disabled. The highest-priority interrupt in the system.




The CPU reset pin can be thought of as a _____________, but the desired next state is an
inialized system rather than resumption of the previously running code.

nonmaskable interrupt

1 multiple choice option




watchdog timers

It provides a constantly running count register, often based on the system clock during
the time that the system is operating. It can count up through a maximum value or down
through a minimum value. Software operating in the system should periodically restart
the counter before the counter reaches its terminal value.



For a watchdog timer, if a catastrophic software or hardware failure should occur such
that the system locks up,.

the periodic restarting of the timer will not occur. Here the counter enters the terminal
value-reaches the threshold value at the upper or lower count limit-which indicates that
a watchdog timeout has occurred. The logic recognizes the arrival of the watchdog
timer counter to its terminal state and initiates a machine reset accordingly.



Nonvectored interrupts

,just provide a fixed location in memory where the interrupt handler code should go;
when an interrupt occurs, set the PC to point there. Done.



vectored interrupts

The CPU, having accepted an interrupt at a particular priority level, expects the
interrupting device to identify itself by placing its device number onto the system bus.
This number is then used in an interrupt vector table to point to a separate handler.
Highly flexible solution at the expense of some additional complexity in the hardware.

Autovectcored interrupts

CPU generates the vector number internally, solely based on the priority level of the
interrupt. Rest of the process is same as vectored interrupt.



interrupt vector table

Each table entry contains starting location of interrupt handler specific to
corresponding interrupt source.



FIQ in ARM

It does not save the CPU state, and uses additional registers instead. The service
routine for ____________ is situated right after the end of the look up table, so program
flow can continue with no branch necessary.



traps (system call)

Machine instructions that can simulate the occurrence of a hardware interrupt from a
device.



True/False Traps can be conditional or unconditional.

true



True/False Traps can be conditional but not unconditional.

False

, Because interrupts and traps are handled in a higher privilege level than application
programs,

user code can request services - such as I/O, memory allocation, file access, etc., - that
only can be directly accessed with system privileges.

In general,

Not only do traps enable a program to obtain service from routines that need a higher
privilege level to execute, but

they also imply that the program does not need to know the location of the code
providing a particular service.




Since traps occur at predictable points within program execution.

it may not be necessary to save the complete machine state.



faults

more serious than traps because they result from something the running process has
done wrong (or that cannot be be completed without help from the OS).



In the event of an error or fault.

The running process is suspended so that the error condition can be addressed.




If a fault or error is serious and/or cannot be resolved.

The OS may terminate the fault processing.

Page or segment fault

Name some faults or errors

1. Division by zero

2. Undefined op code
$10.49
Accede al documento completo:

100% de satisfacción garantizada
Inmediatamente disponible después del pago
Tanto en línea como en PDF
No estas atado a nada


Documento también disponible en un lote

Conoce al vendedor

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.
Easton West Virgina University
Seguir Necesitas iniciar sesión para seguir a otros usuarios o asignaturas
Vendido
507
Miembro desde
2 año
Número de seguidores
221
Documentos
23216
Última venta
1 semana hace

3.9

112 reseñas

5
53
4
21
3
21
2
7
1
10

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