Question

Let U = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}, and let the...

  1. Let U = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}, and let the digits of your ID to be the elements of set A. For example if my ID is 21743911, then set A would be {2,1,7,4,3,9}.
  2. Write the bit string that represents set A above.
  3. Let set B = {2, 3, 5, 6, 7, 10}. Write the bit string that represents this set B.
  4. What is the bit string for the difference of A and B?
  5. What is the bit string for the complement of A?
  6. Use bit strings to find the union and intersection of sets A and B above.
  7. Represent the union and intersection of sets A and B using Venn Diagrams.

Homework Answers

Answer #1

1. Bitsring of set A{1,2,3,4,7,9} is 11 1100 1010

2.Bitstring of set B{2,3,5,6,7,10} is 01 1011 1001

3.Bitstring for the difference of A and B

  • A-B{1,4,9} is 10 0100 0010
  • B-A{5,6,10}is 00 0011 0001

4.Bitstring for the complement of A{1,2,3,4,7,9} is 00 0011 0101

5.Union of A and B(Bitwise OR): 11 1100 1010 V 01 1011 1001 ->11 1111 1011{1,2,3,4,5,6,7,9,10}

Intersection of A and B(Bitwise AND) :11 1100 1010 Λ 01 1011 1001 ->01 1000 1000{2,3,7}

6.

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
4. Let set U = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10,...
4. Let set U = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20} set A = numbers in U that divide into 12 with no remainder, set B = numbers in U that divide into 16 with no remainder, and set C = the numbers in U that divide into 20 with no remainder. a. Made a Venn diagram showing the elements of the sets U, A,...
Set Operations In questions 7 and 8 Let A = {0, 2, 4, 6}, B =...
Set Operations In questions 7 and 8 Let A = {0, 2, 4, 6}, B = {0, 1, 2, 3}, and C = {4, 5, 6}. U = {x∈ℤ| 0≤x≤10} 7. Find (A ∪ B) – C’. 8. Find C ∩ (A’ ⊕ B’) Venn Diagrams Draw Venn diagrams for the following set operations. Show each step and label the sets as well as what the diagram is showing Ex: if the Venn diagram is showing C’, label the rectangle...
Let U = {5, 6, 7, 8, 9, 10, 11, 12, 13, 14}, A = {5,...
Let U = {5, 6, 7, 8, 9, 10, 11, 12, 13, 14}, A = {5, 7, 9, 11, 13}, B = {6, 8, 10, 12, 14}, and C = {5, 6, 8, 9, 12, 13}. List the elements of each set. (Enter your answers using roster notation. Enter EMPTY or ∅ for the empty set.) (a)    Ac ∩ (B ∩ C c) (b)    (A ∪ Bc) ∪ (B ∩ C c) (c)    (A ∪ B)c ∩ C c
let the universal set be U = {1, 2, 3, 4, 5, 6, 7, 8, 9}...
let the universal set be U = {1, 2, 3, 4, 5, 6, 7, 8, 9} with A = {1, 2, 3, 5, 7} and B = {3, 4, 6, 7, 8, 9} a.)Find (A ∩ B) C ∪ B b.) Find Ac ∪ B.
Let p = (8, 10, 3, 11, 4, 0, 5, 1, 6, 2, 7, 9) and...
Let p = (8, 10, 3, 11, 4, 0, 5, 1, 6, 2, 7, 9) and let q = (2, 4, 9, 5, 10, 6, 11, 7, 0, 8, 1, 3) be tone rows. Verify that p = Tk(R(I(q))) for some k, and find this value of k.
Let A = {0, 3, 6, 9, 12}, B = {−2, 0, 2, 4, 6, 8,...
Let A = {0, 3, 6, 9, 12}, B = {−2, 0, 2, 4, 6, 8, 10, 12}, and C = {4, 5, 6, 7, 8, 9, 10}. Determine the following sets: i. (A ∩ B) − C ii. (A − B) ⋃ (B − C)
A:  8   6   5   8   9   5   3   7   9   3   5   7   9   3   6   4  ...
A:  8   6   5   8   9   5   3   7   9   3   5   7   9   3   6   4   5   8   5   3   9 B:  3   7   9   3   5   7   9   6   8   3   5   9   6   7   8   3   7   9   5   2   8 C:  5   9   6   7   8   3   7   9   5   2   8   8   6   5   8   9   5   4   7   8   5 Using the data from the Production Run Population table what type of graph is not appropriate to...
Stem Leaf 2 6 3 0, 7 4 0, 2, 6 5 1, 5, 7, 9,...
Stem Leaf 2 6 3 0, 7 4 0, 2, 6 5 1, 5, 7, 9, 9 6 0, 2, 5, 8 1) standard deviation: 2)Find Five-number summary of the data set 3). Draw a box plot that represents the data set
Pair 1 2 3 4 5 6 7 8 9 10 Medication 7 8 9 5...
Pair 1 2 3 4 5 6 7 8 9 10 Medication 7 8 9 5 6 7 7 8 8 7 Placebo 5 5 7 6 8 7 5 9 3 7 (Note: If you’re going to subtract, choose the order medication - placebo.) A sample of patients with similar weight and age characteristics were put in pairs. One patient in the pair was given medication while the other patient was given a placebo. After a month patients were...
Let S be the universal set, where: S = { 1 , 2 , 3 ,...
Let S be the universal set, where: S = { 1 , 2 , 3 , ... , 18 , 19 , 20 } Let sets A and B be subsets of S, where: Set A = { 2 , 5 , 6 , 10 , 16 , 17 } Set B = { 5 , 6 , 9 , 11 , 15 , 16 , 17 , 18 , 20 } C = { 2 , 3 , 4...