Hello, I'm just starting an electronics course and having some serious difficulty(at least for me) working out state diagrams and state transition tables from looking at state table with given conditions!

The question I'm facing a real problem in, is as following:

Input: In every "t"(time) you have bit x(t).

output: In every "t"(time) you have also bit Y(t).

We have given conditions which are:

for every t:

if x[t:t-2]=111 or x[t:t-2]=010

=> Y(t)=1.

else:

Y(t)=0.

questions's parts: (appearing in the attachment below)

http://postimg.org/image/3vf3h5nmh/

Supposing in this question that x(-1)=x(-2)=0.

I think I have part (a) right -

a) The complete values for the state table is all "0".

However.. Parts (c),(b), and (d) have confused me and couldn't solve them properly even don't know how to initialize in solving them,

the challenge part for me is part (b), I dont know how to go from the state table to the state diagram in this pattern of questions! .

I would really appreciate any guidance you guys could offer me, and would really the answers help me in progress more than you imagine, thanks beforehand!.

The question I'm facing a real problem in, is as following:

Input: In every "t"(time) you have bit x(t).

output: In every "t"(time) you have also bit Y(t).

We have given conditions which are:

for every t:

if x[t:t-2]=111 or x[t:t-2]=010

=> Y(t)=1.

else:

Y(t)=0.

questions's parts: (appearing in the attachment below)

http://postimg.org/image/3vf3h5nmh/

Supposing in this question that x(-1)=x(-2)=0.

I think I have part (a) right -

a) The complete values for the state table is all "0".

However.. Parts (c),(b), and (d) have confused me and couldn't solve them properly even don't know how to initialize in solving them,

the challenge part for me is part (b), I dont know how to go from the state table to the state diagram in this pattern of questions! .

I would really appreciate any guidance you guys could offer me, and would really the answers help me in progress more than you imagine, thanks beforehand!.

Last edited: