Nội dung text Secret sauce P1 2025.pdf
Zain Merchant 3 Smallest: 10000000 Largest: 01111111 Smallest and largest 8 bit two’s complement binary number The result is a larger number than can be stored in the given number of bits. How an overflow can occur while adding integers one tebibyte is 1024 gibibytes and one terabyte is 1000 gigabytes Difference between tebibyte and terabyte Kibibyte is 1024 bytes and kilobyte is 1000 bytes Kibibyte is binary prefix and kilobyte is denary prefix Difference between kibibyte and kilobyte • The answer cannot be represented in the number of bits available • The answer is larger than the maximum positive number that can be stored in the register • The answer is smaller than the most negative number that can be stored in the register Overflow in binary addition and subtraction CSWithZa CSWithZa CSWithZa CSWithZa