A control unit has 42 control signals arranged in 6 mutually exclusive groups of 7. If each group is encoded in its own field with one code meaning no signal, how many bits do the control fields need?

Correct answer B. 18

Explanation

Each group needs 7 signal codes plus one for none, which is 8 codes, so 3 bits per field, and 6 fields x 3 bits = 18 bits. A purely horizontal format would use one bit per signal, 42 bits. The answer 24 assumes 4 bits per group, which is only needed when a group has 8 or more signals plus the none code. Encoding mutually exclusive signals shrinks the control word.

Report a problem

Answer checked How we write and check questions

Tip: press A, B, C or D to answer, and N for the next question.

Advertisement

Have a question about this answer?

Your email address will not be published. Required fields are marked *

Links and website addresses are not allowed in comments.