Question

How many bits it takes to save numbers in a range 0 to 29?

How many bits it takes to save numbers in a range 0 to 29?

Homework Answers

Answer #1

We can calculate the number range which can be represented by the number of bits.

Let us consider that the number of bits required is N.

Now in binary digits there are only 2 representation available i.e 1 and 0.

There by the maximum number represented by the number of bit calculated as 2N-1 in case of unsigned integer.

If the value of N=4, it can represent the range of integers from 0 to 15 as 24-1=15.

If the value of the N=5,it can represent from the range of integer from 0 to 31 as 25-1=31.

There by the number of bits required to represent the range of integers from 0 to 29 in unsigned integer form is 5.

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
What range of numbers encoded using two’s complement representation can be expressed using 5 bits? Provide...
What range of numbers encoded using two’s complement representation can be expressed using 5 bits? Provide your answer in decimal.
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?
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
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!
Using the following information (Machine’s IP=33.32.31.30, Machine’s Netmask=/29, Parent’s Netmask=255.255.240.0 ), determine a. how many bits...
Using the following information (Machine’s IP=33.32.31.30, Machine’s Netmask=/29, Parent’s Netmask=255.255.240.0 ), determine a. how many bits are used for host number on the child network (subnet) b. how many usable addresses can exist on this child network (subnet) c. what the first usable address is on this child network (subnet) d. what the last usable address is on this child network (subnet) e. what the child network’s (subnet's) broadcast address is f. what the child network's (subnet's) network number is...
How many n-digit binary numbers do not start with 0?
How many n-digit binary numbers do not start with 0?
Show how the overflow is set in an ALU. 0-31 bits for the X value and...
Show how the overflow is set in an ALU. 0-31 bits for the X value and 0-31 bits for the Y value each coming from a separate wire into the adder, and 0-31 bits from the output O from computing X+Y coming out of the adder. Write the logical expression that will determine the results of the overflow signal.
The status register is a 16-bit register. How many bits (in total) are actually used (within...
The status register is a 16-bit register. How many bits (in total) are actually used (within the status register)? Briefly describe functions of these bits being used.
[a] With Amplitude Shift Keying (ASK), if 16 different amplitudes are being used, how many bits...
[a] With Amplitude Shift Keying (ASK), if 16 different amplitudes are being used, how many bits can be sent at one time? [b] Show the bits that can be sent at each level.
How many possible 5 digit numbers can be formed with the 10 digits 0 to 9...
How many possible 5 digit numbers can be formed with the 10 digits 0 to 9 if repetitions are not allowed and zero cannot be the first digit?
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT