CS3351-DIGITAL-PRINCIPLES-AND-COMPUTER-ORGANIZATION (1)
CS3351-DIGITAL-PRINCIPLES-AND-COMPUTER-ORGANIZATION (1)
Thiruninravur-602024
Question Bank
Department : CSE-B Subject Code : CS3351
Year/ Sem : II/ 03 Subject :Digital Principles and Computer Organization
Regulation : 2021 Staff Incharge : MrS.E.SUJATHA, AP/ECE
VLSI is the abbreviation for Very Large Scale Integration. In this technology millions of
transistors are put inside a single chip as tiny components. The VLSI chips do the function of
millions of transistors. These are Used to implement parallel algorithms directly in hardware
7. Define multiprocessing?
Multiprocessing is the ability of an operating system to support more than one process at the
same time
8. List the eight great ideas invented by computer architecture? APR/MAY-2015
• Design for Moore’s Law
• Use abstraction to simplify design
• Make the common case fast
• Performance via Parallelism
• Performance via Pipelining
• Performance via Prediction
• Hierarchy of Memory
• Dependability via Redundancy
9. Define power wall.
• Old conventional wisdom
• Power is free
• Transistors are expensive
• New conventional wisdom: “Power wall”
• Power expensive
• Transistors“free” (Can put more on chip than can afford to turn on)
29. Distinguish between auto increment and auto decrement addressing mode?
The time required between moving an instruction one step down the pipeline is a
processor cycle.
4. What is meant by pipeline bubble?
To resolve the hazard the pipeline is stall for 1 clock cycle. A stall is commonly called a
pipeline bubble, since it floats through the pipeline taking space but carrying no useful work.
5. What is pipeline register delay?
Adding registers between pipeline stages me adding logic between stages and setup and
hold times
for proper operations. This delay is known as pipeline register delay.
6. What are the major characteristics of a pipeline?
2. The speedup or efficiency achieved by suing a pipeline depends on the number of pipe
stages and the number of available tasks that can be subdivided
7. What is data path?
As instruction execution progress data are transferred from one instruction to another, often
passing through the ALU to perform some arithmetic or logical operations. The registers, ALU,
and the interconnecting bus are collectively referred as the data path.
8. What is a pipeline hazard and what are its types?
Any condition that causes the pipeline to stall is called hazard. They are also called as stalls or
bubbles. The various pipeline hazards are:
Hazard Control Hazard
9. What is Instruction or control hazard?
The pipeline may be stalled because of a delay in the availability of an instruction. For example,
this may be a result of a miss in the cache, requiring the instruction to be fetched from the main
memory. Such hazards are often called control hazards or instruction hazard.
10. Define structural hazards.
This is the situation when two instruction require the use of a given hardware resource at the
same time. The most common case in which this hazard may arise is in access to memory
11. What is side effect?
When a location other than one explicitly named in an instruction as a destination operand is
affected, the instruction is said to have a side effect
12. What do you mean by branch penalty?
The time lost as a result of a branch instruction is often referred to as branch penalty
13. What is branch folding?
When the instruction fetch unit executes the branch instruction concurrently with the execution
of the other instruction, then this technique is called branch folding.
14. What do you mean by delayed branching?
Delayed branching is used to minimize the penalty incurred as a result of conditional branch
instruction. The location following the branch instruction is called delay slot. The instructions in
the delay slots are always fetched and they are arranged such that they are fully executed whether
or not branch is taken. That is branching takes place one instruction later than where the branch
instruction appears in the instruction sequence in the memory hence the name delayed branching
15. Define exception and interrupt.
Exception:
The term exception is used to refer to any event that causes an interruption.
Interrupt:
An exception that comes from outside of the processor. There are two types of interrupt.
1. Imprecise interrupt and 2.Precise interrupt
16. Why is branch prediction algorithm needed? Differentiate between the static and dynamic
techniques.
The branch instruction will introduce branch penalty which would reduce the gain in
performance expected from pipelining. Branch instructions can be handled in several ways to
reduce their negative impact on the rate of execution of instructions. Thus the branch prediction
algorithm is needed.
Static Branch prediction
The static branch prediction, assumes that the branch will not take place and to continue to fetch
instructions in sequential address order.
Dynamic Branch prediction
The idea is that the processor hardware assesses the likelihood of a given branch being taken by
keeping track of branch decisions every time that instruction is executed. The execution history
used in predicting the outcome of a given branch instruction is the result of the most recent
execution of that instruction.
17. What is branch Target Address?
The address specified in a branch, which becomes the new program counter, if the branch is
taken. In MIPS the branch target address is given by the sum of the offset field of the instruction
and the address of the instruction following the branch
18. How do control instructions like branch, cause problems in a pipelined processor?
Pipelined processor gives the best throughput for sequenced line instruction. In branch
instruction, as it has to calculate the target address, whether the instruction jump from one
memory location to other. In the meantime, before calculating the larger, the next sequence
instructions are got into the pipelines, which are rolled back, when target is calculated.
19. What is meant by super scalar processor?
Super scalar processors are designed to exploit more instruction level parallelism in user
programs. This means that multiple functional units are used. With such an arrangement it is
possible to start the execution of several instructions in every clock cycle. This mode of
operation is called super scalar execution.
20. Define pipeline speedup. [ APR/MAY 2012] (A.U.NOV/DEC 2012)
Speed up is the ratio of the average instruction time without pipelining to the average instruction
time with pipelining. Average instruction time without pipelining Speedup= Average instruction
time with pipelining
21. What is Vectorizer?
The process to replace a block of sequential code by vector instructions is called vectorization.
The system software, which generates parallelism, is called as vectorizing compiler.
22. What is pipelined computer?
When hardware is divided in to a number of sub units so as to perform the sub operations in an
overlapped fashion is called as a pipelined computer.
23. List the various pipelined processors.
8086, 8088, 80286, 80386. STAR 100, CRAY 1 and CYBER 205 etc
24. Classify the pipeline computers.
Based on level of processing → processor pipeline, instruction pipeline, arithmetic pipelines
Based on number of functions→ Uni-functional and multi functional pipelines.
Based on the configuration → Static and Dynamic pipelines and linear and non linear pipelines
Based on type of input→ Scalar and vector pipelines.Asf
25. Define Pipeline speedup.
The ideal speedup from a pipeline is equal to the number of stages in the pipeline.
26. Write down the expression for speedup factor in a pipelined architecture.
The speedup for a pipeline computer is S = (k + n -1) tp
Where,K → number of segments in a pipeline,N → number of instructions to be executed. Tp →
cycle time
27. What are the problems faced in instruction pipeline.
Resource conflicts → Caused by access to the memory by two at the same time. Most of the
conflicts can be resolved by using separate instruction and data memories.
Data dependency → Arises when an instruction depends on the results of the previous instruction
but this result is not yet available.
Branch difficulties → Arises from branch and other instruction that change the value of PC
(Program Counter).
28. What is meant by vectored interrupt?
An interrupt for which the address to which control is transferred is determined by the cause of
the exception.
29. What is the need for speculation?
One of the most important methods for finding and exploiting more ILP is speculation. It is an
approach whereby the compiler or processor guesses the outcome of an instruction to remove it
as dependence in executing other instructions. For example, we might speculate on the outcome
of a branch, so that instructions after the branch could be executed earlier.
Speculation (also known as speculative loading ), is a process implemented in Explicitly Parallel
Instruction Computing ( EPIC ) processors and their compiler s to reduce processor-memory
exchanging bottlenecks or latency by putting all the data into memory in advance of an actual
load instruction
30. Define Imprecise , Precise interrupt
Imprecise interrupt
Also called imprecise exception. Interrupts or exceptions in pipelined computers that are
not associated with the exact instruction that was the cause of the interrupt or exception.
Precise interrupt
Also called precise exception. An interrupt or exception that is always associated with the
correct instruction in pipelined computers
31. What are the advantages of pipelining?
The cycle time of the processor is reduced; increasing the instruction throughput.Some
combinational circuits such as adders or multipliers can be made faster by adding more circuitry.
If pipelining is used instead, it can save circuitry vs. a more complex combinational circuit.
32. What is Program counter (PC)(Fetching)
The register containing the address of the instruction in the program being executed