返回卡包市场

1.03 - Internal coding of numbers

暂无描述。系统推荐的高质量记忆内容,适合每天坚持背诵学习。

卡片总数: 18内容版本: v4公开卡包更新时间: 8/1/2026

卡片预览 (18 张)

#1
正面 (问题)

Define the sign and magnitute representation

背面 (解答)

It is a signed integer that has a binary code of the value (Magnitude) and an extra bit to define the sign (Sign) 0 is (+) and 1 is (-)

#2
正面 (问题)

Why are signed integers usually in two’s complement form?

背面 (解答)

Because there are a lot of disadvantages in using signed integers.

#3
正面 (问题)

Define the one’s complement of a binary number

背面 (解答)

It is defined as the binary number obtained if each binary digit is individually substracted by 1. This means that each 0 is switched to 1 and 1 to 0 (Flip)

#4
正面 (问题)

Define the two’s complement form

背面 (解答)

It is defined as the binary number obtained if 1 is added to the one’s complement form

#5
正面 (问题)

Explain the quicker method to convert binary to two’s complement form

背面 (解答)

First, start from the right and move to the left ignoring any 0s up to the first 1 which will also be ignored. Then flip the remaining bits (0 to 1/ 1 to 0)

#6
正面 (问题)

How to convert (+) denary number to its two complement binary form?

背面 (解答)

• Convert denary value to binary • Add a 0 infront of this binary value

#7
正面 (问题)

How to convert a (-) denary value into its two’s complement binary form?

背面 (解答)

• Disreagard the sign and convert to binary • Add 0 infront of this binary value • Convert binary value into two’s complement form

#8
正面 (问题)

How to convert a two’s complement binary value into a (+) denary value?

背面 (解答)

The leading zero is ignored and the remaining is converted to denary

#9
正面 (问题)

How to convert a two’s complement binary value into a (-) denary value?

背面 (解答)

Convert the binary value into denary the usual way but treat the most significant bit as a negative

#10
正面 (问题)

What are the rules for the addition of binary digits?

背面 (解答)

• 0 + 0 = 0 • 0 + 1 = 1 • 1 + 1 = 0 (carry of 1) • 1 + 1 + 0 = 0 (carry of 1) • 1 + 1 + 1 = 1 (carry of 1)

#11
正面 (问题)

What are the rules for the substraction of binary digits?

背面 (解答)

• 0 - 0 = 0 • 0 - 1 = 1 (after a borrow) • 1 - 0 = 1 • 1 - 1 = 0

#12
正面 (问题)

What is the meaning of overflow?

背面 (解答)

It means the value that has been produced is too large to be stored.

#13
正面 (问题)

An advantage of using two’s complement form

背面 (解答)

It simplifies the process of substracting one number from another. The number being substracted in converted to its two’s complement form which is then added to the other number

#14
正面 (问题)

What is the use of the binary coded decimal (BCD) scheme?

背面 (解答)

It is useful in applications that require a single denary digit to be stored or transmitted

#15
正面 (问题)

How does a BCD code represent a denary digit?

背面 (解答)

Using a nibble

#16
正面 (问题)

What are the two options for the BCD scheme if a denary number with more than one digit is to be converted to BCD

背面 (解答)

• Store one BCD in one byte leaving 4 bits unused • Packed BCD where 2 4-bit codes are stored in one byte

#17
正面 (问题)

Name 2 Appilcations that use the BCD scheme

背面 (解答)

• Denary digits displayed on a screen of a calculator or a digital clock • Representation of currency values

#18
正面 (问题)

What is the solution when no needed carry is occured during a BCD arithmetic.

背面 (解答)

Add 0110