Quiz submission record for quiz4-1-2 at Mon Jul 12 20:59:26 2004: Your Answer for Question 1: If two D flip-flops were hooked up end-to-end and the wire that connected them had no delay, the second flip-flop might have some problems capturing the "correct" value from the first flip-flop. Looking at the first flip-flop, the delay of Q taking on D's value after the rising clock edge is the clk-to-q delay. This Q is the second flip-flop's D input. Looking at the second flip-flop, if the first flip-flop's clk-to-q delay was smaller than the necessary hold time for the second flip-flop, it would not capture the correct value from the first flip-flop. Your Answer for Question 2: 1) Any attempt to recreate artificial intelligence would require a finite state machine because the next step would depend on what was "learned" in the previous steps plus whatever is currently happening. 2) Gambling machines at casinos require finite state machines to calculate when to "give" the player a win (depending on when the last win was) and how much, depending on the initial bet. 3) Complex encryption algorithms may also require a finite state machine. An example would be the Enigma machine used by the Germans in World War 2 to encrypt messages. Although it encoded letters one by one, the number of encoded letters changed the gears occassionally which influenced later encodings. Your unique submission ID is quiz4-1-2-cs61c-cj-1089691166-452.