cs302 Midterm Solved Mcqs Subjective by Haya
cs302 Midterm Solved Mcqs Subjective by Haya
In Synchronous counters all the flip-flops have same clock pulse and
in Asynchronous
counters flip-flops does not change state at the exactly same time
because they don't
have common clock pulse.
Question: What is meant by D in gated D latch and what is the
fuction of this D
input. What is the basic difference between latchs and flip-flops?
Answer: The 'D' in 'Gated D Latch' stands for 'Data'.Unlike 'S-R Latch'
Gated D Latch
has only one input ,which is D(data) Input. Whcih will give the output
of the latch
depending on the 'EN' (enable) state of the latch. To understand
latches and flip-flops lets
consider a basic fact about the whole DLD
In the same way that gates are the building blocks of combinatorial
circuits, latches and
flip-flops are the building blocks of sequential circuits. While gates
had to be built
directly from transistors, latches can be built from gates, and flip-flops
can be built from
latches.
Both latches and flip-flops are circuit elements whose output depends
not only on the
current inputs, but also on previous inputs and outputs. The
difference between a latch
and a flip-flop is that
a latch does not have a clock signal, whereas a flip-flop always does
Latches are asynchronous, which means that the output changes
very soon after the
input changes. A flip-flop is a synchronous version of the latch.
Question: I cannot understand the timing diagram for the master
slave flip flop.
Answer: A master-slave flip-flop is constructed from two separate flip-
flops. One
circuit serves as a master and the other as a slave. The logic diagram
of an SR flip-flop is
shown here. The master flip-flop is enabled on the positive edge of
the clock pulse CP and
Truth table for this type of flip-flop. The operation and truth table for a
negative edge share triggered flip-flop are the same as those for a
positive except that the falling edge of the clock pulse is the triggering
edge.Note that the S and R inputs can be changed at any time when
the clock input is LOW or
HIGH (except for a very short interval around the triggering transition
of the clock)
Without affecting the output. This is illustrated in the timing diagram
below:
While an Edge-triggered J-K flip-flop works very similar to S-R flip-
flop. The only
difference is that this flip-flop has NO invalid state. The outputs toggle
(change to the
opposite state) when both J and K inputs are HIGH. The truth table is
shown below.
The operations of an Edge-triggered D flip-flop are much simpler. It
has only one
input addition to the clock. It is very useful when a single data bit (0 or
1) is to be stored.
If there is a HIGH on the D input when a clock pulse is applied, the
flip-flop SETs and
stores a 1. If there is a LOW on the D input when a clock pulse is
applied, the flip-flop
RESETs and stores a 0. The truth table below summarize the
operations of the positive
edge-triggered D flip-flop. As before, the negative edge-triggered flip-
flop works the same
except that the falling edge of the clock pulse is the triggering edge.
Question: What is Multiplexer and what are its applications and
expression
simplification using Multiplexer?
Answer: Multiplexer is a digital circuit with multiple signal inputs, one
of which is
selected by separate address inputs to be sent to the single output.
The multiplexer
circuit is typically used to combine two or more digital signals onto a
single line, by
placing them there at different times. Technically, this is known as
time-division
multiplexing.
Input A is the addressing input, which controls which of the two data
inputs, X0 or X1,
will be transmitted to the output. If the A input switches back and forth
at a frequency
more than double the frequency of either digital signal, both signals
will be accurately
reproduced, and can be separated again by a demultiplexer circuit
synchronized to the
multiplexer.
This is not as difficult as it may seem at first glance; the telephone
network combines
multiple audio signals onto a single pair of wires using exactly this
technique, and is
readily able to separate many telephone conversations so that
everyone's voice goes only
to the intended recipient. With the growth of the Internet and the
World Wide Web, most
people have heard about T1 telephone lines. A T1 line can transmit
up to 24 individual
telephone conversations by multiplexing them in this manner.
A very common application for this type of circuit is found in
computers, where
dynamic memory uses the same address lines for both row and
column addressing. A set
of multiplexers is used to first select the row address to the memory,
then switch to the
column address. This scheme allows large amounts of memory to be
incorporated into the computer while limiting the number of copper
traces required connecting that
memory to the rest of the computer circuitry. In such an application,
this circuit is
commonly called a data selector. Multiplexers are not limited to two
data inputs. If we
use two addressing inputs, we can multiplex up to four data signals.
With three
addressing inputs, we can multiplex eight signals.
Question: Explain S-R Latch? what do you mean by bi-stable
devices?
Answer: A bi-stable multivibrator has two stable states, as indicated
by the prefix bi
in its name. Typically, one state is referred to as set and the other as
reset. The simplest
bi-stable device, therefore, is known as a set-reset, or S-R, latch.
The Q and not-Q outputs are supposed to be in opposite states. I say
"supposed to"
because making both the S and R inputs equal to 1 results in both Q
and not-Q being 0.
For this reason, having both S and R equal to 1 is called an invalid or
illegal state for the
S-R multivibrator. Otherwise, making S=1 and R=0 "sets" the
multivibrator so that Q=1
and not-Q=0. Conversely, making R=1 and S=0 "resets" the
multivibrator in the opposite
state. When S and R are both equal to 0, the multivibrator's outputs
"latch" in their prior
states.
By definition, a condition of Q=1 and not-Q=0 is set. A condition of
Q=0 and not-Q=1 is
reset. These terms are universal in describing the output states of
any multivibrator
circuit. So A bistable multivibrator is one with two stable output states.
In a bistable
multivibrator, the condition of Q=1 and not-Q=0 is defined as set. A
condition of Q=0 and
not-Q=1 is conversely defined as reset. If Q and not-Q happen to be
forced to the same
state (both 0 or both 1), that state is referred to as invalid. In an S-R
latch, activation of
the S input sets the circuit, while activation of the R input resets the
circuit. If both S
and R inputs are activated simultaneously, the circuit will be in an
invalid condition. A
race condition is a state in a sequential system where two mutually-
exclusive events are
simultaneously initiated by a single cause.
Question: What is meant by triggering or triggering edge of
clock pulse and
synchronous? also what is trigging transition of clock?
Answer: Generally the term 'synchronous' means "Moving or
changing at the same
time". In our senario this term also holds the same meaning.
Here the two things which will change at the same time will be "Clock
(CLK or C )" and
the "output of the device". Means changes in the output occur with
synchronization with
clock.
Edge-Triggered devices changes staes either at the positive
edge(rising edge) or the
negative edge (falling edge) of the clock pulse and is sensative to its
inputs only at the
these two (negative or positive) edges,which in technical terms is
called 'Transition of the
clock'.
By examining the picture below you will understand it completly.
Question: How to up and down the clock in J K flops plz explain
the example?
Answer: In J-K filp-flops the clock moves normaly as in other cases
no difference.The
clock pulse will change its state after the specified intervals(usually
defined in 'nano
seconds'(ns) ) to either UP i.e '1' or DOWN i.e '0'.No.11
Question: For BCD numbers that add up to an invalid BCD
number or generate a
carry, the number 6 (0110) is added to the invalid number, why ?
Answer: These binary numbers are not allowed in the BCD code:
1010, 1011, 1100,
1101, 1110, 1111
Then, if the addition produces a carry and/or creates an invalid BCD
number, an
adjustment is required to correct the sum. The correction method is to
add 6 to the sum
in any digit position that has caused an error.
For example,
15 + 9 = 24
0001 0101 = 15
+ 0000 1001 = 9
____________________
0001 1110 = 1? (invalid 1110)
0001 1110 = 1? (invalid)
+ 0000 0110 = 6 (adjustment)
___________________
0010 0100 = 24
Question: Why do we use +0V and +5V instead of +0V and +1V in
DLD, when it is
always '0' and '1' ?
Answer: In DLD, the circuits of logic gates (embedded in IC's) are
operated with +5
Volts input. That is why we refer to +5 V for these logic inputs. It is
considered as binary
1 when the +5V are applied to the logic gate, and binary 0 when 0 V
are applied to the
logic gate.
Question: What is BCD and how do we write them?
Answer: BCD (Binary-Coded Decimal) is a system for encoding
Decimal Numbers in
binary form to avoid rounding and conversion errors. In BCD coding,
each digit of a
decimal number is coded separately as a binary numeral. Each of the
decimal digits 0
through 9 is coded in four bits and for ease of reading, each group of
four bits is
separated by a space. This format, also called 8-4-2-1 after the
weights of the four bit
positions, uses the following codes:
0000 = 0
0001 = 1
0010 = 2
0011 = 3
0100 = 4
0101 = 5
0110 = 6
0111 = 7
1000 = 8
1001 = 9
Thus, the decimal number 12 is 0001 0010 in binary-coded decimal
notation.
Question: Where do we use Caveman Number System ?
Answer: Caveman Number System was introduced in old ages as
symbolic
Logic: One of the three major classes of ICs in most digital electronic
systems:
microprocessors, memory, and logic. Logic is used for data
manipulation and control
functions that require higher speed than a microprocessor can
provide
Low: A logic state corresponding to a binary "0". Satellite imagery is
displayed on a
computer monitor by a combination of highs and lows.
Low logic : In digital logic, the more negative of the two logic levels in
a binary system.
In positive logic, a low-logic level is used to represent a logic 0, or a
not-true, condition.
Mantissa: The magnitude of a floating-point number.
MSI: Medium-scale integration' a level of fixed-function IC complexity
in which there
are 12 to 99 equivalent gates per chip.
Multiplexer: An electronic device normally used to scan a number of
input terminals and
receive data from, or send data to, the same. Multiplexers are
normally one of two types:
The cyclic type which continually and sequentially looks at each
input for a request to
send or receive data.
The random type which waits in a "rest" position until other circuitry
notifies it of a
request to receive or send data.
NAND gate : A logic circuit in which a LOW output occurs only if all
the inputs are HIGH.
NOR gate : A logic circuit which performs the OR function and then
inverts the result. A
NOT-OR gate.
NOT : The logical operator having that property which if P is a
statement, then the not of
P (P) is true if P is false, and the not of P (P) is false if P is true.
octal : Describes a number system with a base of eight.No.15
odd parity : The condition of having an odd number of 1s in every
group of bits.
OR gate : A multiple-input gate circuit whose output is energized
when any one or
Thus, with S and R inputs both set to logic 1, the previous output
state is maintained.
If initially, the Q andQare at logic 1 and 0 respectively, setting S=1
and R=1 maintains
the same outputs. Similarly, if initially Q and Q are at logic 0 and 1
respectively,
setting S=1 and R=1 maintains the same outputs.
2 input 4 bit multiplexer function table 3 marks
2-INPUT 4-BIT MULTIPLEXER
The MSI, 74X157 is a 2-input, 4-bit Multiplexer. This multiplexer has
two sets of 4-bit
inputs. It also has 4-bit outputs. The single select input line allows the
first set of four
inputs or the second set of 4-inputs to be connected to the output.
Thus four-bits of data from two sources are routed to the output. The
function table and the circuit of
the multiplexer are shown. table 18.1, figure 18.1
The multiplexer has two sets of 4-bit active-high inputs 1A, 2A, 3A,
4A and 1B, 2B,
3B, 4B respectively. The multiplexer has 4-bit active-high outputs 1Y,
2Y, 3Y 4Y. The
single select input allows either the 4-bit input A or the 4-bit input B to
be connected
to the 4-bit output Y.
The G active-low pin enables or disables the Multiplexer.
BCD to decimal conversion of three BCDs codes 3marks
Half adder explanation its function table Boolean expression and
circuit diagram
5 marks
Explain S-R latch in your own words
Mid-Term Past Papers (Updated Version)
Short Question (Set-1)
Question No: 18 ( Marks: 2 )
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.
Some input combinations will be
1. 0011,
2. 0110,
3. 0111,
4. 1011,
5. 1100,
6. 1101,
7. 1110 and
8. 1111
The output function is a 1.
Question No: 19 ( Marks: 2 )
Draw the Truth-Table of NOR based S-R Latch
Answer:
Share your feedback/comments at [email protected] to
improve file|| Back to TOP || File Version v1.2.1 published for
Midterm only
CS302 Digital Logic & Design_ Muhammad Ishfaq Page No.18
Circuit Diagram of NOR based S-R Latch.
NAND Based S-R Latch
Function Table:
Circuit Diagram:
Question No: 20 ( Marks: 3 )
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
6. 11 10
Write a note on COMPARATOR
COMPARATOR
A comparator circuit compares two numbers and sets one of its three
outputs to 1
indicating the result of the comparison operation. A Comparator
circuit has multiple
inputs and three outputs.
A 2-bit Comparator circuit compares two 2-bit numbers A and B. The
comparator circuit
has three outputs. It sets the A>B output to 1 if A>B. It sets the A=B
output to 1 if A=B
and sets A<B output to 1 if A < B.
• The output A>B is set to 1 when the input combinations are 01 00,
10 00, 10 01, 11
00, 11 01 and 11 10
• The output A=B is set to 1 when the input combinations are 00 00,
01 01, 10 10 and
11 11
• The output A<B is set to 1 when the input combinations are 00 01,
00 10, 00 11, 01
10, 01 11 and 10 11
The circuit has 4-bit input, 2-bits represent A and 2-bits represent B
and a 3-bit output
representing A>B, A=B and A<B. To represent the function of a
Comparator circuit, three
function tables are required for each of the three outputs. A single
function table is
drawn with three outputs. Table 12.1.Page No.20
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‟.
All ABEL equations must end with „;‟
Boolean expression F = AB' + AC +(BD)' is written in ABEL as
F = A & !B # A & C # !B & !D;
Question No: 23 ( Marks: 5 )
Explain Carry propagation in Parallel binary adder?
Ans:
Parralel binary adder:
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
Question:
Write NOR gate table 3mark
Answer:
Write NAND gate table 3mark
Answer:
Write XOR gate table 3mark
Answer:
Question:
8 to 3 bit encoder 5mark
Answer:
Encoder
An Encoder functional device performs an operation which is the
opposite of the Decoder
function. The Encoder accepts an active level at one of its inputs and
at its output
generates a BCD or Binary output representing the selected input.
There are various
types of Encoders that are used in Combinational Logic Circuits.
Binary Encoder
The simplest of the Encoders are the 2n-to-n Encoders. The
functional table and the
circuit diagram of an 8-to-3 Binary Encoder are shown in table 17.2
and figure 17.6
respectively.
Share your feedback/comments at [email protected] to
improve file|| Back to TOP || File Version v1.2.1 published for
Midterm only
CS302 Digital Logic & Design_ Muhammad Ishfaq Page No.25
Question:
Tri-stuff diagram 3mark
Answer:
The output of the OR gate from the OR gate Array is shown to be
connected to a tri-state
buffer input. The tri-state buffer can be activated or deactivated
through the control line
shown connected to its side. The Combinational Output for an SOP
function is
implemented by activating the tri-state buffer which allows the output
of the OR gate to
be inverted by the tri-state buffer and passed to the output of the PAL
device. An activehigh
output can be obtained if the PAL device has active-high output tri-
state buffers.
====================================================
=====>
Short Question (Set-4)
Question No: 17 ( Marks: 2 )
For what values of A, B, C and D, value of the expression given
below will be logic 1.
Explain at least one combination.
Share your feedback/comments at [email protected] to
improve file|| Back to TOP || File Version v1.2.1 published for
Midterm only
CS302 Digital Logic & Design_ Muhammad Ishfaq Page No.26
A.BA.B.C.D
Ans:
Write the uses of multiplexer. 2 marks question
The Multiplexers are used to route the contents of any two registers
to the ALU inputs.
Many Audio signals in telephone network.
Computer use Dynamic Memory addressing using same address line
for row and column
addressing to access data.
Write any two advantages of Boolean expressions. 2 marks question
Boolean expressions which represent Boolean functions help in two
ways. The function
and operation of a Logic Circuit can be determined by Boolean
expressions without
implementing the Logic Circuit. Secondly, Logic circuits can be very
large and complex.
Such large circuits having many gates can be simplified and
implemented using fewer
gates. Determining a simpler Logic circuit having fewer gates which is
identical to the
original logic circuit in terms of the function it performs can be easily
done by evaluating
and simplifying Boolean expressions.
Draw the diagram of odd parity generator circuit. 2 marks question
2 XOR and 1 XNOR gate is used.
by the logic devices; this means that logic gates can be tightly packed
to reduce the
circuit size without having to worry about dissipating the access heat
generated by the
logic devices.
Microprocessors for example generate considerable heat which has
to be dissipated by
mounting small fans. Generally, the Power dissipation of TTL devices
remains constant
throughout their operation. CMOS device on the other hand dissipate
varying amount
power depending upon the frequency of operation.
Question No: 19 ( Marks: 2 )
Name the four OLMC configurations
A typical GAL has eight or more inputs to the reprogrammable AND
array and 8 or more
input/outputs from its „Output Logic Macro Cells‟ OLMCs. The
OLMCs can be
programmed to Combinational Logic or Registered Logic.
Combinational Logic is used for
combinational circuits, where as Registered Logic is based on
Sequential circuits.
The four OLMC configurations are
• Combination Mode with active-low output
• Combinational Mode with active-high output
• Registered Mode with active-low output
• Registered Mode with active-high output
Question No: 20 ( Marks: 3 )
Explain “Test Vector” in context of ABEL
Test Vectors
Once the Logic circuit design has been entered its operation can be
verified by using „test
vectors‟. A „test vector‟ specifies the inputs and the corresponding
outputs. The software
simulates the operation of the logic circuit by applying the test vectors
and checking the
outputs.
Test vectors are essentially the same as Truth Tables. Thus the Test
Vector for testing the
2-bit comparator circuit is the same as its truth table. No.29
Ans:
Parralel binary adder:
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.
Short Question (Set-9)
Question No: 18 ( Marks: 1 )
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.
Question No: 19 ( Marks: 2 )
What will be the out put of the diagram given belowNo.32
A.B + A.B.C.D
Question No: 21 ( Marks: 5 )
Explain “AND” Gate and some of its uses
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.
Question No: 22 ( Marks: 10 )
Write down different situations where we need the sequential circuits.
Digital circuits that use memory elements for their operation are
known as Sequential
circuits. Thus Sequential circuits are implemented by combining
combinational circuits
► +7 to -8 , pg no 34
► +8 to -7
► +9 to -8
► -9 to +8
Question No: 5 ( Marks: 1 ) -
A non-standard POS is converted into a standard POS by using the
rule _____
►
►
AA 0
►
► A+B = B+A
Question No: 6 ( Marks: 1 ) -
The 3-variable Karnaugh Map (K-Map) has _______ cells for min or
max terms
►4
► 8 (Formula, total cell=2(no. of variables)
► 12
► 16
Question No: 7 ( Marks: 1 ) -
The binary numbers A = 1100 and B = 1001 are applied to the inputs
of a comparator.
What are the output levels?
► A > B = 1, A < B = 0, A < B = 1 No.36
► A > B = 0, A < B = 1, A = B = 0
► A > B = 1, A < B = 0, A = B = 0 (page 109)
► A > B = 0, A < B = 1, A = B = 1
Reference pg 109
(The output A>B is set to 1 when the input combinations are 01 00,
10 00, 10 01, 11
00, 11
01 and 11 10
• The output A=B is set to 1 when the input combinations are 00 00,
01 01, 10 10 and
11 11
• The output A<B is set to 1 when the input combinations are 00 01,
00 10, 00 11, 01
10, 01
11 and 10 11
Question No: 8 ( Marks: 1 ) -
When the control line in tri-state buffer is high the buffer operates like
a ________ gate
► AND
► OR
► NOT pg 196
► XOR
Question No: 8 ( Marks: 1 ) -
The GAL22V10 has ____ inputs
► 22 pg 197
► 10
► 44
► 20
Question No: 9 ( Marks: 1 ) -
The ABEL symbol for “OR” operation is
►!
►&
► # ref see picture on pg 201
► $No.40
Question No: 10 ( Marks: 1 ) -
The OLMC of the GAL16V8 is _______ to the OLMC of the
GAL22V10
► Similar pg 207
► Different
► Similar with some enhancements
► Depends on the type of PALs input size
Question No: 11 ( Marks: 1 ) -
All the ABEL equations must end with ________
► “ . “ (a dot)
► “ $ “ (a dollar symbol)
► “ ; “ (a semicolon) pg 210
► “ endl “ (keyword “endl”)
Question No: 12 ( Marks: 1 ) -
The Quad Multiplexer has _____ outputs
►4
►8
► 12
► 16
Question No: 13 ( Marks: 1 ) -
"Sum-of-Weights" method is used __________
► to convert from one number system to other
► to encode data
► to decode data
► to convert from serial to parralel data
Question No: 14 ( Marks: 1 ) -
Circuits having a bubble at their outputs are considered to have an
active-low output.
► False
► True pg # 128
Question No: 15 ( Marks: 1 ) -
(A B)(A B C)(A C)
is an example of ______________
► Product of sum form No.41
► Sum of product form
► Demorgans law
► Associative law
Question No: 16 ( Marks: 1 ) -
Which one is true:
► Power consumption of TTL is higher than of CMOS pg 58
► Power consumption of CMOS is higher than of TTL
► Both TTL and CMOS have same power consumption
► Power consumption of both CMOS and TTL depends on no. of
gates in the circuit.
Question No: 17 ( Marks: 1 )
Which device performs an operation which is the opposite of the
Decoder function?
Ans:
Encoder function. Pg 163
MCQz (Set-4)
Question No: 1 ( Marks: 1 ) -
A SOP expression is equal to 1 ______________
► All the variables in domain of expression are present
► At least one variable in domain of expression is present.
► When one or more product terms in the expression are equal to 0.
► When one or more product terms in the expression are equal
to 1. Pg 86
Question No: 2 ( Marks: 1 ) -
The output A < B is set to 1 when the input combinations is
__________
► A=10, B=01
► A=11, B=01
► A=01, B=01
► A=01, B=10
The output A<B is set to 1 when the input combinations are 00
01, 00 10, 00 11,
01 10, 01 11 and 10 11 pg 109
Question No: 3 ( Marks: 1 ) -
Two 2-bit comparator circuits can be connected to form single 4-bit
comparator
► True
► False
Question No: 4 ( Marks: 1 ) -
High level Noise Margins (VNH) of CMOS 5 volt series circuits is
_____________
► 0.3 V
► 0.5 V
► 0.9 V pg 65
► 3.3 V
Question No: 5 ( Marks: 1 ) -
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
Question No: 6 ( Marks: 1 ) -
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 in OR , if any is one output is 1
► Zero
► 10 (binary)
Question No: 7 ( Marks: 1 ) -
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 pg 220
► RESET
► Clear
► Invalid
Question No: 8 ( Marks: 1 ) -
3.3 v CMOS series is characterized by __________ and
_________as compared to the 5 v
CMOS series.
► Low switching speeds, high power dissipation
► Fast switching speeds, high power dissipation
► Fast switching speeds, very low power dissipation pg 61
► Low switching speeds, very low power dissipation
Question No: 9 ( Marks: 1 ) -
The binary value “1010110” is equivalent to decimal __________
► 86
► 87
► 88
► 89
Question No: 10 ( Marks: 1 ) -
The _______ Encoder is used as a keypad encoder.
► 2-to-8 encoder
► 4-to-16 encoder
► BCD-to-Decimal
► Decimal-to-BCD Priority pg 166
Question No: 11 ( Marks: 1 ) -
How many data select lines are required for selecting eight inputs?
►1
►2
►3
►4
Question No: 12 ( Marks: 1 ) -
NOT
Gate
level
AND
Gate
level
OR Gate
level
MCQz (Set-6)
Question No: 1 ( Marks: 1 ) -
GAL can be reprogrammed because instead of fuses _______ logic
is used in it
► E2CMOS pg 192
► TTL
► CMOS+
► None of the given options
Question No: 3 ( Marks: 1 ) -
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 pg 163
Question No: 4 ( Marks: 1 ) -
Half-Adder Logic circuit contains 2 XOR Gates
► True
► False
Question No: 5 ( Marks: 1 ) -
A particular Full Adder has
► 3 inputs and 2 output pg 34
► 3 inputs and 3 output
► 2 inputs and 3 output
► 2 inputs and 2 output
Question No: 6 ( Marks: 1 ) -
SumABC
CarryOutC(AB) AB
are the Sum and Carry Out expression of
► Half Adder
► Full Adder
► 3-bit parralel adder
► MSI adder cicuit
Question No: 7 ( Marks: 1 ) -
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
► Commutative Law
► Distributive Law
► Associative Law
Question No: 14 ( Marks: 1 ) -
NOR Gate can be used to perform the operation of AND, OR and
NOT Gate
Share your feedback/comments at [email protected] to
improve file|| Back to TOP || File Version v1.2.1 published for
Midterm only
CS302 Digital Logic & Design_ Muhammad Ishfaq Page No.49
► FALSE
► TRUE
Question No: 15 ( Marks: 1 ) -
In ANSI/IEEE Standard 754 “Mantissa” is represented by ___23-
bits______ bits
► 8-bits
► 16-bits
► 32-bits
► 64-bits
23-bits page # 24
Question No: 16 ( Marks: 1 ) -
Caveman number system is Base _5_____ number system
►2
►5
► 10
► 16
====================================================
=====>
MCQz (Set-7)
Question No: 1
The maximum number that can be represented using unsigned octal
system is _______
►1
►7
►9
► 16
Question No: 2
If we add “723” and “134” by representing them in floating point
notation i.e. by first,
►4
Question No: 11
GAL is an acronym for ________.
► Giant Array Logic
► General Array Logic
► Generic Array Logic
► Generic Analysis Logic
Question No: 12
The Quad Multiplexer has _____ outputs
►4
►8
► 12
► 16
Question No: 13
A.(B.C) = (A.B).C is an expression of __________
► Demorgan‟s Law
► Distributive Law
► Commutative Law
► Associative Law
Question No: 14
2's complement of any binary number can be calculated by
► adding 1's complement twice
► adding 1 to 1's complement
► subtracting 1 from 1's complement.
► calculating 1's complement and inverting Most
significant bit
Question No: 15
The binary value “1010110” is equivalent to decimal __________
► 86
► 87
► 88
► 89
Question No: 16
Tri-State Buffer is basically a/an _________ gate.
► AND
► OR
► NOT
► XOR
MCQz (Set-8)
Question No: 2 one
► True
► False
Question No: 14 Please choose one
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)
Question No: 16 Please choose one
The diagram given below represents __________
► Demorgans law
► Associative law
► Product of sum form
► Sum of product form
MCQz (Set-11)
Question No: 1 ( Marks: 1 ) - Please choose one
GAL can be reprogrammed because instead of fuses _______ logic
is used in it
► E2CMOS page191
► TTL
► CMOS+
► None of the given options
Question No: 3 ( Marks: 1 ) - Please choose one
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
Question No: 4 ( Marks: 1 ) - Please choose one
Half-Adder Logic circuit contains 2 XOR Gates
► True
► False
Question No: 5 ( Marks: 1 ) - Please choose one
A particular Full Adder has
► 3 inputs and 2 outputs
► A > B = 0, A < B = 1, A = B = 0
► A > B = 1, A < B = 0, A = B = 0
► A > B = 0, A < B = 1, A = B = 1
Question No: 8 Please choose one
A particular Full Adder has
► 3 inputs and 2 output
► 3 inputs and 3 output
► 2 inputs and 3 output
► 2 inputs and 2 output
Question No: 9 Please choose one
The function to be performed by the processor is selected by set of
inputs known as
________
► Function Select Inputs
► MicroOperation selectorsNo.60
► OPCODE Selectors
► None of given option
Question No: 10 Please choose one
For a 3-to-8 decoder how many 2-to-4 decoders will be required?
►2
►1
►3
►4
Question No: 11 Please choose one
GAL is an acronym for ________.
► Giant Array Logic
► General Array Logic
► Generic Array Logic
► Generic Analysis Logic
Question No: 12 Please choose one
The Quad Multiplexer has _____ outputs
►4
►8
► 12
► 16
Question No: 13 Please choose one
A.(B.C) = (A.B).C is an expression of __________
► Demorgan‟s Law
► Distributive Law
► Commutative Law
► Associative Law
Question No: 14 Please choose one
2's complement of any binary number can be calculated by
► adding 1's complement twice
► adding 1 to 1's complement
► subtracting 1 from 1's complement.
► calculating 1's complement and inverting Most significant bit
Question No: 16 Please choose one
Tri-State Buffer is basically a/an _________ gate.
► AND
► OR
► NOT
► XOR
MCQz (Set-15)
Question No: 1 Please choose one
Which of the number is not a representative of hexadecimal system
► 1234
► ABCD
► 1001
► DEFH hexa does not have H as remainder
Question No: 2 Please choose one
The Unsigned Binary representation can only represent positive
binary numbers No.61
► True
► False
Question No: 3 Please choose one
The values that exceed the specified range can not be correctly
represented and are
considered as________
► Overflow
► Carry
► Parity
► Sign value
Question No: 4 Please choose one
The 4-bit 2‟s complement representation of “-7” is _____________
► 0111
► 1111
► 1001
► 0110
Question No: 7 Please choose one
► 2-to-8 encoder
► 4-to-16 encoder
► BCD-to-Decimal
► Decimal-to-BCD Priority
Question No: 11 Please choose one
How many data select lines are required for selecting eight inputs?
►1
►2
►3
►4
Question No: 12 Please choose one
the diagram above shows the general implementation of ________
form
► boolean
► arbitrary
► POS
► SOP
Question No: 13 Please choose one
The Quad Multiplexer has _____ outputs
►4
►8
► 12
► 16
Question No: 14 Please choose one
Demultiplexer has
► Single input and single outputs.
► Multiple inputs and multiple outputs.
► Single input and multiple outputs.
► Multiple inputs and single output.
Question No: 15 Please choose one
The expression _________ is an example of Commutative Law for
Multiplication.
► AB+C = A+BC
► A(B+C) = B(A+C)
► AB=BA
► A+B=B+A
MCQz (Set-17)
Question No: 3 Please choose one
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
Question No: 4 Please choose one
Half-Adder Logic circuit contains 2 XOR Gates
► True
► False
Question No: 5 Please choose one
A particular Full Adder has
► 3 inputs and 2 output
► 3 inputs and 3 output
► 2 inputs and 3 output No.64
► 2 inputs and 2 output
Question No: 6 Please choose one
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
Question No: 7 Please choose one
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
Question No: 13 Please choose one
A.(B + C) = A.B + A.C is the expression of _________________
► Demorgan‟s Law
► Commutative Law
► Distributive Law
► Associative Law
Question No: 14 Please choose one
NOR Gate can be used to perform the operation of AND, OR and
NOT Gate
► FALSE
► TRUE
====================================================
=====>
MCQz (Set18)
Question No: 10 ( Marks: 1 ) - Please choose one
A logic circuit with an output consists of ________.
► Two AND gates, two OR gates, two inverters
► Three AND gates, two OR gates, one inverter
► Two AND gates, one OR gate, two inverters
► Two AND gates, one OR gate
Question No: 13 ( Marks: 1 ) - Please choose one
Following is standard POS expression
► True
► False
====================================================
=====>
MCQz (Set-19)
Question No: 1 ( Marks: 1 ) - Please choose one
A SOP expression is equal to 1 ______________
Share your feedback/comments at [email protected] to
improve file|| Back to TOP || File Version v1.2.1 published for
Midterm only
CS302 Digital Logic & Design_ Muhammad Ishfaq Page No.65
► All the variables in domain of expression are present
► At least one variable in domain of expression is present.
► When one or more product terms in the expression are equal to 0.
► When one or more product terms in the expression are equal
to 1.
Question No: 2 ( Marks: 1 ) - Please choose one
The output A < B is set to 1 when the input combinations is
__________
► A=10, B=01
► A=11, B=01
► A=01, B=01
► A=01, B=10
Question No: 12 ( Marks: 1 ) - Please choose one
NOT
Gate
level
AND
Gate
level
OR Gate
level
the diagram above shows the general implementation of ________
form
► boolean
► arbitrary
► POS
► SOP
Question No: 13 ( Marks: 1 ) - Please choose one
The Quad Multiplexer has _____ outputs
►4
►8
► 12
► 16
Question No: 14 ( Marks: 1 ) - Please choose one
Demultiplexer has
► Single input and single outputs.
► Multiple inputs and multiple outputs.
► Single input and multiple outputs. Pag 178
► Multiple inputs and single output.
Question No: 15 ( Marks: 1 ) - Please choose one
The expression _________ is an example of Commutative Law for
Multiplication.
► AB+C = A+BC
► A(B+C) = B(A+C)
► AB=BA
► A+B=B+A
MCQz (Set-20)
Question No: 1 ( Marks: 1 ) - Please choose one
GAL can be reprogrammed because instead of fuses _______ logic
is used in it
► E2CMOS
► TTL
► CMOS+
► None of the given options
Question No: 3 ( Marks: 1 ) - Please choose one
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
Question No: 4 ( Marks: 1 ) - Please choose one
Half-Adder Logic circuit contains 2 XOR Gates
► True
► False
Question No: 5 ( Marks: 1 ) - Please choose one
A particular Full Adder has
► 3 inputs and 2 output
► 3 inputs and 3 output
► 2 inputs and 3 output
► 2 inputs and 2 output
Question No: 6 ( Marks: 1 ) - Please choose one
SumABC
CarryOutC(AB) AB
are the Sum and CarryOut expression of
► Half Adder
► Full Adder
► 3-bit parralel adder
► MSI adder cicuit
MCQz (Set-21)
Question No: 1 ( Marks: 1 ) - Please choose one
Question No: 4 ( Marks: 1 ) - Please choose one
NOR gate is formed by connecting _________
► OR Gate and then NOT Gate
► NOT Gate and then OR Gate
► AND Gate and then OR Gate
► OR Gate and then AND Gate
MCQz (Set-22)
Question No: 5 ( Marks: 1 ) - Please choose one
A non-standard POS is converted into a standard POS by using the
rule _____
►
►AA 0
►
► A+B = B+A
Question No: 6 ( Marks: 1 ) - Please choose one
The 3-variable Karnaugh Map (K-Map) has _______ cells for min or
max terms
►4
►8
► 12
► 16
Question No: 7 ( Marks: 1 ) - Please choose one
The binary numbers A = 1100 and B = 1001 are applied to the inputs
of a comparator.
What are the output levels?
► A > B = 1, A < B = 0, A < B = 1
► A > B = 0, A < B = 1, A = B = 0
► A > B = 1, A < B = 0, A = B = 0
► A > B = 0, A < B = 1, A = B = 1
Question No: 8 ( Marks: 1 ) - Please choose one
A particular Full Adder has
► 3 inputs and 2 output
► 3 inputs and 3 output
► 2 inputs and 3 output
► 2 inputs and 2 output
Page No.68
Question No: 9 ( Marks: 1 ) - Please choose one
The function to be performed by the processor is selected by set of
inputs known as
________
► Function Select Inputs
► MicroOperation selectors
► OPCODE Selectors
► None of given option
Question No: 10 ( Marks: 1 ) - Please choose one
For a 3-to-8 decoder how many 2-to-4 decoders will be required?
►2
►1
►3
►4
Question No: 11 ( Marks: 1 ) - Please choose one
GAL is an acronym for ________.
► Giant Array Logic
► General Array Logic
► Generic Array Logic