CS302 2005 2010 Midterm - Solved - MEGA FILE
CS302 2005 2010 Midterm - Solved - MEGA FILE
2010 (majid)
CS302- Digital Logic Design (Session - 3)
1. The binary value “11011” is equivalent to __________
1B
1C
1D
1E
2. An important application of AND Gate is its use in counter circuit
True
False
3. The OR Gate performs a Boolean _______ function
Addition
Subtraction
Multiplication
Division
4. TTL based devices work with a dc supply of ____ Volts
+10
+5
+3
3.3
5. A standard POS form has __________ terms that have all the
variables in the domain of the expression.
Sum
Product
Min
Composite
6. A SOP expression having a domain of 3 variables will have a truth
table having ____ combinations of inputs and corresponding output
values.
2
4
8
16
7. A BCD to 7-Segment decoder has
3 inputs and 7 outputs
4 inputs and 7 outputs
7 inputs and 3 outputs
inputs and 4 outputs
True
False
10. The binary numbers A = 1100 and B = 1001 are applied to the inputs
of a comparator. What are the output levels?
Half Adder
Full Adder
The Invalid BCD Detector Circuit
Parity Checker
12. 3-to-8 decoder can be used to implement Standard SOP and POS
Boolean expressions
True
False
Comparator
Multiplexer
Demultiplexer
Parity generator
SET
RESET
Clear
Invalid
4 to 4.5
4.5 to 5
0 to 4.5
0 to 3.5
Demorgan’s Law
Distributive Law
Commutative Law
Associative Law
1010
1110
1011
0101
1234
ABCD
1001
DEHF
25. Explain Half adder by drawing its function table, circuit diagram and
boolean expression
MIDTERM EXAMINATION
Spring 2010
CS302- Digital Logic Design
Time: 60 min
Marks: 38
► A=10, B=01
► A=11, B=01
► A=01, B=01
► A=01, B=10
► True
► False
► 0.3 V
► 0.5 V
► 0.9 V
► 3.3 V
► 24.582
► 2.4582
► 24582
► 0.24582
► Undefined
► One
► Zero
► 10 (binary)
► SET
► RESET
► Clear
► Invalid
► 86
► 87
► 88
► 89
► 2-to-8 encoder
► 4-to-16 encoder
► BCD-to-Decimal
► Decimal-to-BCD Priority
►1
►2
►3
►4
►4
►8
► 12
► 16
Question No: 14 ( Marks: 1 ) - Please choose one
Demultiplexer has
► AB+C = A+BC
► A(B+C) = B(A+C)
► AB=BA
► A+B=B+A
MIDTERM EXAMINATION
Spring 2010
CS302- Digital Logic Design (Session - 6)
Ref No: 1351363
Time: 60 min
Marks: 38
Question No: 1 ( Marks: 1 ) - Please choose one
The maximum number that can be represented using unsigned octal system is _______
►1
►7
►9
► 16
If we add “723” and “134” by representing them in floating point notation i.e. by first,
converting them in floating point representation and then adding them, the value of
exponent of result will be ________
►0
►1
►2
►3
► Demorgans law
► Associative law
► Product of sum form
► Sum of product form
A non-standard POS is converted into a standard POS by using the rule _____
►
► AA 0
►
► A+B = B+A
The 3-variable Karnaugh Map (K-Map) has _______ cells for min or max terms
►4
►8
► 12
► 16
The binary numbers A = 1100 and B = 1001 are applied to the inputs of a comparator.
What are the output levels?
►2
►1
►3
►4
►4
►8
► 12
► 16
► Demorgan’s Law
► Distributive Law
► Commutative Law
► Associative Law
► 86
► 87
► 88
► 89
► AND
► OR
► NOT
► XOR
For what values of A, B, C and D, value of the expression given below will be logic 1. Explain at
least one combination.
A.B A.B.C.D
Ans:
provide some of the inputs for which the adjacent 1s detector circuit have active high
output?
Ans:
The Adjacent 1s Detector accepts 4-bit inputs.
If two adjacent 1s are detected in the input, the output is set to high.
input combinations will be
1. 0011,
2. 0110,
3. 0111,
4. 1011,
5. 1100,
6. 1101,
7. 1110 and
8. 1111
For a two bit comparator circuit specify the inputs for which A > B
Ans:
1. 01 00,
2. 10 00,
3. 10 01,
4. 11 00,
5. 11 01 and
6. 11 10
Ans:
Question No: 22 ( Marks: 5 )
One of the ABEL entry methods uses logic equations; explain it with at least a single
example.
Ans:
In ABEL any letter or combination of letters and numbers can be used to identify
variables.
ABEL however is case sensitive,
thus variable ‘A’ is treated separately from variable ‘a’.
A binary adder circuit is described using dynamic transistor logic in which for high
speed carry propagation the adder stages are grouped in pairs or larger numbers
and additional dynamic logic means is provided in each group to control a single
transistor connected in series in the carry propagation path over the group.
The transistors used in the specific embodiments are MOS transistors, but some or
all of these could be replaced by junction FET's or bipolar transistors.
Assalam o Alaikum
2 marks question was "Draw the diagram of odd parity generator circuit".
MIDTERM EXAMINATION
Fall 2009
CS302- Digital Logic Design (Session - 5)
Ref No: 1022709
Time: 60 min
Marks: 38
_________
► A.B.C
►
►
The Extended ASCII Code (American Standard Code for Information Interchange) is a _____
code
► 2-bit
► 7-bit
► 8-bit
► 16-bit
► Addition
► Subtraction
► Multiplication
► Division
Generally, the Power dissipation of _______ devices remains constant throughout their operation.
► TTL
► CMOS 3.5 series
► CMOS 5 Series
► Power dissipation of all circuits increases with time.
Two 2-bit comparator circuits can be connected to form single 4-bit comparator
► True
► False
When the control line in tri-state buffer is high the buffer operates like a ________ gate
► AND
► OR
► NOT
► XOR
► 22
► 10
► 44
► 20
►!
►&
►#
►$
► Similar
► Different
► Similar with some enhancements
► Depends on the type of PALs input size
► “ . “ (a dot)
► “ $ “ (a dollar symbol)
► “ ; “ (a semicolon)
► “ endl “ (keyword “endl”)
►4
►8
► 12
► 16
Circuits having a bubble at their outputs are considered to have an active-low output.
► True
► False
Which device performs an operation which is the opposite of the Decoder function?
Ans:
Encoder function.
PAL devices are programmed by blowing the fuses permanently using over voltage.
octal - base 8
hexadecimal - base 16
Octal and hex are used to represent numbers instead of decimal because there is a
very easy and direct way to convert from the "real" way that computers store
numbers (binary) to something easier for humans to handle (fewer symbols). To
translate a binary number to octal, simply group the binary digits three at a time and
convert each group. For hex, group the binary digits four at a time.
Weight 2 1 0
Hex. Number 1 B 7
7 x 160 = 7 x 1 = 7
1
11 x 16 = 11x 16 = 176
1 x 162 = 1 x 256 = 256
Sum of products 43910
Like octal numbers, hexadecimal numbers can easily be converted to binary or vise versa.
Conversion is accomplished by writing the 4-bit binary equivalent of the hex digit for
each position, as illustrated in the following example:
Hex. Number 1 B 7
Draw the function table of two-bit comparator circuit, map it to K-Map and derive the
expression for (A > B)
Ans:
X1 X0 Y1 Y0 X<Y X=Y X>Y
. 0 0 0 0 0 1 0
0 0 0 1 1 0 0
0 0 1 0 1 0 0
0 0 1 1 1 0 0
0 1 0 0 0 0 1
0 1 0 1 0 1 0
0 1 1 0 1 0 0
0 1 1 1 1 0 0
1 0 0 0 0 0 1
1 0 0 1 0 0 1
1 0 1 0 0 1 0
1 0 1 1 1 0 0
1 1 0 0 0 0 1
1 1 0 1 0 0 1
1 1 1 0 0 0 1
1 1 1 1 0 1 0
The circuit has inputs X1X0 and Y1Y0 and outputs X > Y,
MIDTERM EXAMINATION
Spring 2010
CS302- Digital Logic Design
Time: 60 min
Marks: 38
► A=10, B=01
► A=11, B=01
► A=01, B=01
► A=01, B=10
Two 2-bit comparator circuits can be connected to form single 4-bit comparator
► True
► False
High level Noise Margins (VNH) of CMOS 5 volt series circuits is _____________
► 0.3 V
► 0.5 V
► 0.9 V
► 3.3 V
If we multiply “723” and “34” by representing them in floating point notation i.e. by first,
converting them in floating point representation and then multiplying them, the value of
mantissa of result will be ________
► 24.582
► 2.4582
► 24582
► 0.24582
The output of the expression F=A+B+C will be Logic ________ when A=0, B=1, C=1.
the symbol’+’ here represents OR Gate.
► Undefined
► One
► Zero
► 10 (binary)
If an active-HIGH S-R latch has a 0 on the S input and a 1 on the R input and then the R input
goes to 0, the latch will be ________.
► SET
► RESET
► Clear
► Invalid
3.3 v CMOS series is characterized by __________ and _________as compared to the 5 v CMOS
series.
► 86
► 87
► 88
► 89
► 2-to-8 encoder
► 4-to-16 encoder
► BCD-to-Decimal
► Decimal-to-BCD Priority
How many data select lines are required for selecting eight inputs?
► 1
► 2
► 3
► 4
►4
►8
► 12
► 16
Question No: 14 ( Marks: 1 ) - Please choose one
Demultiplexer has
► AB+C = A+BC
► A(B+C) = B(A+C)
► AB=BA
► A+B=B+A
Explain at least two advantages of the circuit having low power consumption
For a two bit comparator circuit specify the inputs for which the output A < B is set to 1
Explain the Operation of Odd-Parity Generator Circuit with the help of timing diagram
MIDTERM EXAMINATION
Fall 2009
CS302- Digital Logic Design (Session - 2)
Time: 60 min
Marks: 38
Student Info
StudentID:
Center: OPKST
Marks
Q No. 9 10 11 12 13 14 15 16
Marks
Q No. 17 18 19 20 21 22
Marks
Question No: 1 ( Marks: 1 ) - Please choose one
► 1234
► ABCD
► 1001
► DEFH
The Unsigned Binary representation can only represent positive binary numbers
► True
► False
The values that exceed the specified range can not be correctly represented and are considered as
________
► Overflow
► Carry
► Parity
► Sign value
► 0111
► 1111
► 1001
► 0110
L-2
Question No: 5 ( Marks: 1 ) - Please choose one
The 4-variable Karnaugh Map (K-Map) has _______ cells for min or max terms
►4
►8
► 12
► 16
Two 2-input, 4-bit multiplexers 74X157 can be connected to implement a ____ multiplexer.
► 4-input, 8-bit
► 4-input, 16-bit
► 2-input, 8-bit
► 2-input, 4-bit
► AND
► OR
► NOT
► XOR
► True
► False
► A&B
► A!B
► A#B
► A$B
L-21
Question No: 14 ( Marks: 1 ) - Please choose one
If an active-HIGH S-R latch has a 0 on the S input and a 1 on the R input and then the R input
goes to 0, the latch will be ________.
► SET
► RESET
► Clear
► Invalid
Demultiplexer has
Add -13 and +7 by converting them in binary system your result must be in binary.
Question No: 21 ( Marks: 5 )
Explain “Sum of Weights” method with example for “Octal to Decimal” conversion
1. Sum-of-Weights Method
Sum-of-weights as the name indicates sums the weights of the Binary Digits (bits)
of a Binary Number which is to be represented in Decimal. The Sum-of-Weights method
can be used to convert a Binary number of any magnitude to its equivalent Decimal
representation.
In the Sum-of-Weights method an extended expression is written in terms of the
Binary Base Number 2 and the weights of the Binary number to be converted. The
weights correspond to each of the binary bits which are multiplied by the corresponding
binary value. Binary bits having the value 0 do not contribute any value towards the final
sum expression.
The Binary number 101102 is therefore written in the form of an expression
having weights 20 ,21 ,22 ,23 AND 24 corresponding to the bits 0, 1, 1, 0 and 1 respectively.
Weights 20 AND 23 do not contribute in the final sum as the binary bits corresponding to
these weights have the value 0.
101102 = 1 x 24 0 x 23 1 x 22 1 x 21 0 x 20
= 16 + 0 + 4 + 2 + 0
= 22
MIDTERM EXAMINATION
Spring 2009
CS302- Digital Logic Design (Session - 1)
► E2CMOS
► TTL
► CMOS+
► None of the given options
If “1110” is applied at the input of BCD-to-Decimal decoder which output pin will be activated:
► 2nd
► 4th
► 14th
► No output wire will be activated
Sum A B C
CarryOut C( A B) AB
are the Sum and CarryOut expression of
► Half Adder
► Full Adder
► 3-bit parralel adder
► MSI adder cicuit
A Karnaugh map is similar to a truth table because it presents all the possible values of
input variables and the resulting output of each value.
► True
► False
► A=10, B=01
► A=11, B=01
► A=01, B=01
► A=01, B=10
Here output combination should A < B
The 4-variable Karnaugh Map (K-Map) has _______ cells for min or max terms
►4
►8
► 12
► 16
Generally, the Power dissipation of _______ devices remains constant throughout their operation.
► TTL
► CMOS 3.5 series
► CMOS 5 Series
► Power dissipation of all circuits increases with time.
► 0011
► 1100
► 1000
► 1010
(A+B).(A+C) = ___________
► B+C
► A+BC
► AB+C
► AC+B
► Demorgan’s Law
► Commutative Law
► Distributive Law
► Associative Law
NOR Gate can be used to perform the operation of AND, OR and NOT Gate
► FALSE
► TRUE
► 8-bits
► 16-bits
► 32-bits
► 64-bits
►2
►5
► 10
► 16
How standard Boolean expressions can be converted into truth table format.
Standard Boolean expressions can be converted into truth table format using binary
values for each term in the expression. Standard SOP or POS
expressions can also be determined from a truth table.
When an Input (source) file is created in ABEL a module is created which has three
sections. Name These three sections.
Answer:
AND gates are used to combine multiple signals, if all the signals are TRUE then the
output will also be TRUE. If any of the signals are FALSE, then the output will be
false. ANDs aren't used as much as NAND gates; NAND gates use less components
and have the advantage that they be used as an inverter.
MIDTERM EXAMINATION
Spring 2009
CS302- Digital Logic Design (Session - 1)
In the binary number “10011” the weight of the most significant digit is ____
► 24 (2 raise to power 4)
► 23 (2 raise to power 3)
► 20 (2 raise to power 0)
► 21 (2 raise to power 1)
► AND, OR
► NAND, NOR
► NAND, XOR
► NOT, XOR
► One
► Two
► Three
► Four
► True
► False
►$
►#
►!
►&
► True
► False
► True
► False
The 3-variable Karnaugh Map (K-Map) has _______ cells for min or max terms
► 4
► 8
► 12
► 16
Question No: 13 ( Marks: 1 ) - Please choose one
► True
► False
The output of the expression F=A+B+C will be Logic ________ when A=0, B=1, C=1.
the symbol’+’ here represents OR Gate.
► Undefined
► One
► Zero
► 10 (binary)
The Extended ASCII Code (American Standard Code for Information Interchange) is a _____
code
► 2-bit
► 7-bit
► 8-bit
► 16-bit
► Demorgans law
► Associative law
► Product of sum form
► Sum of product form
Name the three declarations that are included in “declaration section” of the module
that is created when an Input (source) file is created in ABEL.
Device declaration, pin declarations and set declarations.
Explain with example how noise affects Operation of a CMOS AND Gate circuit.
Two CMOS 5 volt series AND gates are connected together. Figure
7.3 The first AND gate has both its inputs connected to logic high,
therefore the output of the gate is guaranteed to be logic high. The
logic high voltage output of the first AND gate is assumed to be 4.6
volts well within the valid VOH range of 5-4.4 volts. Assume the same
noise signal (as described earlier) is added to the output signal of
the first AND gate.
MIDTERM EXAMINATION
Fall 2009
CS302- Digital Logic Design (Session - 5)
Ref No: 1022709
Time: 60 min
Marks: 38
_________
► A.B.C
►
►
The Extended ASCII Code (American Standard Code for Information Interchange) is a _____
code
► 2-bit
► 7-bit
► 8-bit
► 16-bit
► Addition
► Subtraction
► Multiplication
► Division
Generally, the Power dissipation of _______ devices remains constant throughout their operation.
► TTL
► CMOS 3.5 series
► CMOS 5 Series
► Power dissipation of all circuits increases with time.
Two 2-bit comparator circuits can be connected to form single 4-bit comparator
► True
► False
When the control line in tri-state buffer is high the buffer operates like a ________ gate
► AND
► OR
► NOT
► XOR
► 22
► 10
► 44
► 20
►!
►&
►#
►$
► “ . “ (a dot)
► “ $ “ (a dollar symbol)
► “ ; “ (a semicolon)
► “ endl “ (keyword “endl”)
►4
►8
► 12
► 16
Circuits having a bubble at their outputs are considered to have an active-low output.
► True
► False
Which device performs an operation which is the opposite of the Decoder function?
Ans:
Encoder function.
PAL devices are programmed by blowing the fuses permanently using over voltage.
octal - base 8
hexadecimal - base 16
Octal and hex are used to represent numbers instead of decimal because there is a
very easy and direct way to convert from the "real" way that computers store
numbers (binary) to something easier for humans to handle (fewer symbols). To
translate a binary number to octal, simply group the binary digits three at a time and
convert each group. For hex, group the binary digits four at a time.
Ans:
The hexadecimal (Hex) numbering system provides even shorter notation than octal.
Hexadecimal uses a base of 16. It employs 16 digits: number 0 through 9, and letters A
through F, with A through F substituted for numbers 10 to 15, respectively,
Hexadecimal numbers can be expressed as their decimal equivalents by using the sum of
weights method, as shown in the following example:
Weight 2 1 0
Hex. Number 1 B 7
7 x 160 = 7 x 1 = 7
1
11 x 16 = 11x 16 = 176
1 x 162 = 1 x 256 = 256
Sum of products 43910
Like octal numbers, hexadecimal numbers can easily be converted to binary or vise versa.
Conversion is accomplished by writing the 4-bit binary equivalent of the hex digit for
each position, as illustrated in the following example:
Hex. Number 1 B 7
Draw the function table of two-bit comparator circuit, map it to K-Map and derive the
expression for (A > B)
Ans:
X1 X0 Y1 Y0 X<Y X=Y X>Y
. 0 0 0 0 0 1 0
0 0 0 1 1 0 0
0 0 1 0 1 0 0
0 0 1 1 1 0 0
0 1 0 0 0 0 1
0 1 0 1 0 1 0
0 1 1 0 1 0 0
0 1 1 1 1 0 0
1 0 0 0 0 0 1
1 0 0 1 0 0 1
1 0 1 0 0 1 0
1 0 1 1 1 0 0
1 1 0 0 0 0 1
1 1 0 1 0 0 1
1 1 1 0 0 0 1
1 1 1 1 0 1 0
The circuit has inputs X1X0 and Y1Y0 and outputs X > Y,
►1
►7
►9
► 16
If we add “723” and “134” by representing them in floating point notation i.e. by first,
converting them in floating point representation and then adding them, the value of
exponent of result will be ________
►0
►1
►2
►3
► Demorgans law
► Associative law
► Product of sum form
► Sum of product form
A non-standard POS is converted into a standard POS by using the rule _____
►
► AA 0
►
► A+B = B+A
The 3-variable Karnaugh Map (K-Map) has _______ cells for min or max terms
►4
►8
► 12
► 16
The binary numbers A = 1100 and B = 1001 are applied to the inputs of a comparator.
What are the output levels?
►4
►8
► 12
► 16
► Demorgan’s Law
► Distributive Law
► Commutative Law
► Associative Law
► 86
► 87
► 88
► 89
For what values of A, B, C and D, value of the expression given below will be logic 1. Explain at
least one combination.
A.B A.B.C.D
Ans:
Provide some of the inputs for which the adjacent 1s detector circuit have active high
output?
Ans:
The Adjacent 1s Detector accepts 4-bit inputs.
If two adjacent 1s are detected in the input, the output is set to high.
input combinations will be
9. 0011,
10. 0110,
11. 0111,
12. 1011,
13. 1100,
14. 1101,
15. 1110 and
16. 1111
For a two bit comparator circuit specify the inputs for which A > B
Ans:
7. 01 00,
8. 10 00,
9. 10 01,
10. 11 00,
11. 11 01 and
12. 11 10
Ans:
Question No: 22 ( Marks: 5 )
One of the ABEL entry methods uses logic equations; explain it with at least a single
example.
Ans:
In ABEL any letter or combination of letters and numbers can be used to identify
variables.
ABEL however is case sensitive,
thus variable ‘A’ is treated separately from variable ‘a’.
A binary adder circuit is described using dynamic transistor logic in which for high
speed carry propagation the adder stages are grouped in pairs or larger numbers
and additional dynamic logic means is provided in each group to control a single
transistor connected in series in the carry propagation path over the group.
The transistors used in the specific embodiments are MOS transistors, but some or
all of these could be replaced by junction FET's or bipolar transistors.
Why cant S-R S-R latches can't be at active low at same time marks 2
MIDTERM EXAMINATION
Spring 2010
CS302- Digital Logic Design
Time: 60 min
Marks: 38
► A=10, B=01
► A=11, B=01
► A=01, B=01
► A=01, B=10
Two 2-bit comparator circuits can be connected to form single 4-bit comparator
► True
► False
High level Noise Margins (VNH) of CMOS 5 volt series circuits is _____________
► 0.3 V
► 0.5 V
► 0.9 V
► 3.3 V
If we multiply “723” and “34” by representing them in floating point notation i.e. by first,
converting them in floating point representation and then multiplying them, the value of
mantissa of result will be ________ http://vustudents.ning.com
► 24.582
► 2.4582
► 24582
► 0.24582
The output of the expression F=A+B+C will be Logic ________ when A=0, B=1, C=1.
the symbol’+’ here represents OR Gate.
► Undefined
► One
► Zero
► 10 (binary)
If an active-HIGH S-R latch has a 0 on the S input and a 1 on the R input and then the R input
goes to 0, the latch will be ________. http://vustudents.ning.com
► SET
► RESET
► Clear
► Invalid
3.3 v CMOS series is characterized by __________ and _________as compared to the 5 v CMOS
series.
► 86
► 87
► 88
► 89
► 2-to-8 encoder
► 4-to-16 encoder
► BCD-to-Decimal
► Decimal-to-BCD Priority
How many data select lines are required for selecting eight inputs?
http://vustudents.ning.com
►1
►2
►3
►4
►4
►8
► 12
► 16
Question No: 14 ( Marks: 1 ) - Please choose one
Demultiplexer has
► AB+C = A+BC
► A(B+C) = B(A+C)
► AB=BA
► A+B=B+A
Explain at least two advantages of the circuit having low power consumption
For a two bit comparator circuit specify the inputs for which the output A < B is set to 1
Explain the Operation of Odd-Parity Generator Circuit with the help of timing diagram
MIDTERM EXAMINATION
Spring 2010
CS302- Digital Logic Design
Time: 60 min
Marks: 38
► A=10, B=01
► A=11, B=01
► A=01, B=01
► A=01, B=10
Two 2-bit comparator circuits can be connected to form single 4-bit comparator
► True
► False
High level Noise Margins (VNH) of CMOS 5 volt series circuits is _____________
► 0.3 V
► 0.5 V
► 0.9 V
► 3.3 V
If we multiply “723” and “34” by representing them in floating point notation i.e. by first,
converting them in floating point representation and then multiplying them, the value of
mantissa of result will be ________ http://vustudents.ning.com
► 24.582
► 2.4582
► 24582
► 0.24582
The output of the expression F=A+B+C will be Logic ________ when A=0, B=1, C=1.
the symbol’+’ here represents OR Gate.
► Undefined
► One
► Zero
► 10 (binary)
If an active-HIGH S-R latch has a 0 on the S input and a 1 on the R input and then the R input
goes to 0, the latch will be ________. http://vustudents.ning.com
► SET
► RESET
► Clear
► Invalid
3.3 v CMOS series is characterized by __________ and _________as compared to the 5 v CMOS
series.
► 86
► 87
► 88
► 89
► 2-to-8 encoder
► 4-to-16 encoder
► BCD-to-Decimal
► Decimal-to-BCD Priority
How many data select lines are required for selecting eight inputs?
http://vustudents.ning.com
► 1
► 2
► 3
► 4
►4
►8
► 12
► 16
Question No: 14 ( Marks: 1 ) - Please choose one
Demultiplexer has
► AB+C = A+BC
► A(B+C) = B(A+C)
► AB=BA
► A+B=B+A
Explain at least two advantages of the circuit having low power consumption
For a two bit comparator circuit specify the inputs for which the output A < B is set to 1
Explain the Operation of Odd-Parity Generator Circuit with the help of timing diagram
MIDTERM EXAMINATION
Spring 2010
CS302- Digital Logic Design (Session - 6)
Time: 60 min
Marks: 38
Question No: 1 ( Marks: 1 ) - Please choose one
►1
►7
►9
► 16
If we add “723” and “134” by representing them in floating point notation i.e. by first,
converting them in floating point representation and then adding them, the value of
exponent of result will be ________
►0
►1
►2
►3
► Demorgans law
► Associative law
► Product of sum form
► Sum of product form
A non-standard POS is converted into a standard POS by using the rule _____
►
► AA 0
►
► A+B = B+A
The 3-variable Karnaugh Map (K-Map) has _______ cells for min or max terms
►4
►8
► 12
► 16
The binary numbers A = 1100 and B = 1001 are applied to the inputs of a comparator.
What are the output levels?
►4
►8
► 12
► 16
► Demorgan’s Law
► Distributive Law
► Commutative Law
► Associative Law
► 86
► 87
► 88
► 89
For what values of A, B, C and D, value of the expression given below will be logic 1. Explain at
least one combination.
A.B A.B.C.D
Ans:
Provide some of the inputs for which the adjacent 1s detector circuit have active high
output?
Ans:
The Adjacent 1s Detector accepts 4-bit inputs.
If two adjacent 1s are detected in the input, the output is set to high.
input combinations will be
17. 0011,
18. 0110,
19. 0111,
20. 1011,
21. 1100,
22. 1101,
23. 1110 and
24. 1111
For a two bit comparator circuit specify the inputs for which A > B
Ans:
13. 01 00,
14. 10 00,
15. 10 01,
16. 11 00,
17. 11 01 and
18. 11 10
Ans:
Question No: 22 ( Marks: 5 )
One of the ABEL entry methods uses logic equations; explain it with at least a single
example.
Ans:
In ABEL any letter or combination of letters and numbers can be used to identify
variables.
ABEL however is case sensitive,
thus variable ‘A’ is treated separately from variable ‘a’.
A binary adder circuit is described using dynamic transistor logic in which for high
speed carry propagation the adder stages are grouped in pairs or larger numbers
and additional dynamic logic means is provided in each group to control a single
transistor connected in series in the carry propagation path over the group.
The transistors used in the specific embodiments are MOS transistors, but some or
all of these could be replaced by junction FET's or bipolar transistors.
Why cant S-R S-R latches can't be at active low at same time marks 2
MIDTERM EXAMINATION
Spring 2009
CS302- Digital Logic Design (Session - 1)
In the binary number “10011” the weight of the most significant digit is ____
► 24 (2 raise to power 4)
► 23 (2 raise to power 3)
► 20 (2 raise to power 0)
► 21 (2 raise to power 1)
► One
► Two
► Three
► Four
► True
► False
►$
►#
►!
►&
► True
► False
► Comparator
► Multiplexer
► Demultiplexer
► Parity generator
► True
► False
The 3-variable Karnaugh Map (K-Map) has _______ cells for min or max terms
► 4
► 8
► 12
► 16
► True
► False
The output of the expression F=A+B+C will be Logic ________ when A=0, B=1, C=1.
the symbol’+’ here represents OR Gate.
► Undefined
► One
► Zero
► 10 (binary)
The Extended ASCII Code (American Standard Code for Information Interchange) is a _____
code
► 2-bit
► 7-bit
► 8-bit
► 16-bit
► Demorgans law
► Associative law
► Product of sum form
► Sum of product form
Name the three declarations that are included in “declaration section” of the module
that is created when an Input (source) file is created in ABEL.
Explain with example how noise affects Operation of a CMOS AND Gate circuit.
MIDTERM EXAMINATION
Spring 2009
CS302- Digital Logic Design (Session - 1)
Question No: 1 ( Marks: 1 ) - Please choose one
► E2CMOS
► TTL
► CMOS+
► None of the given options
► Comparator
► Multiplexer
► Demultiplexer
► Parity generator
If “1110” is applied at the input of BCD-to-Decimal decoder which output pin will be activated:
► 2nd
► 4th
► 14th
► No output wire will be activated
Sum A B C
CarryOut C( A B) AB
are the Sum and CarryOut expression of
► Half Adder
► Full Adder
► 3-bit parralel adder
► MSI adder cicuit
A Karnaugh map is similar to a truth table because it presents all the possible values of
input variables and the resulting output of each value.
► True
► False
► A=10, B=01
► A=11, B=01
► A=01, B=01
► A=01, B=10
The 4-variable Karnaugh Map (K-Map) has _______ cells for min or max terms
►4
►8
► 12
► 16
Generally, the Power dissipation of _______ devices remains constant throughout their operation.
► TTL
► CMOS 3.5 series
► CMOS 5 Series
► Power dissipation of all circuits increases with time.
► 0011
► 1100
► 1000
► 1010
(A+B).(A+C) = ___________
► B+C
► A+BC
► AB+C
► AC+B
► Demorgan’s Law
► Commutative Law
► Distributive Law
► Associative Law
NOR Gate can be used to perform the operation of AND, OR and NOT Gate
► FALSE
► TRUE
► 8-bits
► 16-bits
► 32-bits
► 64-bits
►2
►5
► 10
► 16
How standard Boolean expressions can be converted into truth table format.
When an Input (source) file is created in ABEL a module is created which has three
sections. Name These three sections.
Question No: 21 ( Marks: 5 )
MIDTERM EXAMINATION
Spring 2009
CS302- Digital Logic Design (Session - 1)
Question No: 1 ( Marks: 1 ) - Please choose one
► E2CMOS
► TTL
► CMOS+
► None of the given options
► Comparator
► Multiplexer
► Demultiplexer
► Parity generator
If “1110” is applied at the input of BCD-to-Decimal decoder which output pin will be activated:
► 2nd
► 4th
► 14th
► No output wire will be activated
Sum A B C
CarryOut C( A B) AB
are the Sum and CarryOut expression of
► Half Adder
► Full Adder
► 3-bit parralel adder
► MSI adder cicuit
A Karnaugh map is similar to a truth table because it presents all the possible values of
input variables and the resulting output of each value.
► True
► False
► A=10, B=01
► A=11, B=01
► A=01, B=01
► A=01, B=10
The 4-variable Karnaugh Map (K-Map) has _______ cells for min or max terms
►4
►8
► 12
► 16
► TTL
► CMOS 3.5 series
► CMOS 5 Series
► Power dissipation of all circuits increases with time.
► 0011
► 1100
► 1000
► 1010
(A+B).(A+C) = ___________
► B+C
► A+BC
► AB+C
► AC+B
► Demorgan’s Law
► Commutative Law
► Distributive Law
► Associative Law
NOR Gate can be used to perform the operation of AND, OR and NOT Gate
► FALSE
► TRUE
► 8-bits
► 16-bits
► 32-bits
► 64-bits
Question No: 16 ( Marks: 1 ) - Please choose one
►2
►5
► 10
► 16
How standard Boolean expressions can be converted into truth table format.
When an Input (source) file is created in ABEL a module is created which has three
sections. Name These three sections.
In the binary number “10011” the weight of the most significant digit is ____
► 24 (2 raise to power 4)
► 23 (2 raise to power 3)
► 20 (2 raise to power 0)
► 21 (2 raise to power 1)
► AND, OR
► NAND, NOR
► NAND, XOR
► NOT, XOR
► One
► Two
► Three
► Four
► True
► False
►$
►#
►!
►&
► Comparator
► Multiplexer
► Demultiplexer
► Parity generator
► True
► False
The 3-variable Karnaugh Map (K-Map) has _______ cells for min or max terms
► 4
► 8
► 12
► 16
► True
► False
The output of the expression F=A+B+C will be Logic ________ when A=0, B=1, C=1.
the symbol’+’ here represents OR Gate.
► Undefined
► One
► Zero
► 10 (binary)
The Extended ASCII Code (American Standard Code for Information Interchange) is a _____
code
► 2-bit
► 7-bit
► 8-bit
► 16-bit
► Demorgans law
► Associative law
► Product of sum form
► Sum of product form
Name the three declarations that are included in “declaration section” of the module
that is created when an Input (source) file is created in ABEL.
Explain with example how noise affects Operation of a CMOS AND Gate circuit.
MIDTERM EXAMINATION
Spring 2009
CS302- Digital Logic Design (Session - 1)
Question No: 1 ( Marks: 1 ) - Please choose one
► Comparator
► Multiplexer
► Demultiplexer
► Parity generator
If “1110” is applied at the input of BCD-to-Decimal decoder which output pin will be activated:
► 2nd
► 4th
► 14th
► No output wire will be activated
Sum A B C
CarryOut C( A B) AB
are the Sum and CarryOut expression of
► Half Adder
► Full Adder
► 3-bit parralel adder
► MSI adder cicuit
A Karnaugh map is similar to a truth table because it presents all the possible values of
input variables and the resulting output of each value.
► True
► False
► A=10, B=01
► A=11, B=01
► A=01, B=01
► A=01, B=10
The 4-variable Karnaugh Map (K-Map) has _______ cells for min or max terms
►4
►8
► 12
► 16
Generally, the Power dissipation of _______ devices remains constant throughout their operation.
► TTL
► CMOS 3.5 series
► CMOS 5 Series
► Power dissipation of all circuits increases with time.
► 0011
► 1100
► 1000
► 1010
(A+B).(A+C) = ___________
► B+C
► A+BC
► AB+C
► AC+B
► Demorgan’s Law
► Commutative Law
► Distributive Law
► Associative Law
NOR Gate can be used to perform the operation of AND, OR and NOT Gate
► FALSE
► TRUE
► 8-bits
► 16-bits
► 32-bits
► 64-bits
►2
►5
► 10
► 16
When an Input (source) file is created in ABEL a module is created which has three
sections. Name These three sections.
WWW.VUPages.com
http://forum.vupages.com
Largest Online Community of VU
Students
MIDTERM EXAMINATION
SUMMER 2007 Marks: 50
CS302 - DIGITAL LOGIC DESIGN (Session - 1 ) Time: 120min
StudentID/LoginID: ______________________________
(a) Draw the truth table representing the function defined by the following expression:
( A ( B C) D )
(b) Implement the circuit for the expression using only NAND gates.
( A ( B C) D )
Use Karnaugh map to find the minimum SOP form for following expression
F = Σ (3, 5, 7, 8, 10, 12, 13, 14, 15)
Write the Boolean expression and draw the truth table representing the function of a 4x2 Encoder.
Draw the circuit diagram of the Encoder.
Determine the values of A, B, C, and D that make the sum term equal to zero.
► A = 1, B = 0, C = 0, D = 0
► A = 1, B = 0, C = 1, D = 0
► A = 0, B = 1, C = 0, D = 0
► A = 1, B = 0, C = 1, D = 1
Question No: 6 ( Marks: 2 ) - Please choose one
► less expensive
► faster
► voltage
► current
► watt
► unit loads
Question No: 9 ( Marks: 2 ) - Please choose one