2 Marks Dpco
2 Marks Dpco
2 Marks Dpco
2 marks DPCO
Why NAND and NOR gates are called universal gates? [A/M ─18]
The NAND and NOR gates are called universal gates because; these gates are used toperform any
type of logic applications.
A B Y = (̅𝐴̅+̅𝐵
)
0 0 1
0 1 0
1 0 0
1 1 0
Suggest a solution to overcome the limitation on the speed of an adder. [ N/D – 09]
It is possible to increase speed of adder by eliminating inter-stage carry delay. This method
utilizes logic gates to look at the lower-order bits of the augend and addend to see if a higher-
order carry is to be generated.
What is the difference between half adder and full adder? [ N/D – 07]
Half Adder Full Adder
Full-adder, along with augend and addend
Half adder takes two binary-inputs i.e.
takes third additional bit Cin as input. Cin
augend and addend bits and gives out two
represents the carry from the previous lower
binary outputs as sum and carry.
significant position.
Half-adder is not used in practice. Full-adder is used in practice.
What will be the maximum number of outputs for a decoder with a 6 bit data word? [M/J – 09]
The maximum number of outputs for a decoder with a 6 bit data word is 26 = 64.
Unit II
Synchronous Sequential Circuits
0 0 0 X
0 1 1 X
1 0 X 1
1 1 X 0
The output of the first flip-flop drives All the flip-flops are clocked the clock
simultaneously. for next flip-flop.
They are slow, because the clock is As clock is simultaneously given to all
propagated through number of flip-flops flip-flops there is no problem of
propagation delay.
before it reaches last flip flop.
Logic circuit is very simple even for more Design involves complex logic circuit as
number of states. number of states increases.
RS flip-flop
SR flip-flop
D flip-flop
JK flip-flop
T flip-flop
What is the difference between serial transfer and parallel transfer? What is the
type of register used in each case?
When data is transferred one bit at a time, the process of transfer is known as serial transfer.
When multiple bits are transferred at a time, the process is known as parallel. For parallel
transfer, we can use parallel in and parallel out register. For serial transfer we can use left shift
or right shift register.
1 Memory elements are clocked flip- Memory elements are either un-
flops. clocked flip-flops or time delay
elements.
2 The change in input signals can The change in input signals can affect
affect memory element upon memory element at any instant of time.
activation of clock signal.
3 It is slower. It is faster.
What do you mean by the term ‘state table’? What does each row, column and entry
of the state table represent?
The state table is a tabular representation of the relationship between the present state, the input,
the next state and the output. Each column of the state table corresponds to one input symbol, and
each row of the state table corresponds to one state. The entries corresponding to each
combination of the input symbols and the present state specify the output that will be generated
and the next state to which the machine will go.
Compare the state diagram and the state table.
Both the state diagram and the state table contain the same information and the choice
between the two representations is a matter of convenience. Both have the advantage of being
precise, unambiguous, and thus more suitable for describing theoperation of a sequential machine
than that by any verbal description. The succession of states through which a sequential machine
passes and the output sequence which it produces in response to a known input sequence are
specified uniquely by the state diagram or by the state model and the initial state.
What is an excitation table? What information does it give?
An excitation table is a table which lists the present states, the excitations and the next states. It
gives information about the excitations or inputs required to be applied to the memory elements
in the sequential circuit to bring the sequential machine from the present state to the next state.
It also gives information about the outputs of the machine after application of the present inputs.
By how many models are synchronous sequential circuits represented? Name them.
Synchronous or clocked sequential circuits are represented by two models.
They are:
o Moore circuit (or model)
o Mealy circuit (or model)
What is a Mealy machine?
o The Mealy machine (circuit or model) is a sequential circuit in which the output
depends onboth the present state of the flip-flops and on the inputs
UNIT III
1. Classify the instructions based on the observations they perform and give one example to
each
category
Clock Rate
16. How to represent Instruction in a Computer System?
1. Opcode
2. Operand Address 1
3. Operand Address 2
Computer Architecture Is Defined As The Functional Operation Of The Individual H/W Unit In A
Computer System And The Flow Of Information Among The Control Of Those Units.
Computer H/W Is The Electronic Circuit And Electro Mechanical Equipment that Constitutes the
Computer
The memory arithmetic and logic ,and input and output units store and process information and
perform i/p and o/p operation, the operation of these unit must be co ordinate in some way this is the
task of control unit the cu is effectively the nerve center that sends the control signal to other units and
sence their states.
4. What is an interrupt?
An interrupt is an event that causes the execution of one program to be suspended and
• Debugging
RISC CISC
Simple instructions take one cycle per Complex instruction take multiple
Few instructions and address modes areUsed. Many instruction and address
Modes.
Fixed format instructions are used. Variable format instructions are used
Instructions are compiled and then executed by Instructions are interpreted by the
hardware.
Microprogram and then executed.
RISC machines are multiple registerset. CISC machines use single registerSet.
RISC machines are higly piplined CISC machines are not piplined.
• Data transfers between the main memory and the CPU registers
• I/O transfers
• Input unit
• Output unit
• Control unit
• Memory unit
An I/O channel is actually a special purpose processor, also called peripheral processor. The main
processor initiates a transfer by passing the required information in the input output channel. The
channel then takes over and controls the actual transfer of data.
Define MIPS .
MIPS:One alternative to time as the metric is MIPS(Million Instruction Per Second) MIPS=Instruction
count/(Execution time x1000000). This MIPS measurement is also called Native MIPS todistinguish it from some
alternative definitions of MIPS.
Define pipelining.
Pipelining is a technique of decomposing a sequential process into sub operations with
each sub process being executed in a special dedicated segment that operates concurrently with all other
segments.
Define parallel processing.
Parallel processing is a term used to denote a large class of techniques that are used to
provide simultaneous data-processing tasks for the purpose of increasing the computational speed of a
computer system. Instead of processing each instruction sequentially as in a conventional computer, a
parallel processing system is able to perform concurrent data processing to achieve faster execution time.
The transfer of instructions through various stages of the CPU instruction cycle.,including
fetch opcode, decode opcode, compute operand addresses. Fetch operands, execute Instructions and store results. This
amounts to realizing most (or) all of the CPU in the form of multifunction pipeline called an instruction pipelining
1) Hardwired control
2) Microprogrammed control
cache misses.
UNIT V
What is Cluster?
Clusters are generally collections of computer connected to each other over their I/O
interconnect via standard network switches and cables. Clusters are the best example of
message passing parallel computer.
What are the three major distinctions Warehouse Scale computers have?
How many total bits are required for a direct map cache with 16KB of data and 4-
word blocks, assuming a 32bit address?
Solution:
We know that 16KB is 4096, 4K words is 212 words.
Block size of 4 words (22), there are 1024 (210) blocks.
Each block has 4 x 32 = 128 bits of data plus a tag.
Thus the total catch size is: 210 x (128+(32-10-2-2)+1) = 210 x 147 = 147 bits
What is the use of DMA controller?
Used for high speed I/O devices
Device interface transfers data directly to or from the memory
Processor not continuously involved