Explore BrainMass

Explore BrainMass

    Interrupts

    Interrupts can happen often over the course of a program execution. They are not always due to system failures and may be added in consciously by the programmer as a benchmark or other form of check. In essence, an interrupt is a signal sent to a processor from either hardware or software that tells the processors that there is an event occurring which requires its urgent attention. In response, the processor will stop executing the instructions in its current thread of activity, save that state so it may return to it after, and begin running an interrupt handler program designed to deal with such events.

    There are two main kinds of interrupts that can be signalled:

    • Hardware interrupts

    Hardware interrupts are signals that originate from an external device to the processor such as a disk controller, mouse, etc. An easy example of a hardware interrupt is pressing a keyboard key. This sends a signal to the processor that it has received user input to consider, even if the program is written in a way that pressing a key will do nothing. Hardware interrupts like that are synchronous, meaning they can occur in the midst of instruction execution. Initiating a hardware interrupt is called an interrupt request.

    • Software interrupts

    Software interrupts are originated by an exceptional condition in the processor itself (known as a trap or exception) or a certain instruction fed into it that triggers an interrupt when executed. The former is frequently used by programmers to handle errors and and special events within their program that could be triggered during its execution. These kinds of interrupts work much like function calls; they point to a new set of instructions to carry out before normal activity can be resumed. A common example use of such an interrupt is a request for service from a device driver or other low-level system software device.

    © BrainMass Inc. brainmass.com April 19, 2024, 5:24 am ad1c9bdddf

    BrainMass Solutions Available for Instant Download

    Circuit switching and Packet switching

    Cite two examples of a circuit switch and packet switch environment. Base one example on a circuit switch and the other on a packet switch. Describe the trade-off between the two technologies and the reason why packet switching is more appropriate for the Internet.

    Web Design Class

    Some multimedia can be difficult to view on a mobile device due to screen size or bandwidth limitations. Find two articles that discuss considerations and new developments that will enable multimedia on a site to be viewed effectively on a mobile device. What advice would you give a site designer considering what multimedia elem

    Example Website With Bad Web Design

    1. Find a website with obvious usability issues (good or bad). 2. Discuss addressing why you think the site you selected is usable or not. Be sure to include the URL of the website you are referring to.

    CIS Risk Management

    What types of risks exist outside the organization that must be considered in developing a business continuity plan?

    Interrupt Driven I/O vs. Polled I/O

    In an 8-hour interval, an operator controls systems with 60 commands on the average, entered through a keyboard. a. Processor scans keyboard every 100 ms. Give check counts in an 8 hours period. b. If processor uses interrupt-driven I/O, how much does the processor save in fraction of its visits to the keyboard?

    Preemptive Priority Queuing

    In the enclosed figure, the sequence of departed packet is: 1, 3, 2, 4, and 5. What will be the sequence if preemptive priority queuing is used instead?

    Concept of a Signal

    When a child process is fork()ed, a parent may wait for the successful completion of the child via the wait() service (or one of its variants) so that the return result of that application can be read from the process descriptor block. If the parent does not perform a wait() operation on the child process after it terminates

    Instance scenarios use case and base use case

    Please see attached for more detail and correct the base use case. --- Write brief description of instance scenarios Parent Use case name: Order book - instance name - Environmental conditions and assumptions - Inputs - Instance flow description

    DFD Diagram

    8:00: Alfred requests that Calvin promise to weld ten bodies for him that day. Calvin agrees to do so. ? 8:30: Alfred requests that Calvin accept the first body, Calvin agrees, and the first body arrives. Calvin starts welding it and promises Alfred to notify him when it is ready for the next body. ? 8:45: Brenda requests that C

    Create an ERD Diagram

    8:00: Alfred requests that Calvin promise to weld ten bodies for him that day. Calvin agrees to do so. ? 8:30: Alfred requests that Calvin accept the first body, Calvin agrees, and the first body arrives. Calvin starts welding it and promises Alfred to notify him when it is ready for the next body. ? 8:45: Brenda requests

    Creating Case Diagrams,

    8:00: Alfred requests that Calvin promise to weld ten bodies for him that day. Calvin agrees to do so. ? 8:30: Alfred requests that Calvin accept the first body, Calvin agrees, and the first body arrives. Calvin starts welding it and promises Alfred to notify him when it is ready for the next body. ? 8:45: Brenda reques