Question

How many bits, unsigned integer, are required to represent a: 100states b: 10000stated c;100000stated

How many bits, unsigned integer, are required to represent

a: 100states

b: 10000stated

c;100000stated

Homework Answers

Answer #1
Number of bits, unsigned integer, are required to represent n states = floor(log2(n)) + 1

a:
Answer = floor(log2(n)) + 1
       = floor(log2(100)) + 1
       = floor(6.643856189774724) + 1
       = 6 + 1
       = 7 bits


b:
Answer = floor(log2(n)) + 1
       = floor(log2(10000)) + 1
       = floor(13.287712379549449) + 1
       = 13 + 1
       = 14 bits


c:
Answer = floor(log2(n)) + 1
       = floor(log2(100000)) + 1
       = floor(16.609640474436812) + 1
       = 16 + 1
       = 17 bits

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
Part a) For an unsigned number that represent binary with n bits, what is the range...
Part a) For an unsigned number that represent binary with n bits, what is the range of value for that? Part b) How many rows appear in a truth table with n input variables? Part c) How many memory location are there if the memory address is n bits?
How many ways are there to represent a positive integer n as a sum of (a)...
How many ways are there to represent a positive integer n as a sum of (a) k non-negative integers? (b) k positive integers? Note: the order of summation matters. For example, take n = 3, k = 2. Then the possible sums in (a) are 3+0, 2+1, 1+2, 0+3
How many bits are required to address the program memory of PIC16F887? What is PCLATH? For...
How many bits are required to address the program memory of PIC16F887? What is PCLATH? For PC absolute addressing, describe how to write assembly program to jump to code located in a different program memory page.
Convert the following C code to assembler: a) unsigned char A, B, C; if (A >...
Convert the following C code to assembler: a) unsigned char A, B, C; if (A > B) C = A; elseif (A == B) C = 0; else C = B; b) unsigned char A, B; A = 228; B = A/4; c) unsigned char A, B; A = 228; B = A/5;
SRAM with 4k words of 32 bits each. How many address bits are needed to address...
SRAM with 4k words of 32 bits each. How many address bits are needed to address these words? 1. Assuming that the central memory array has the same number of rows as it has columns, how many rows are there? 2.How many of address bits are used by the row decoder 3.How many words are stored in each row 4. How many are used by column decoder
In x86-64 Windows Assembly Language. Program that adds two unsigned integer values and produces formatted console...
In x86-64 Windows Assembly Language. Program that adds two unsigned integer values and produces formatted console output using the 'C' library function printf(). The two unsigned integer values are input by the user from the keyboard at runtime using the 'C' library function scanf().
How many address lines (bits in the address) and I/O lines (bits in the actual data)...
How many address lines (bits in the address) and I/O lines (bits in the actual data) are needed for 2K X 16 word-addressable memories? Could you show the steps on how to solve this? thank you!
Huffman Code Scenario: There are 4 symbols (A, B, C and D) in a special language....
Huffman Code Scenario: There are 4 symbols (A, B, C and D) in a special language. The frequencies of the symbols in a text written in the language are: A 40, B 20, C 10, and D 5. Answer the following questions. 1. How many bits do you need to represent the symbols? 2. What is the total number of bits needed in order to encode the entire text? 3. Construct the Huffman tree based on the scenario (paste the...
Many computers use one byte (8 bits) of data to represent each letter of the alphabet....
Many computers use one byte (8 bits) of data to represent each letter of the alphabet. Suppose there are 25 million words in a book that we want to store in an area of just 1 mm2and the average word contains 6 letters. What is the byte density of this storage (bytes/in2)? What is the bit density of this storage (bits/in2)? What area is needed to record one byte? one bit? Is this storage superior or inferior to common information...
Why are magnetic devices considered as effective means of repre- senting the binary values? How many...
Why are magnetic devices considered as effective means of repre- senting the binary values? How many bits are required to uniquely represent each of the following? a. 4 items b. 16 items c. 32 items d. 128 items e. 512 items f. 2048 items Assuming there are 366 days in a year, how many bits would be needed to store each day of the year? Why?