Midterm Flashcards

Study chapter 1 to 5

1
Q

What is the primary difference between digital and analog systems?

A

Digital systems use discrete values, while analog systems can vary continuously over a specified range.

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

What are the two types of circuits discussed?

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

How do combinational circuits differ from sequential circuits?

A

Combinational circuits’ output depends only on present input values, while sequential circuits’ output depends on both past and present input values.

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

What is a basic building block of combinational circuits?

A

Logic gate

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

What is a basic building block of sequential circuits?

A

Flip-flop

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

What is the significance of binary numbers in digital systems?

A

Binary numbers are used because most switching devices only assume two different values.

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

What is positional notation in decimal numbers?

A

Each digit is multiplied by an appropriate power of 10 depending on its position.

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

What is positional notation in binary numbers?

A

Each digit is multiplied by an appropriate power of 2 depending on its position.

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

What does power series expansion in any number system involve?

A

Any positive integer R can be chosen as the radix or base, using R digits (0, 1, …, R−1).

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

How do you convert a decimal integer to base R using division?

A

Continue dividing until a0 is obtained; the remainder in each step is the desired digit.

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

Which letters represent numbers greater than 9 in hexadecimal?

A
  • A = 10
  • B = 11
  • C = 12
  • D = 13
  • E = 14
  • F = 15
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

How can conversion from binary to hexadecimal be done?

A

By inspection, as each hexadecimal digit corresponds to exactly four binary digits (bits).

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

Fill in the blank: A switching circuit has one or more _______ and one or more outputs which take on discrete values.

A

inputs

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

True or False: In sequential circuits, the output values only depend on the present values of inputs.

A

False

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

What are the basic operations that can be performed on positive binary numbers?

A
  • Add
  • Subtract
  • Multiply
  • Divide
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What forms can negative binary numbers be represented in?

A
  • Sign and magnitude
  • 1’s complement
  • 2’s complement
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

What code is used to represent decimal numbers in binary-coded decimal (BCD)?

A

Binary-coded-decimal (BCD)

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

What does it mean for switching devices to be two-state devices?

A

The output can only assume one of two discrete values.

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

What is required to represent digits in bases greater than 10?

A

More than 10 symbols are needed.

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

What does each octal digit correspond to in binary?

A

Three binary digits

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

Convert the binary number 100101101011010 to octal.

A

45532

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

In digital systems, arithmetic is performed in which number system?

A

Binary

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

What is the binary addition table used for?

A

To perform binary addition operations

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

What does the arrow indicate in binary subtraction?

A

Borrow which subtracts one from that column

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

In binary multiplication, what is the basic operation performed?

A

Multiplication of binary numbers

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

How does binary division compare to decimal division?

A

It is much easier because the only two possible quotient digits are 0 and 1

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

What are the two main groups of numbers in number representations?

A
  • Unsigned numbers
  • Signed numbers
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
28
Q

What does the sign bit indicate in number representations?

A

0 indicates a positive number; 1 indicates a negative number

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

List the common methods of representing both positive and negative numbers.

A
  • Sign and magnitude
  • 1’s complement
  • 2’s complement
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
30
Q

How is a negative number represented using 2’s complement?

A

N* = 2^n - N

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

What is the definition of overflow in binary operations?

A

An operation result is outside the range of representation

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

When does overflow occur in binary addition?

A

When the sum of two positive numbers is less than 2^(n-1)

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

What is BCD in binary codes?

A

Binary Coded Decimal, where each decimal digit is replaced by its binary equivalent

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

What is the weight system for the 6-3-1-1 code?

A
  • w3 = 6
  • w2 = 3
  • w1 = 1
  • w0 = 1
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
35
Q

What is the purpose of the Gray code?

A

The codes for successive decimal digits differ in exactly one bit

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

What are the basic operations in Boolean algebra?

A
  • AND
  • OR
  • NOT
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
37
Q

What are DeMorgan’s Laws used for in Boolean algebra?

A

To simplify complex Boolean expressions

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

What is the objective of using simplification theorems in Boolean algebra?

