Answer:
Highest
Explanation:
A interrupt request / IRQ is in which instructions are sent to Cpu and uses an interrupt handler to run distinct program . Hardware interrupts are used to manage occurrences such as obtaining modem or network card information, important presses, or mouse motions.
- Interrupt request 0. – it is a system timer (can not be altered)
- Interrupt request 1 – keyboard controller (can not be changed)
- Interrupt request 2 – cascaded IRQ 8–15 signals (any device configured to use IRQ 2 will genuinely use IRQ 9)
- Interrupt request 3 – serial port 2 controller
- Interrupt request 4 – serial port 1 controller
- Interrupt request 5 –parallel port 2 and 3
- Interrupt request 6 - floppy disk controller
- Interrupt request 7 –parallel port 1. If a printer is not present, it is used for printers or for any parallel port. It can also possibly be shared with a secondary sound card with cautious port management.
As interrupt number increases priority level decreases, Priority level 0 is the highest priority level .
Answer:
printStars(35);
Explanation:
public class Question {
public static void main(String args[]) {
printStars(35);
}
public static void printStars(int numberOfStars){
for(int i = 1; i <= numberOfStars; i++){
System.out.print("*");
}
System.out.print("\n");
}
}
Answer:
(a) yes, this protocol allows only serializable schedules for transactions as due to this the system maintains it's consistency. As in this protocol a unique transaction id is being assigned and with the help of that transaction id the system would be able to identify the process which has taken place in what particular order. For example, in case of bank transfers
balance = 1000 transaction id 100
write ADD 200 transaction id 101
write SUB 1100 transaction id 102
write ADD 900 transaction id 103
in here with the help of transaction id we can check which operation has happened in which order, if not then some operation will not happen like 102 immediately after 100 and skipping 101
(b) the modified version of this protocol would be to also consider the time of transaction and take this factor in the consideration
Answer:
Parallelism
Explanation:
Parallelism:- It is a linguistic device.It is basically the use of components that are similar in their meaning ,sound or construction.So in the statement by Reverend Jesse Jackson .The statement uses words that sound similar and the statements have similar construction.
So we conclude that the answer is parallelism.