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
Patty is baking for the holidays. 3/5of her treats are cookies and 1/6of her treats are cupcakes. The rest are brownies. What fr
BartSMP [9]
So the answer would be 7/30 because 3/5 + 1/6 = 23/30 and you add 7 to that and get 30 well that’s what I believe hope this helped
7 0
3 years ago
Please help me with this question!!
KonstantinChe [14]

Answer:

y=8(0.5)^x

Step-by-step explanation:

We can find the value of b, which is the rate. The rate is 0.5 because the y value is consistently going down by 2. A is the first value, which is 8. y=8(0.5)^x

3 0
3 years ago
Question 1<br> If f(x) = (x-1), what is f(-4.2)?
lana66690 [7]

Answer:

-5.2

Step-by-step explanation:

4 0
3 years ago
Find the value of X
kari74 [83]

Answer:

x= 50

Incredibly odd diagram, but interior polygon angles of 4 sides must be 360 in total. 180-130=50.

6 0
3 years ago
Select the correct answer.
eduard

If 30 is half price, then what is full price?

You can set up this problem like this:

30 = x/2

OR

30 = (1/2)x

where x is the full price.

To solve, simply multiply each half by 2:

2(30) = 2((1/2)x)

<u>x = $60</u>

4 0
2 years ago
Read 2 more answers
Other questions:
  • Find the new price for the markdown given. Round to the nearest cent if necessary.
    15·1 answer
  • If 4m=-15, then -12m=45 Name the property.​
    13·1 answer
  • If xy = 1, which is equivalent to x(x – 1)(y + 1)?
    7·1 answer
  • Determine the prime factorization of 24.
    6·1 answer
  • PLEASE HELP ME WITH THIS PLEASEE
    14·2 answers
  • A metric unit of capacity that is equal to one thousandth of a liter is a
    14·1 answer
  • A concert venue can hold up to 2,400 people. 50 tickets are automatically reserved for radio stations to give out. When tickets
    6·1 answer
  • Which of the following number sentences is represented on the number line shown below?
    7·2 answers
  • 101 101 Suppose that Σ ai = -12 and Σ bi = -19. i=1 i=1 Compute the sum. 101 Σ( – 5ai – 12bi) i=1​
    10·1 answer
  • Please help me with this question on my homework. I've been stuck for a while
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!