A

To simplify Boolean expressions

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

What is the significance of the complementing Boolean expressions?

A

To find the inverse of a Boolean expression

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

What are the basic operations of Boolean algebra?

A

AND, OR, complement (or inverse)

These operations are fundamental for manipulating Boolean expressions.

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

What do logic circuits represent in terms of switching variables?

A

Logic 0 represents low voltages, and Logic 1 represents high voltages.

In a switch circuit, 0 represents an open switch and 1 represents a closed switch.

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

How is the AND operation represented algebraically?

A

C = A·B = AB

This operation is also referred to as logical (or Boolean) multiplication.

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

How is the OR operation represented algebraically?

A

C = A + B

This operation is also referred to as logical (or Boolean) addition.

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

What does a truth table specify?

A

The values of a Boolean expression for every possible combination of values of the variables.

Truth tables are essential for understanding how a Boolean expression behaves.

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

What is the Commutative Law in Boolean algebra?

A

XY = YX and X + Y = Y + X

The order of variables does not affect the result of AND and OR operations.

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

What is the Associative Law in Boolean algebra?

A

(XY)Z = X(YZ) = XYZ and (X + Y) + Z = X + (Y + Z) = X + Y + Z

The result of AND and OR operations is independent of how the variables are grouped.

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

What is the Distributive Law in Boolean algebra?

A

X(Y + Z) = XY + XZ and X + YZ = (X + Y)(X + Z)

This law shows how multiplication and addition distribute over each other.

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

What does DeMorgan’s Law state?

A

(X + Y)’ = X’Y’ and (XY)’ = X’ + Y’

DeMorgan’s Law is crucial for simplifying Boolean expressions.

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

What is a Sum of Products (SOP) form?

A

An expression in SOP form consists of products of single variables.

This form is achieved when an expression is fully multiplied out.

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

What is a Product of Sums (POS) form?

A

An expression in POS form consists of sums of single variables.

This form is used in various Boolean simplifications.

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

Fill in the blank: The complement of a Boolean expression can be found using _______.

A

DeMorgan’s Laws

This method helps determine the inverse expressions of Boolean functions.

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

True or False: Two Boolean expressions are equal if they yield the same value for every combination of variable values.

A

True

This equality is fundamental in simplifying and verifying Boolean expressions.

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

How many rows will an n-variable expression have in its truth table?

A

2^n

This exponential growth represents all possible combinations of variable states.

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

What do NC and NO stand for in switch circuits?

A

Normally Closed (NC) and Normally Open (NO)

These terms describe the default state of the switch contacts.

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

What is the result of X’ when X = 0?

A

1

This represents the inversion of the Boolean variable.

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

What is the result of X’ when X = 1?

A

0

This is part of the fundamental properties of complementation in Boolean algebra.

57
Q

What are the learning objectives of Boolean algebra?

A

Apply laws and theorems to simplify expressions, find complements, multiply out and factor expressions, prove theorems using truth tables or algebraic proofs, define exclusive-OR and equivalence operations, use consensus theorem, and prove the validity of equations.

58
Q

What is the process to obtain the sum-of-products (SOP) expression from a product-of-sums (POS) form?

A

Multiply out (expand) using the two distributive laws.

59
Q

What theorem is useful for factoring and multiplying out in Boolean algebra?

A

The theorem that aids in finding common factors.

60
Q

When multiplying out an expression, which laws should be applied first?

A

(3-2) and (3-3) should generally be applied before (3-1).

61
Q

What is the definition of the exclusive-OR (XOR) operation?

A

X Y = 1 if and only if X = 1 or Y = 1, but not both.

62
Q

How can XOR be expressed in terms of AND and OR?

A

X Y = XY’ + X’Y.

63
Q

What is the equivalence operation (XNOR) in Boolean algebra?

A

The output is 1 iff X and Y have the same value.

64
Q

What does the consensus theorem do?

A

It cancels out redundant terms in an expression.

65
Q

List three basic ways to simplify switching functions.

A
  • Combining terms
  • Eliminating terms
  • Eliminating literals
