题目
题目
单项选择题

Question at position 14 Two values A = 11111111111111111111111010101 and B = 1111010101 are representations of 2's complement integers.A is largerA and B are equalYou can not tell from the information provided.B is larger

选项
A.A is larger
B.A and B are equal
C.You can not tell from the information provided.
D.B is larger
查看解析

查看解析

标准答案
Please login to view
思路分析
Let’s carefully analyze the two’s complement representations and what their bit widths imply about the numeric values. Option A: "A is larger". The value A = 11111111111111111111111010101 starts with a 1 in the most significant bit, so A is negative in two’s complement. Since A has many more bits (a longer width) than B, A is effectively a negative number with a very large magnitude when interpreted with its giv......Login to view full explanation

登录即可查看完整答案

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

类似问题

更多留学生实用工具

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