1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Finger [1]
4 years ago
9

Let A be the set represented by the bitstring 01011011100, let B be the set represented by the bitstring 10110111010. Find the b

itstrings representing Ac, AUB, AnB, and A-E.
Mathematics
1 answer:
iragen [17]4 years ago
3 0

Answer:

Ac = 10100100011

A \cup B = 11111111110

A \cap B = 00010011000

A - B = 100100111010

Step-by-step explanation:

All these operations are bitwise operations.

Ac is the complement of a. So where we have a bit 0, the complement is 1. Where we have a bit 1, the complement is 0. So

A = 01011011100

Ac = 10100100011

The second operation is the union between A and B. This is bitwise(bit 1 of A with bit 1 of B, bit 2 of A with bit 2 of B,...). The union operation is only 0 when it is between two zeros. So:

A = 01011011100

B = 10110111010

A \cup B = 11111111110

The third operation is the intersection between A and B. Again, bitwise. The intersection is only 1 when it is between two bits that are 1. So

A = 01011110100

B = 10110111010

A \cap B = 00010011000

The last operation is the bitwise subtraction between A and B. We start from the least significant bit(the last one). And we have to take care of the borrow operator also, similarly to a decimal subtraction.

We can only borrow from a previous bit 1, and this bit is set to 0

0-0 is 0 with no borrow

1-0 is 1 with no borrow

1 with borrow - 0 is 1 with borrow

1 with borrow - 1 is 1 with no borrow

0-1 is 1 with no borrow

0 with borrow -1 is 0 with no borrow

1-1 is 0 with no borrow

If we arrive at the first bit(the most significant) with a borrow, we must add a 1 at the front of the answer. So

A = 01011110100

B = 10110111010

A - B = 100100111010

You might be interested in
3 times the difference between 37.5 and 24.5
Goryan [66]
39 will be your answer.
6 0
3 years ago
Read 2 more answers
Here!!!!!!!!!!!!!!<br><br>For Kawaii cos 2007<br><br><br>(it needs more words lol.)
Naily [24]

AAAAAAAAAAAAAAAAAA  AAAAAAAAAA A AAAAAAAAA AAAAAAAAAA AAAAAAAAAAA A A A AAAAAAA A A    AAAAA  AAAA.

Step-by-step explanation:

E

8 0
3 years ago
Read 2 more answers
6 3/8 divided by 2 1/8
wariber [46]

Answer:

Your answer should be 3, hope this helps!

6 0
4 years ago
Read 2 more answers
i am stuck on a question and i need help solving it so, this is my question what is 9n-12=3n if someone could help me i would ap
Mamont248 [21]

Answer:

The answer is n=1

Step-by-step explanation:

The steps are in the picture. Hope this helps :)

5 0
3 years ago
Read 2 more answers
On Saturday and Sunday jarrod went running and burned a total of 6475 calories he burned 320 of those calories on Saturday which
nadya68 [22]

Answer:

The answer is B.

Step-by-step explanation:

It is saying that 647.5 calories is the total amount and 320 is a part of it. so when you do 647.5-320, it becomes 327.5 and that is c. You can only do this with the equation that letter B is saying.

3 0
3 years ago
Other questions:
  • What is the volume, in cubic inches, of the cone below?
    6·1 answer
  • The functions u and w are defined as follows. u(x)=-2x-2 w(x)=x^2-2 what’s the value of w(u(4))
    13·1 answer
  • Roger and Trevor went shopping for produce on the same day. They each bought some apples and some potatoes. The amount they boug
    7·1 answer
  • 6. If X is the midpoint of WY, WX = 3x - 1 and<br> WY = 10x - 26, find XY.
    8·1 answer
  • Find the equation (in terms of x) of the line through the points (-2,-1) and (1,-4)
    11·1 answer
  • What’s the answer to this
    5·2 answers
  • What is -1 1/2 + 2 710 =
    9·2 answers
  • Approximately how many centiliters are in 3 quarts?
    11·2 answers
  • Math one question WILL GIVE BRAINLIEST
    6·1 answer
  • Help please i don’t understand this
    13·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!