题目
题目

COMP10002_2025_SM2 Exam: Foundations of Algorithms (COMP10002_2025_SM2)- Requires Respondus LockDown Browser

单项选择题

Suppose that 12-bit two's complement numbers are being employed. What decimal integer would give rise to the twelve-bit sequence 1111 1110 0010:

选项
A.+226
B.−226
C.−30
D.−31
E.+158
查看解析

查看解析

标准答案
Please login to view
思路分析
First, restating the problem helps ground the analysis: we are using 12-bit two's complement numbers, and the bit pattern given is 1111 1110 0010. The multiple-choice options are: +226, −226, −30, −31, +158. Option 1: +226. In two's complement with 12 bits, a positive number would have a leading 0. Since the given pattern starts with 1, it cannot represent a positive value in 12-bit two's complement. Theref......Login to view full explanation

登录即可查看完整答案

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

类似问题

更多留学生实用工具

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