2013年5月27日 星期一

[Computer Exam] 2's complement


[Computer Exam] 2's complement



EX:



The 2's complement of 1



1 = 0001



1 -> 0 , 0 -> 1 <-- This is 1's complement.



1 = 1110



Add 1 to become 2's complement



-1 = 1111



Check table below to find the answer



























































































2's complement

Unsign

sign

1111

15

-1

1110

14

-2

1101

13

-3

1100

12

-4

1011

11

-5

1010

10

-6

1001

9

-7

1000

8

-8

0111

7

7

0110

6

6

0101

5

5

0100

4

4

0011

3

3

0010

2

2

0001

1

1

0000

0

0

Related Posts:

  • [Government Exam] The Resource of Government Exam [Government Exam] The Resource of Government Exam 公職王 大東海補習班 公職王 高點補習班 TKB數位學堂 考選部 考選部各種考試資訊查詢 考選部歷屆試題查詢 經濟部聯招歷屆試題查詢 金融研訓院 BLOG 宅宅的公務員之路 - 101年高普考資訊… Read More
  • [Computer Exam] 2's complement [Computer Exam] 2's complement EX: The 2's complement of 1 1 = 0001 1 -> 0 , 0 -> 1 <-- This is 1's complement. 1 = 1110 Add 1… Read More
  • [Government Exam]101年特種考試地方政府公務人員考試試題101年特種考試地方政府公務人員考試試題 代號:等 別: 三等考試類 科: 資訊處理科 目: 電腦網路考試時間: 2 小時座號:※注意: 1.禁止使用電子計算器。2.不必抄題,作答時請將試題題號及答案依照順序寫在試卷上,於本試題上作答者,不予計分。34440 全一頁一、在3G 核心網路(3G cor… Read More

0 意見:

張貼留言