Show
1a. What is the minimum number of bits that are required to uniquely represent the characters of English alphabet? (Consider upper case characters alone) The number of unique bit patterns using i bits is 2i We need at least 26 unique bit patterns. The cleanest approach is to compute log2 26 and take the ceiling .This yields 5 as the answer. Trial and error is also an acceptable solution. 1b. how many more characters can be uniquely represented without requiring additional bits? With 5 bits, we can represent up to 32 (25) unique bit patterns; we can represent 32 - 26 = 6 more characters without requiring additional bits. 2 Using 7 bits to represent each number, write the representations of 23 and -23 in signed Magnitude and 2's complement integers.
Answer & Explanation Solved by verified expert <p>a molestie consequat, ultrices ac magna. Fusce dui lectus, congue vel laoreet ac, dictum vitae odio. Donec aliquet. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam lacinia pulvinar tortor nec facilisis. Pellentesque dapibus efficitur laoreet.</p> Fusce dui lectus, congue vel laoreet ac, dictum vitae odio. Donec aliquet Unlock full access to Course Hero Explore over 16 million step-by-step answers from our library Subscribe to view answer sque dapibus efficitur laoreet. Nam risus ante, dapibus a molestie consequat, ultrices ac magna. Fusce dui lectus, congue vel laoreet ac, dictum vitae odio. Donec aliq usce dui lectus, congue vel laoreet ac, dictum vitae odio. Donec aliquet. Lorem ipsum dolongue vel laoreet ac, dictum vitae odio. Donec aliquet. Lorem ipsum dolor sit amet, consectetur adipiscing et, consectetur adipiscing elit. Nam lac F gue vel laoreet ac, dictum vitae odio. Donec aliquet. Lorem ipsum dolor sit amet, consectetur adipiscing e nec facilisis. Pellentesque dapibus Fusce dui lFusce dui lFusce dui lsFusce dui lFusce dui lFusce dui lsFusce dui lFusce dui lFusce dui ls
l How many bits do you need to store the alphabet?If we want to represent one character from the 26-letter Roman alphabet (A-Z), then we need log2(26) = 4.7 bits.
What is the minimum number of bits required to encode all upper letters in English?there's 26 uppercase characters and 10 digits, total 36 so you need at least 6 bits to encode all of them. The ascii code uses 7 bits to encode also punctuation characters, lowercase letters and a few control characters.
How do you find the minimum number of bits?Simple Approach:. Find binary representation of the number using simple decimal to binary representation technique.. Count number of set bits in the binary representation equal to 'n'.. Create a binary representation with it's 'n' least significant bits set to 1.. Convert the binary representation back to the number.. How many bits does it take to represent a letter?ASCII is an 8-bit code. That is, it uses eight bits to represent a letter or a punctuation mark. Eight bits are called a byte. A binary code with eight digits, such as 1101 10112, can be stored in one byte of computer memory.
|