(a) Suppose each single character stored in a computer uses eight bits. Then cach character is represented by a different sequence of eight 0's and l's called a bit pattern. How many different bit patterns are there? (That is, how many different characters could be represented?) (b) How many bit patterns are palindromes (the same backwards as forwards)? (c) How many different bit patterns have an even number of 1's?

Deromediqm 2022-07-18 Answered
(a) Suppose each single character stored in a computer uses eight bits. Then cach character is represented by a different sequence of eight 0's and l's called a bit pattern. How many different bit patterns are there? (That is, how many different characters could be represented?)
(b) How many bit patterns are palindromes (the same backwards as forwards)?
(c) How many different bit patterns have an even number of 1's?
You can still ask an expert for help

Want to know more about Discrete math?

Expert Community at Your Service

  • Live experts 24/7
  • Questions are typically answered in as fast as 30 minutes
  • Personalized clear answers
Learn more

Solve your problem for the price of one coffee

  • Available 24/7
  • Math expert for every subject
  • Pay only if we can solve it
Ask Question

Answers (1)

Quenchingof
Answered 2022-07-19 Author has 14 answers
Step 1
a) is relatively straight forward. For the first bit, there are 2 possibilities: 1 and 0. For the first two, the possibilities are 11, 10, 01, and 00. 4 in total. You will find that as you continue this trend, the number of combinations equals 2 n where n is the length of the character.
Step 2
b) is similar. A palindrome is the same forwards as backwards. Therefore the last 4 numbers equal the first 4 in reverse order. Now there are only 4 digits to work with. Use the same system in a) as here, just with 4 instead of 8.
Step 3
c) is a bit tricky. For that one, you simply reduce the power by 1. So with an 8 bit binary string with only even amounts of 1s, you would result with 2 n 1 possibilities. In this case, 2 7 .
Not exactly what you’re looking for?
Ask My Question

Expert Community at Your Service

  • Live experts 24/7
  • Questions are typically answered in as fast as 30 minutes
  • Personalized clear answers
Learn more

You might be interested in

asked 2021-08-02
Suppose that A is the set of sophomores at your school and B is the set of students in discrete mathematics at your school. Express each of these sets in terms of A and B.
a) the set of sophomores taking discrete mathematics in your school
b) the set of sophomores at your school who are not taking discrete mathematics
c) the set of students at your school who either are sophomores or are taking discrete mathematics
Use these symbols:
asked 2021-08-18
Discrete Mathematics Basics
1) Determine whether the relation R on the set of all Web pages is reflexive, symmetric, antisymmetric, and/or transitive, where (a,b)R if and only if
I) everyone who has visited Web page a has also visited Web page b.
II) there are no common links found on both Web page a and Web page b.
III) there is at least one common link on Web page a and Web page b.
asked 2021-07-28

Let A, B, and C be sets. Show that (AB)C=(AC)(BC)
image

asked 2021-08-15
How many elements are in the set { 0, { { 0 } }?
asked 2022-07-17
An SSN is a Social Security number.
How many SSNs have digits that sum to 2? How many SSNs have digits that sum to 3?
These are 9 digit numbers with 0-9.
My attempt would be:
200000000, 110000000
Do this multiple times but Im assuming theres a much more simple way and I just cant figure it out.
Any ideas?
asked 2022-07-15
Discrete Math On Recurrence
1. Suppose that a geometric sequence starts with and satisfies the recurrence a n = r a n 1 for every positive integer n.
a) Show that a n = a 0 r
b) Find the 100th number in the sequence 3,6,12,24,48, … .
I know this is a another recurrence problem but not sure now to start with this one.
asked 2022-07-17
Let A = { 0 , 2 , 3 } , B = { 2 , 3 } , C = { 1 , 5 , 9 }, and let the universal set be U = { 0 , 1 , 2 , . . . , 9 }. Determine:
a ) A B b ) A B c ) B A d ) A C e ) A B f ) B A g ) A c h ) C c i ) A C j ) A B

Solve your problem for the price of one coffee

  • Available 24/7
  • Math expert for every subject
  • Pay only if we can solve it
Ask Question