CS3351 Unit WISE Question Bank
CS3351 Unit WISE Question Bank
ORGANIZATION
UNIT I
COMBINATIONAL LOGIC
2. Construct the full adder using two half adder and OR gate. (APR/MAY 2019)
5. Draw the truth table for half adder circuit. (APR/MAY 2019)
1
6. What is meant by decoder circuit? (APR/MAY 2019)
A decoder is a multiple-input, multiple-output logic circuit that converts coded inputs into coded
outputs, where the input and output codes are different. The input code generally has fewer bits than
the output code, and there is one-to-one mapping from input code words into output code words.
7. Why NAND and NOR gates are called universal gates? (APR/MAY 2018)
A universal gate is a gate which can implement any Boolean function without need to use any
other gate type. The NAND and NOR gates are called as universal gates because they can perform all
these three essential functions of AND ,OR,NOT gates.
8. What do you mean by magnitude comparator?(NOV/DEC2019)
A magnitude digital Comparator is a combinational circuit that compares two digital or binary
numbers in order to find out whether one binary number is equal, less than, or greater than the other
binary number. We logically design a circuit for which we will have two inputs one for A and the
other for B and have three output terminals, one for A > B condition, one for A = B condition, and
one for A < B condition.
9. Distinguish between a decoder and encoder.
Encoder: It converts the applied information signal into a coded digital bit stream.
The number of inputs accepted by an encodes is 2 n.
The output lines for an encoder are n.
Decoder: It performs reverse operation and recovers the original information signal from the coded
bits.
The number of inputs accepted by decoder is only n inputs.
The output lines of an decoder is 2 n.
10. What is multiplexer?(NOV/DEC2022)
A mux is a combinational circuit that selects binary information fr4om one of many input lines And
direct it to a single output line. The selection particular input line is controlled by a set of selection
lines. Normally, there are 2n input lines and n selection lines whose bits combination determines
which input is selected.
1. Design a 4-bit binary adder/sub tractor circuit. (APR/MAY 2019) (APR/MAY 2023)
2. Explain the logic diagram for priority encoder. (APR/MAY 2019) (APR/MAY 2023)
3. Design a full adder using two half adder and verify the truth table. (APR/MAY 2023)
2
5. Design and verify BCD to grey code conversion. (APR/MAY 2019)
2. Outline the design of 3 to 8 line decoder circuit using NOT and AND gates and also present
Truth table for the same. (NOV/DEC2022)
3
SUBJECT CODE & NAME: CS3351 &DIGITAL PRINCIPLES &COMPUTER
ORGANIZATION
UNIT-2
SYNCHRONOUS SEQUENTIAL LOGIC
1 A simple latch is the basis for flip-flop It is built by connection some additional
components around a latch.
2 It operates with signals levels and their It have their content change only either at the
content changes immediately when their rising edge or falling edge of the enable
inputs change. signal.
3 It is also called as level sensitive devices It is also called as edge sensitive device.
The output responds to the changes in the input only at the positive or negative edge of the clock pulse
at the clock Input.
3. Draw the logic diagram and write the function of D-latch. (APR/MAY 2019)
1 These are digital circuits governed by clock These are digital circuits that are not driven
signals by clock
2 They bare also called as clocked sequential They can be called as self timed circuits
Circuits
3 Output behavior on the input at discrete time Output depends on the sequence in which the
input changes
1 Memory unit is not required Memory unit is need to store the past input
states.
4
2 Faster than sequential circuit Slower than combinational circuit
In the latches, their outputs are constantly affected by their inputs as long as the enable signal is
asserted.Simply,storing elements that operate with signal levels and their content changes immediately
when their input changes.
A ring counter is a circular shift register with only one flip-flop being set at any particular time and all
others are cleared .The single bit is shifted from one flip-flop to the next to produce the sequence of
timing signal.
State diagram is a graphical representation of the information available in the state table .Here, a state
is represented by a circle and the transitions between states are indicated by directed lines connecting
the circles.
Each line originates at a present state and terminates at a next state , depending on the input applied
when the circuit is in the present state.
2. Realize D-flip-flop using SR flip-flop and construct 4-bit down counters using logic gates.
(APR/MAY 2023)
3. Give the analysis and design of clocked sequential circuits. (APR/MAY 2023)
4. Outline the Moore model and Mealey model of sequential circuits with neat diagram.
(NOV/DEC 2022)
5
Refer notes I page no:111-113
5. What is shift-registers? Outline the design of 4-bit shift registers with neat diagram.
(NOV/DEC 2022)
6
SUBJECT CODE & NAME: CS3351 &DIGITAL PRINCIPLES &COMPUTER
ORGANIZATION
5. What are addressing modes? Outline the types of addressing modes with an example.
(NOV/DEC2022)
Refer notes II page no:24-27
2.Write a program to evaluate the arithmetic statement Y=(A+B)*(C+D) using three address,
two-address, one-address and zero-address instructions.
Refer Notes I Page no (134-135)
8
SUBJECT CODE & NAME: CS3351 &DIGITAL PRINCIPLES &COMPUTER
ORGANIZATION
UNIT-IV
PROCESSOR
1. What do you mean by pipelining? List its types. (APRIL/MAY 2023), (NOV/DEC 2022)
The pipelining is a technique of decomposing a sequential process into stub operations with each stub
process being executed in a special dedicated segment that operated concurrently with all other
segments.
2. Differentiate data hazards and control hazards. (APRIL/MAY 2023)
Whether either the source or the destination operands of an instruction are not available at the time
expected in the pipeline and as a result pipeline is stalled, we say such a situation, is a data hazard.
The hazard due to pipelining branch and other instructions that change the contents of program counter
is called instruction or control hazard.
3. What is program counter? (NOV/DEC 2022)
PC is a specialized register and contains the memory address of the next instruction to be fetched and
executed. During the execution of an instruction, the contents of the PC are updated to correspond to
the address of the next instruction to be executed.
4. Define instruction fetch cycle.(APRILMAY 2018)
In this cycle, the instruction is fetched from the memory location whose address I sin the PC.This
instruction is placed in the IR in the processor.
5. Define data path.
Data path is a unit use to operate on or hold data within processor. Its elements include the instruction
and data memories, the register file, the ALU and adders.
6. What is meant by hazards in pipelining?
Any reason that causes the pipelining to stall is called a hazard.
7. Mention the various phases in executing an instruction.
Fetch, decode, execute, store.
8. Name the control signals required to perform arithmetic operation.
Control signal RegDst,Regwrite and ALUop1 are required to perform arithmetic operation
9. What are the types of data hazards?
RAW, WAW,WAR
10. Define pipeline bubble/pipeline stall.
It is a delay in execution of an instruction in an instruction pipeline in order to resolve a hazard.
2. Outline the control unit with neat diagram and state the functions performed by control unit.
(NOV/DEC 2022)
Refer notes II page no:45-47
4. What are pipeline hazards? List the types of pipeline hazards. (NOV/DEC 2022)
10
SUBJECT CODE & NAME: CS3351 &DIGITAL PRINCIPLES &COMPUTER
ORGANIZATION
5. How many total bits are required for direct mapped cache with 16 kb o data and 4-word
blocks, assuming a 32-bits address?
16kb =4K words=212 words
Block size of 4 words=210 blocks
Each block has 4x32=128 bits of data +tag+valid bit
Tag+valid bit=(32-10-2-2)+=19
Total cache size=210(128+19)=2 10x147
147kb are needed for the cache.
6. What is called a hub?
Each node of the tree has a device called a hub which acts as an intermediate control point between the
host and the I/O devices
7. What are the characteristics of semiconductor RAM memories?
Cycle time range from 100ns to less than 10 ns
Replaced the expensive magnetic core memories
Used for implementing memories
1. Explain detail about DMA operation. Discuss about modes of DMA. (APRIL/MAY2023)
Refer notes II page no:76-79
12