in Digital Logic
509 views
0 votes
0 votes
A input function can take values {0,1,2,4,6,7} and the output can take {0,2,4,6}.

Then how many bits (lines) are required for input and output ?

My doubt is: Since only 4 different states are required to be represented (for output) , so why not use only 2 bits?
in Digital Logic
509 views

2 Comments

I think 3 bits are required
0
0
it is just a combinationation circuit.

last output will be 6, represented as 110 in 3 bits.
0
0

1 Answer

0 votes
0 votes
Answer:

Bits required for input : 3 bits

Bits required for output : 3 bits.

 That's it.

2 Comments

Does the question mean how many bit are required to represent input and output?

0
0

yes. Plz re-read line in the question :

Then how many bits (lines) are required for input and output ?

0
0