Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

a) A computer interface for a Kawai digital studio piano has eight microswitches

ID: 3863115 • Letter: A

Question

a) A computer interface for a Kawai digital studio piano has eight microswitches that can be set in either the "on" or "off" position. These switches must be set properly for the interface to work. In how many different ways can this group of switches be set?

b) If it takes two minutes to set the switches and test to see if the interface is working properly, what is the longest possible time that it would take to find the proper settings by trial and error?

c) What are some other real-world examples that you can develop that are similar to the ones above?

Explanation / Answer

1. Diff Ways

. It takes 28=256 ..

So 8 Micro Switches Can be set in 256 Different Ways .

2. total time taken is

Ttwo transmit delays + Two propagation delays = ? seconds

2minutes * 256 = 512 minutes + Ttwo transmit delays + Two propagation delays .

For each link, it takes 1 Gigabits/5Kb = 5 micro seconds to transmit the packet on the link, after which it takes an additional 10 micro seconds for the last bit to propagate across the link. Thus, with only one switch that starts forwarding only after receiving the whole packet, the total transfer delay is two transmit delays + two propagation delays = 30 microseconds.

Total = 512M + 30*256 micro sec

Total = 512minutes 768 microseconds

3. Real world Examples

1. Switch Bounce

2. Relay Bounce

3. ESD Protection