66
Q

What theorem is used to combine two terms in simplification?

A

XY + XY’ = X.

67
Q

How can redundant terms be eliminated using a theorem?

A

Use the theorem X + XY = X.

68
Q

What theorem can be used to eliminate redundant literals?

A

X + X’Y = X + Y.

69
Q

What methods can be used to prove the validity of an equation?

A
  • Construct a truth table
  • Manipulate one side using theorems
  • Reduce both sides to the same expression
70
Q

How can you prove that an equation is NOT valid?

A

Show that the two sides have different values for only one combination of input values.

71
Q

What is the cancellation law in Boolean algebra?

A

The cancellation law for ordinary algebra does not hold; if x+y=x+z, then y=z is NOT VALID.

72
Q

Provide an example demonstrating the cancellation law’s invalidity in Boolean algebra.

A

Consider X=1, Y=0, Z=1; xy=xz then y=z is NOT VALID.

73
Q

What is the law of multiplication in Boolean algebra?

A

The law of multiplication does not hold for Boolean algebra. If xy=xz, then y=z is NOT VALID.

74
Q

Provide an example to illustrate the invalidity of the law of multiplication in Boolean algebra.

A

Consider X=0, Y=0, Z=1.

75
Q

What are the Cancellation Laws in Boolean Algebra?

A

The converses of the cancellation laws hold true.

76
Q

What are the main topics covered in the chapter on Applications of Boolean Algebra?

A
  • Conversion of English Sentences to Boolean Equations
  • Combinational Logic Design Using a Truth Table
  • Minterm and Maxterm Expansions
  • Incompletely Specified Functions
  • Examples of Truth Table Construction
  • Design of Binary Adders and Subtracters
77
Q

What is a minterm in Boolean algebra?

A

A minterm is a product term that involves all variables in either true or complemented form, but not both.

78
Q

How are minterms often denoted?

A

Minterms are often written in abbreviated form, such as A’B’C’ designated as m0, A’B’C as m1, etc.

79
Q

What is a maxterm in Boolean algebra?

A

A maxterm is a sum term that involves all variables in either true or complemented form, but not both.

80
Q

What is the relationship between minterms and maxterms?

A

A maxterm is the complement of the corresponding minterm.

81
Q

What does it mean for a function to be incompletely specified?

A

Certain input combinations never occur, and for these combinations, we ‘don’t care’ about the output value.

82
Q

What is a truth table used for in combinational logic design?

A

It is used to design a circuit based on the desired output for given input combinations.

83
Q

Given a truth table, how can you express the function as a minterm expansion?

A

By writing the function as a sum of minterms, referred to as a minterm expansion or standard sum of products.

84
Q

What is the output of a circuit if N >= 0112?

85
Q

What is the output of a circuit if N < 0112?

86
Q

Fill in the blank: A full adder is designed to perform ______.

A

addition of binary numbers with carry.

87
Q

What is the general form of the minterm and maxterm expansion for a function of n variables?

A

The general form includes all combinations of the variables in both true and complemented forms.

88
Q

What is the purpose of using ‘don’t-care’ terms in Boolean functions?

A

‘Don’t-care’ terms simplify the logic design by allowing flexibility in output values.

89
Q

True or False: A function can be expressed in both minterm and maxterm forms.

90
Q

What is the first step in designing a logic circuit from English sentences?

A

Translate the sentences into Boolean equations.

91
Q

What are the two forms of expansion for a Boolean function?

A
  • Minterm expansion (standard SOP)
  • Maxterm expansion (standard POS)
92
Q

In a truth table, how is the minterm corresponding to row i designated?

A

It is designated as mi.

93
Q

What is a full adder truth table used for?

A

To determine the output of a full adder for all possible input combinations.

94
Q

What must be done to derive logic equations for a full adder?

A

Explain the operation and trace signals on the block diagram.

95
Q

What is the truth table for a Full Adder?

A

A Full Adder has three inputs and two outputs:
- Inputs: A, B, Carry-in
- Outputs: Sum, Carry-out

