早教吧 育儿知识 作业答案 考试题库 百科 知识分享

一道数学题满意立刻给分Performtheadditionofthefollowingnumberswhicharewrittenasfive-bitbinarynumbersusingtwo'scomplementnotation.Whichadditionswillgiveerrorsduetooverflow?Afterwardsconvertyouranswerstodecimal

题目详情
一道数学题 满意立刻给分
Perform the addition of the following numbers which are written as five-bit binary numbers using two's complement notation. Which additions will give errors due to overflow?
Afterwards convert your answers to decimal numbers (Base 10).
a) 10111 b) 00111 c) 01010
11010 01100 10101
▼优质解答
答案和解析
先翻译一下将下面的5比特二进制数字用二进制方法相加,哪一组会产生"溢出"的错误并将您的答案用10进制表示出来a) 10111 11010 1 10001显然溢出了用10进制表示就是23+26=49 超出了5比特二进制表达的最大10进制数31b) 0...