Binary Subtractors Flashcards

(77 cards)

1
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is a binary subtractor?

A

A binary subtractor is a digital circuit that performs subtraction of binary numbers.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

True or False: A binary subtractor can only subtract positive binary numbers.

A

False

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are the two main types of binary subtractors?

A

The two main types are the half subtractor and the full subtractor.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Fill in the blank: A half subtractor has ___ inputs.

A

two

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What are the names of the outputs of a half subtractor?

A

Difference and Borrow

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

True or False: A full subtractor can handle borrow from previous bits.

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is the primary function of a full subtractor?

A

To subtract three binary digits: two significant bits and a borrow bit.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

In a half subtractor, what is the output ‘Difference’ represented by?

A

The XOR of the two inputs.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What logical operation is used to determine the ‘Borrow’ output in a half subtractor?

A

The AND operation.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Fill in the blank: A full subtractor requires ___ inputs.

A

three

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is the truth table?

A

A table that shows all possible input combinations and their corresponding outputs.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

How many inputs does a half subtractor have?

A

Two inputs.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Which type of subtractor is more complex?

A

Full subtractor.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

True or False: The borrow output in a full subtractor can be 1 or 0.

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is the significance of the borrow bit?

A

It indicates that the subtrahend is larger than the minuend.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

In a binary subtraction operation, what does the minuend represent?

A

The number from which another number (the subtrahend) is subtracted.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

What does the subtrahend represent in binary subtraction?

A

The number that is to be subtracted.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

Fill in the blank: The equation for a full subtractor’s difference output is ___ .

A

A XOR B XOR Bin

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

What is the equation for the borrow output in a full subtractor?

A

(NOT A AND B) OR (Bin AND (NOT A XOR B))

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

True or False: A half subtractor can have an input borrow.

A

False

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

What is the maximum number of bits a binary subtractor can handle?

A

It can handle any number of bits, depending on the design.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

What is the main advantage of using a full subtractor over a half subtractor?

A

It can account for a borrow from a previous subtraction.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Q

What is an example of a practical application of binary subtractors?

A

Digital calculators and computer arithmetic units.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
Fill in the blank: The difference output of a half subtractor is calculated using the ___ operation.
XOR
26
What is the truth table for a half subtractor?
It has four rows, showing outputs for all combinations of A and B.
27
True or False: Full subtractors can be used to create multi-bit binary subtractors.
True
28
What is the primary role of the borrow output in binary subtraction?
To indicate if a borrow is needed for the next higher bit.
29
How do you represent binary subtraction in digital circuits?
Using subtractor circuits like half and full subtractors.
30
Fill in the blank: The borrow output in a half subtractor is true when ___ .
A is less than B
31
What logic gates are typically used in a half subtractor?
XOR and AND gates.
32
What logic gates are typically used in a full subtractor?
XOR, AND, and OR gates.
33
True or False: The output of a binary subtractor is always a binary number.
True
34
What is the role of the borrow input in a full subtractor?
To account for borrowing from a previous bit's subtraction.
35
Which binary subtractor is simpler in design?
Half subtractor.
36
Fill in the blank: The borrow output is 1 when ___ .
A < B
37
What is an essential characteristic of binary subtraction?
It follows the rules of binary arithmetic.
38
What is the result of subtracting 1 from 0 in binary?
It requires a borrow, resulting in 1 and a borrow.
39
True or False: Binary subtraction is the same as binary addition.
False
40
What is a common method to subtract binary numbers without a subtractor?
Using two's complement.
41
Fill in the blank: The difference output of a full subtractor is calculated using ___ .
A XOR B XOR Bin
42
What is the primary limitation of a half subtractor?
It cannot handle borrows.
43
What is the output of a half subtractor when both inputs are 1?
Difference = 0, Borrow = 0.
44
What does the two's complement method allow in binary subtraction?
It allows subtraction by adding the negative equivalent.
45
True or False: A binary subtractor can be implemented using only NAND gates.
True
46
What is the main purpose of the borrow output in subtractors?
To indicate when a larger number is being subtracted from a smaller one.
47
Fill in the blank: The borrow output for a full subtractor can be expressed as ___ .
(NOT A AND B) OR (Bin AND (NOT A XOR B))
48
What is the difference between signed and unsigned binary subtraction?
Signed subtraction accounts for negative numbers, while unsigned does not.
49
True or False: A half subtractor can be used for multi-bit subtraction.
False
50
What happens to the borrow output when the minuend is less than the subtrahend?
The borrow output becomes 1.
51
Fill in the blank: The full subtractor can be cascaded to perform ___ subtraction.
multi-bit
52
What type of arithmetic does binary subtraction belong to?
Digital arithmetic.
53
True or False: The difference in binary subtraction can be negative.
False
54
What is the result of binary subtraction when both inputs are 0?
Difference = 0, Borrow = 0.
55
Fill in the blank: The output of a full subtractor's borrow is true if ___ .
A is less than B or there is a borrow in.
56
What is the significance of the borrow bit in multi-bit binary subtraction?
It ensures accurate subtraction across multiple bits.
57
In binary subtraction, what is the effect of an input borrow of 1?
It effectively decreases the minuend by 1.
58
True or False: Subtracting two binary numbers requires the same logic as adding them.
False
59
What logical function does the difference output represent in a binary subtractor?
The result of the subtraction.
60
Fill in the blank: The borrow output can be seen as a ___ indicator.
carry
61
What is the result of subtracting 0 from 0 in binary?
Difference = 0, Borrow = 0.
62
How does a binary subtractor handle negative results?
It indicates borrow but does not produce negative outputs.
63
What is the relationship between full subtractors and half subtractors?
Full subtractors can be built using half subtractors with additional inputs.
64
True or False: Full subtractors can be used to create a binary adder.
True
65
Fill in the blank: In binary subtraction, the minuend is ___ the subtrahend.
greater than or equal to
66
What is the maximum number of bits a full subtractor can handle?
It can handle any number of bits, depending on the design.
67
What is the purpose of using binary subtractors in digital circuits?
To perform arithmetic operations efficiently.
68
Fill in the blank: The borrow output of a half subtractor is ___ if A is less than B.
1
69
What is the complexity of designing a half subtractor compared to a full subtractor?
A half subtractor is simpler to design.
70
True or False: The borrow output in a subtractor is only relevant for the least significant bit.
False
71
What is the output of a full subtractor when both inputs are 1 and there is no borrow?
Difference = 0, Borrow = 0.
72
Fill in the blank: A full subtractor can be implemented using ___ logic gates.
AND, OR, and XOR
73
What is the key characteristic of binary arithmetic operations?
They are based on binary digits (0s and 1s).
74
What is the role of the borrow input in a full subtractor?
To account for previous borrow in the subtraction process.
75
Fill in the blank: The output of a half subtractor is determined by ___ logic.
XOR and AND
76
How many outputs does a half subtractor have?
Two outputs.
77
True or False: The borrow output is always 0 when subtracting a larger number from a smaller number.
True