45 in binary is 101101, so you need at least 6 bits to represent 45 characters.
23 can be represented in binary as 10111 and would therefore require 5 bits to represent.
It depends how many bits are used to represent each character and that ultimately depends on the machine architecture. If the machine can address memory in 8-bit bytes and each character is one byte in length, then "you are a students" would occupy at least 19 bytes including a null-terminator, which is 152 bits in total. However, you might wish to use proper English in your sentences. "You are a student." (152 bits) or "You are all students." (168 bits) would be preferred to the grammatically incorrect "you are a students". Sentences begin with a capital and end with a period, but we do not mix an indefinite article with a plural.
4.1 bit for 2,2 bits for 4,3 bits for 8,4 bits for 16.
17 bits would allow a value up to 131071.
10 bits would be required. 10 bits long (10 digits long) can represent up to 1024.
bites
8 bits if unsigned, 9 bits if signed
A Byte is a collection of eight bits that can represent a single character.
4
how many bits are needed to represent decimal values ranging from 0 to 12,500?
To represent a single EBCDIC character, typically 8 bits are required. However, to ensure error detection and correction, additional parity bits known as Hamming bits are added. In the case of a single EBCDIC character, typically 4 Hamming bits are added, resulting in a total of 12 bits to represent the character. These Hamming bits help detect and correct errors that may occur during transmission or storage of the data.
"recommended setting" There are 19 characters including the space between the two words. If the old convention of using 1 byte to represent a character, then we would need (19 x 8) which is 152 bits. If we use unicode as most modern computers use (to accommodate all the languages in the world) then 2 bytes will represent each character and so the number of bits would be 304.
A nibble (also known as a nybble or nyble) can represent half a character(two nibbles are needed for a valid ASCII character). A nibble is made up of 4 bits and those 4 bits are usually represented by a single hexadecimal value. 4 bits only allows for 16 combinations, 8 bits allows for 255. An ASCII character is represented by two hexadecimal characters, which is the same as 8 bits or two nibbles.
5
log2 200 = ln 200 ÷ ln 2 = 7.6... → need 8 bits. If a signed number is being stored, then 9 bits would be needed as one would be needed to indicate the sign of the number.
1200
23 can be represented in binary as 10111 and would therefore require 5 bits to represent.