The truth table represents all possible input combinations and their corresponding outputs.

96
Q

What are the logic equations for a Full Adder?

A

The logic equations for a Full Adder are:
- Sum = A XOR B XOR Carry-in
- Carry-out = (A AND B) OR (Carry-in AND (A XOR B))

These equations define how to compute the sum and carry-out based on the inputs.

97
Q

What is the design approach for a 4-bit Ripple Carry Adder?

A

A 4-bit Ripple Carry Adder connects four Full Adders in series. The carry output from each Full Adder serves as the carry input to the next.

This design allows for binary addition of two 4-bit numbers.

98
Q

How is a Full Subtractor designed?

A

A Full Subtractor can be designed similarly to a Full Adder. It has three inputs and two outputs:
- Inputs: A, B, Borrow-in
- Outputs: Difference, Borrow-out

Subtraction can also be expressed as A - B = A + (-B).

99
Q

What is the function of a Binary Subtracter?

A

A Binary Subtracter performs subtraction using Full Adders, where A - B is computed as A + (-B).

This method utilizes the principles of binary addition and complements.

100
Q

What is a Carry Lookahead Adder?

A

A Carry Lookahead Adder improves speed over Ripple Carry Adders by using generate (Gi) and propagate (Pi) signals to calculate carry outputs more quickly.

This technique reduces the propagation delay of carry signals.

101
Q

What are Don’t Care Conditions?

A

Don’t Care Conditions refer to input combinations that may never occur in practical systems. These conditions provide flexibility in circuit design.

Output values for these conditions can be chosen to simplify the circuit.

102
Q

What is the definition of a Minimum Sum-of-Products Expression?

A

A Minimum Sum-of-Products Expression is a sum of product terms with the minimum number of terms and literals.

It corresponds to a minimum two-level gate circuit with the least number of gates and inputs.

103
Q

How can you plot a function on a Karnaugh map?

A

To plot a function on a Karnaugh map, you need to represent the function in minterm, maxterm, or algebraic form and fill in the map according to the output values of the function.

This visual representation helps in simplifying Boolean functions.

104
Q

What are Minterms and Maxterms?

A

Minterms are product terms involving all variables in true or complemented form, while Maxterms are sum terms involving all variables in true or complemented form.

Minterms are written in m-notation (m0, m1, etc.), and Maxterms in M-notation.

105
Q

True or False: A Full Adder has two outputs.

A

True

The outputs are Sum and Carry-out.

106
Q

What is the minimum form of switching functions?

A

A minimum product-of-sums expression is defined as a product of sum terms which has a minimum number of terms and a minimum number of literals among expressions with the same number of terms.

This concept is critical for simplifying logical expressions in digital logic design.

107
Q

How can you find a minimum sum-of-products given a minterm expansion?

A

Combine terms using the uniting theorem XY + XY’ = X, repeatedly to eliminate as many literals as possible.

This theorem allows for the simplification of logical expressions by reducing redundancy.

108
Q

What theorem can eliminate redundant terms in switching functions?

A

The consensus theorem or other theorems can be used to eliminate redundant terms.

Understanding different theorems is essential for optimizing logical expressions.

109
Q

What is a Karnaugh map?

A

A systematic way of simplifying switching functions that leads to minimum cost two-level circuits composed of AND and OR gates.

Karnaugh maps are a visual tool for minimizing logical expressions.

110
Q

How are values plotted on a two-variable Karnaugh map?

A

The value of F for A = B = 0 is plotted in the upper left square, with other entries plotted similarly. Each 1 corresponds to a minterm of F.

This mapping technique helps visualize and simplify logical functions.

111
Q

What indicates that AB is a minterm on a Karnaugh map?

A

A 1 in square 01 indicates that AB is a minterm.

Minterms are crucial for defining the output of logical functions.

112
Q

What determines if minterms can be combined on a Karnaugh map?

A

Minterms in adjacent squares differ in only one variable and can be combined using the uniting theorem XY + XY’ = X.

This property is fundamental for simplifying logical expressions.

