8
To represent an eight-digit decimal number in Binary-Coded Decimal (BCD), each decimal digit is encoded using 4 bits. Since there are 8 digits in the number, the total number of bits required is 8 digits × 4 bits/digit = 32 bits. Therefore, 32 bits are needed to represent an eight-digit decimal number in BCD.
103
5
8 bits if unsigned, 9 bits if signed
Count them: 643(10)=1010000011(2)
23 can be represented in binary as 10111 and would therefore require 5 bits to represent.
Most modern digital cameras use 24 bits (8 bits per primary) to represent a color. But more or less can be used, depending on the quality desired. Many early computer graphics cards used only 4 bits to represent a color.
To determine the number of bits in three dollars, we need to first convert the dollar amount to cents, as there are 100 cents in a dollar. Three dollars is equal to 300 cents. Next, we need to calculate the number of bits in 300 cents. Since 2^8 (256) is the closest power of 2 to 300, we would need at least 8 bits to represent 300 cents accurately.
I get 36 .
There are 256 possible values (or characters) in 8 bits.
18 in binary is 10010 Since 18 can't be written in term of 2 to the power x, the number of bits needed is 5. The answer is 5