Computer AwarenessHardIBPS SO IT Officer · SSC CGL
In 8-bit one's complement representation, how many bit patterns stand for zero, and what range of integers can be stored?
- A. One pattern; −128 to +127
- B. Two patterns; −128 to +127
- C. One pattern; −127 to +127
- D. Two patterns; −127 to +127
Correct answer: D. Two patterns; −127 to +127
Both 00000000 (+0) and 11111111 (−0) mean zero in one's complement, so the range is only −127 to +127; a single zero with −128 to +127 is two's complement.
हिंदी में
8-बिट वन’ज़ कॉम्प्लिमेंट निरूपण में शून्य के लिए कितने बिट पैटर्न होते हैं, और पूर्णांकों की कौन-सी रेंज संग्रहीत हो सकती है?
- A. एक पैटर्न; −128 से +127
- B. दो पैटर्न; −128 से +127
- C. एक पैटर्न; −127 से +127
- D. दो पैटर्न; −127 से +127
उत्तर: D. वन’ज़ कॉम्प्लिमेंट में 00000000 (+0) और 11111111 (−0) दोनों शून्य का अर्थ रखते हैं, इसलिए रेंज केवल −127 से +127 है; एक शून्य के साथ −128 से +127 टू’ज़ कॉम्प्लिमेंट है।
More Computer Awareness questions
- The 8-bit pattern 10000101 is read as a sign-magnitude, a one's complement and a two's complement number. Which list gives its values in…
- A Hamming code must correct any single-bit error in a block of 12 data bits. What is the minimum number of check (parity) bits needed?
- A sender appends an even-parity bit to every 7-bit character. Which received 8-bit word shows that an error has occurred?
- In ASCII the capital letter 'G' has the code 71 (decimal). What is the code of the small letter 'g', written in hexadecimal?
- In ASCII, 'M' is 77 and 'm' is 109, so changing one into the other flips exactly one bit. What is the place value of that bit?
- A text file is saved in UTF-8. How many bytes does the English letter 'A' take, and how many does a Devanagari letter such as 'क' take?