in Digital Logic
743 views
2 votes
2 votes

I think answer would be option d but it is given as option c, how it is option c?

in Digital Logic
743 views

1 Answer

1 vote
1 vote
Best answer

option d is right.

 

selected by

4 Comments

If options are not given then try to get the sequence by applying clocks to the given value,

As here 1010 was given if we apply a clock we will get  0101

and again if we apply a clock to 0101 we will get 1010 and this keeps on repeating.

0
0

@Piyush ####

how $1010$ to $0101$?

when we go backward, we can say it is a left shift

right?

and leftshift gives 1 as result

So, how will it get o and 1 simulteneously?

0
0

@srestha you cannot go backward as if you do left shift one cant predict whether the bit which is going to come at lsb will be 0 or 1 , so the idea of going backward and solving wont be a good option ,

so as in the given question you apply clock  after 1010

1st clock          0101

2nd clock         1010

3rd clock          0101

4th clock          1010

2n-1 clock        0101

2n clock           1010

 

so it is having a sequence by this you could predict what was the content of the register 3 clocks back (Asked in the question)  and this is how we will get 0101 as the answer.

0
0