Digital Electronics - Shift Registers - Discussion
Discussion Forum : Shift Registers - General Questions (Q.No. 15)
15.
A serial in/parallel out, 4-bit shift register initially contains all 1s. The data nibble 0111 is waiting to enter. After four clock pulses, the register contains ________.
Discussion:
4 comments Page 1 of 1.
Desai sravanthi reddy said:
1 decade ago
Wait | Store.
0 1 1 1 |0 0 0 0.
0 1 1 |1 0 0 0 1st clk.
0 1 |1 1 0 0 2nd clk.
0 |1 1 1 0 3rd clk.
|0 1 1 1 4th clk.
Answer 0111.
0 1 1 1 |0 0 0 0.
0 1 1 |1 0 0 0 1st clk.
0 1 |1 1 0 0 2nd clk.
0 |1 1 1 0 3rd clk.
|0 1 1 1 4th clk.
Answer 0111.
Pavankumar said:
9 years ago
Above solution is wrong. In question, they directly said 4-bit register initially contains all 1's so we have to take whole LSB bits has 1, not 0's.
0 1 1 1 |1 1 1 1 .
0 1 1 |1 1 1 1 1st clk.
0 1 |1 1 0 0 2nd clk.
0 |1 1 1 1 3rd clk.
|0 1 1 1 4th clk.
Answer 0111.
@All - correct me if I was wrong.
0 1 1 1 |1 1 1 1 .
0 1 1 |1 1 1 1 1st clk.
0 1 |1 1 0 0 2nd clk.
0 |1 1 1 1 3rd clk.
|0 1 1 1 4th clk.
Answer 0111.
@All - correct me if I was wrong.
(1)
Aniket said:
9 years ago
You are wrong at 2nd clock pulse. It should be 01/1111.
Nandini said:
5 years ago
it is said that all it is 1's first, and the 0111 was entering then,
0111|1111 initial clock,
011|1111 1' st clock,
01|1111 2'nd clock,
0| 1111 3'rd clock.
Empty|0111 4'th clocks,
When there was nothing that means 4'th clock pulses it is 0111.
0111|1111 initial clock,
011|1111 1' st clock,
01|1111 2'nd clock,
0| 1111 3'rd clock.
Empty|0111 4'th clocks,
When there was nothing that means 4'th clock pulses it is 0111.
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers