Please answer the following discussion in detail: Ring counters and Johnson counters constitute important applications of shift registers. Contrast and compare the operation of a ring counter with that of a Johnson counter. Solution Ring counter- 1.it is a synchronous counter 2.it is costructed from SISO register 3.in ring counter with \'n\' flip-flop maximum used states are \'n\' , unused =2^n-n 4 in ring counter decoding logic is very simple and no hardware is required 5 Duty cycle=100/n% Application 1.SAR type ADC 2.stepper motor 3.To generate waveforms Johnson counter 1.in johnson counter, With n flip-flop maximum used states \'2n\' , unused=2^n-2n 2 Duty cycle =50%(always) at output 3 Lockout may occur when counter is enter in to unused states 4.also known as swich tail conter/walking counter Application 1.as mobies counter 2.creeping counter.