Solution to Suppose that the universal set is U = {1, 2, 3, 4,5, 6, 7, 8, … - Sikademy
Author Image

Archangel Macsika

Suppose that the universal set is U = {1, 2, 3, 4,5, 6, 7, 8, 9, 10}. Express each of these sets with bit strings where the ith bit in the string is 1 if i is in the set and 0 otherwise.

The Answer to the Question
is below this banner.

Can't find a solution anywhere?

NEED A FAST ANSWER TO ANY QUESTION OR ASSIGNMENT?

Get the Answers Now!

You will get a detailed answer to your question or assignment in the shortest time possible.

Here's the Solution to this Question

a)

\{3,4,5\}=0011100000  (As there are 3 1's which means only 3,4,5 are present in both universal set and subset)

3,4,5 take 3rd, 4th, 5th positions in U, so there are '1's on these positions in bit string


b)

Similarly,

\{1, 3, 6, 10\} = 1010010001

1,3,6,10 take 1st, 3rd, 6th, 10th positions in U, so there are '1's on these positions in bit string

Related Answers

Was this answer helpful?

Join our Community to stay in the know

Get updates for similar and other helpful Answers

Question ID: mtid-5-stid-8-sqid-731-qpid-616