113
Q

What is the role of ‘don’t cares’ in Karnaugh maps?

A

‘Don’t cares’ are noted as X’s in Karnaugh maps and can be used to simplify expressions.

Utilizing ‘don’t cares’ can lead to more efficient logical designs.

114
Q

What is a prime implicant?

A

A product term implicant that cannot be combined with another term to eliminate a variable.

Identifying prime implicants is essential for finding minimum expressions.

115
Q

What is an essential prime implicant?

A

A prime implicant that covers a minterm which is covered by only one prime implicant and must be included in the minimum sum of products.

Essential prime implicants are critical for ensuring all necessary outputs are included in the final expression.

116
Q

What is the procedure to obtain the minimum product of sums from a maxterm expansion?

A

A procedure similar to that used for minimum sum-of-products, using the uniting theorem (X + Y)(X + Y’) = X to combine terms.

This method is vital for expressing logical functions in a minimized form.

117
Q

True or False: A sum-of-products expression containing a term which is not a prime implicant can still be minimum.

A

False.

Only prime implicants can ensure that the expression is minimized.

118
Q

How is the minimum solution determined from a Karnaugh map?

A

By looping all of the essential prime implicants first.

This ensures all necessary terms are included for the minimum expression.

119
Q

What happens to the minimum solution if not all prime implicants are included?

A

The minimum solution may not include all prime implicants.

This illustrates the need to carefully select implicants to achieve minimization.

120
Q

What is the result of plotting functions on a Karnaugh map?

A

‘1’s are plotted for whichever values of the variables would result in the expression yielding ‘1’.

This plotting is essential for visualizing the logical function.

121
Q

Fill in the blank: A minimum sum-of-products from a map should first loop all of the _______.

A

essential prime implicants.

This step is crucial for ensuring the minimum expression is accurate.

122
Q

What is an essential prime implicant?

A

A term that covers a given minterm and all of the 1’s adjacent to it.

123
Q

How can essential prime implicants sometimes be found?

A

By inspection or looking at all squares adjacent to a minterm.

124
Q

What must be checked to determine if prime implicants are essential?

A

Whether all of the 1’s adjacent to a given minterm are covered by a single term.

125
Q

What is the first step in obtaining a minimum SOP from a K-Map?

A

Choose a minterm (a 1) which has not yet been covered.

126
Q

What should be done after choosing a minterm in the K-Map procedure?

A

Find all 1’s and X’s adjacent to that minterm.

127
Q

What indicates that a term is an essential prime implicant in K-Maps?

A

If a single term covers the minterm and all of the adjacent 1’s and X’s.

128
Q

What should be done after selecting an essential prime implicant?

A

Repeat the steps until all essential prime implicants have been chosen.

129
Q

What is the final step in the K-Map procedure?

A

Find a minimum set of prime implicants which cover the remaining 1’s.

130
Q

How should ‘don’t-care’ terms be treated in K-Map procedures?

A

Like 1’s in steps 2 and 3 but not in step 1.

131
Q

How can a five-variable K-map be constructed?

A

By placing one four-variable map on top of a second one.

132
Q

What numbering scheme is used for a five-variable K-map?

A

Terms in the bottom layer are numbered 0 through 15, and those in the top layer are numbered 16 through 31.

133
Q

What is a Veitch Diagram?

A

A form of K-map labeling sides with A=1 for one half and A=0 for the other half.

134
Q

True or False: Two functions can be proven equal by plotting them on Karnaugh maps.

135
Q

What operations can be performed using Karnaugh maps?

A

ANDing or ORing the 1’s and 0’s in corresponding positions.

136
Q

Fill in the blank: In a five-variable K-map, terms in the bottom layer contain ______.

137
Q

What should be done if there is more than one set of prime implicants covering the 1’s?

A

Choose a set with a minimum number of literals.

138
Q

What diagram helps visually represent the K-map procedure?

A

A flowchart.

139
Q

What is the significance of ‘don’t-care’ terms in K-maps?

A

They are treated as flexible 1’s to simplify the expressions.