wiz-icon
MyQuestionIcon
MyQuestionIcon
1
You visited us 1 times! Enjoying our articles? Unlock Full Access!
Question

Number of pulses needed to change the contents of a 8-bit up counter from10101100 to 00100111 (right most bit is the LSB) are _______

  1. 123

Open in App
Solution

The correct option is A 123
In a 28 counter, the range would be from 0-255. Hence to go from 10101100(172)10 to 00100111(39)10 the counter has to go initially 172 to 255 and then from 0 to 39. Hence to go from 172 to 255, 255 -172 = 83 clock pulses would be required.
From 255 to 0, again 1 clock pulse would be required.
Then from 0 to 39, 39 clock pulses would be required.
Hence in total 83+1+39 =123 clock pulses would be required.

flag
Suggest Corrections
thumbs-up
4
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Place Values
MATHEMATICS
Watch in App
Join BYJU'S Learning Program
CrossIcon