题目
题目

4520_COMP_SCI_X_0005 Week 8 Exam

简答题

Category: 4-bit Twos Complement -5 + -5 Assuming that all numbers are represented in 4-bit two's complement binary, what is the decimal value of the result of adding -5 and -5? Your answer must start with an initial sign, + or -. The rest of your answer must only contain decimal digits.

查看解析

查看解析

标准答案
Please login to view
思路分析
We start by restating the problem in plain terms: adding -5 and -5 using 4-bit two's complement representation. First, recall the 4-bit two's complement range is from -8 to +7. Values outside this range cannot be represented without overflow. Represent -5 in 4-bit two's complement: take +5 as 0101, in......Login to view full explanation

登录即可查看完整答案

我们收录了全球超50000道考试原题与详细解析,现在登录,立即获得答案。

类似问题

更多留学生实用工具

加入我们,立即解锁 海量真题独家解析,让复习快人一步!