subject

1. Explain the relationship and/or differences between the following concept pairs: A. Synchronous vs. asynchronous.
B. Interrupts vs. polling.
C. Traps vs. interrupts.
2A. Explain which of the following I/O methods is most likely interrupt driven. Why?
A. DMA
B. Polling.
2B. A fast laser printer produces up to 20 pages per minute, where a page consists of 4000 characters. The system uses interrupt-driven I/O, where processing each interrupt takes 50 microseconds. How much overhead will the CPU experience if the output is sent to the printer one character at a time? Would it make sense to use polling instead of interrupts?
3. Assume a mouse generates an interrupt whenever its position changes by 0.1 mm. It reports each such change by placing 2 bytes of data into a buffer accessible by the CPU. At what rate (in kb/s) must the CPU retrieve the data if the mouse moves at a speed of 30 cm/second in order to read all the data?

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 12:20
Usually, when we sniff packets, we are only interested certain types of packets. we can do that by setting filters in sniffing. scapy’s filter use the bpf (berkeley packet filter) syntax; you can find the bpf manual from the internet. set the following filters and demonstrate your sniffer program again (each filter should be set separately): (a) capture only the icmp packet. (b) capture any tcp packet that comes from a particular ip and with a destination port number 23. (c) capture packets comes from or to go to a particular subnet. you can pick any subnet, such as 128.230.0.0/16; you should not pick the subnet that your vm is attached to.
Answers: 3
question
Computers and Technology, 22.06.2019 18:30
All of the following are characteristics that must be contained in any knowledge representation scheme except
Answers: 3
question
Computers and Technology, 22.06.2019 22:50
Assume the existence of a bankaccount class. define a derived class, savingsaccount that contains two instance variables: the first a double, named interestrate, and the second an integer named interesttype. the value of the interesttype variable can be 1 for simple interest and 2 for compound interest. there is also a constructor that accepts two parameters: a double that is used to initialize the interestrate variable, and a string that you may assume will contain either "simple", or "compound", and which should be used to initialize the interesttype variable appropriately. there should also be a pair of functions getinterestrate and getinteresttype that return the values of the corresponding data members (as double and int respectively).
Answers: 2
question
Computers and Technology, 23.06.2019 01:00
Let r be a robotic arm with a fixed base and seven links. the last joint of r is a prismatic joint, the other ones are revolute joints. give a set of parameters that determines a placement of r. what is the dimension of the configuration space resulting from your choice of parameters?
Answers: 3
You know the right answer?
1. Explain the relationship and/or differences between the following concept pairs: A. Synchronous...
Questions
question
Mathematics, 01.07.2019 01:30
question
Arts, 01.07.2019 01:30
question
Mathematics, 01.07.2019 01:30