HANDCRAFTED
HANDCRAFTED
1. Evaluate the arithmetic statement X using a general register center with three-
address, two-address, and one-address instruction formats. Write a program to
evaluate the expression:
X = (A + B) × (C + D).
2. Define the term Computer architecture and Computer organization.
3. What is meant by bus arbitration? List different types of bus arbitration.
4. (i) Draw a diagram of a bus system using MUX, which has four registers of size 4 bits
each.
(ii) Evaluate the arithmetic statement:
X = A + B × [C × D + E × (F + G)]
using a stack-organized computer with zero-address operation instructions.
5. (a) An instruction is stored at location 400 with its address field at location 401. The
address field has the value 500. A processor register R1 contains the number 200.
Evaluate the effective address if the addressing mode of the instruction is:
i) Direct
ii) Immediate
iii) Relative
iv) Register indirect
v) Index with R1 as index register
6. (b) What do you mean by processor organization? Explain various types of processor
organization.
7. (a) List and briefly define the main structural components of a computer.
8. (c) Represent the following conditional control statements by two register transfer
statements with control functions:
If P = 1, then R1 → R2; else if Q = 1, then R1 → R3.
9. (a) A digital computer has a common bus system for 8 registers of 16 bits each. The
bus is constructed using multiplexers.
(i) How many select inputs are there in each multiplexer?
(ii) What is the size of multiplexers needed?
(iii) How many multiplexers are there in the bus?
10. (a) Draw a diagram of a Bus system in which it uses 3-state buffers and a decoder
instead of the multiplexers.
11. (b) Explain in detail multiple bus organization with the help of a diagram.
12. (a) Define the term Computer Architecture.
(b) Draw the basic functional units of a computer.
13. (a) Convert the following arithmetic expressions from infix to postfix:
i) A × B + C × D + E × F
ii) A × [B + C × D + E] / F × (G + H)
14. (a) Describe in detail the different kinds of addressing modes with an example.
(b) Discuss stack Organization. Explain the following in detail:
i) Register stack
ii) Memory stack
15. (b) How memory read and write operations are performed in a computer system?
16. (a) Explain the functional units of a computer system in detail.
17. (a) Explain about stack organization used in processors. What do you understand by a
register stack?
18. (b) What is an effective address? How is it calculated in different types of addressing
modes? Explain.
19. (a) What are the different types of Buses used in computer architecture? Name the
different types of multipliers.
20. (a) What is meant by the term BUS arbitration? Why is it needed? How can bus
arbitration be implemented in Daisy chaining scheme?
21. (a) What do you mean by processor organization? Explain various types of processor
organization with suitable examples.
22. (b) Differentiate between Memory stack and register stack.
23. What is bus arbitration?
UNIT 2
1. (a) Draw the flow chart of Booth’s Algorithm for multiplication and show the
multiplication process using Booth’s Algorithm for (-7) × (+3).
2. (a) What is a microprogram sequencer? With block diagram, explain the working of a
microprogram sequencer.
3. (b) Draw a flowchart for adding and subtracting two fixed-point binary numbers
where negative numbers are signed 1’s complement representation.
4. (c) Discuss biasing with reference to floating point representation.
5. (d) What is the restoring method in division algorithm?
6. Explain in detail the principle of carry look-ahead adder and design a 4-bit CLA
adder.
7. (a) Show the systemic multiplication process of 20 × (-19) using Booth’s algorithm.
8. (b) Explain IEEE standard for floating point representation. Represent the number (-
1460.125) in single precision and double precision format.
9. (d) Design a 4-bit combinational increment circuit using four full adder circuits.
10. (g) Register A holds the binary value 10011101. What is the register value after
arithmetic shift right? Starting from the initial number 10011101, determine the
register value after arithmetic shift left, and state whether there is an overflow.
11. (c) Explain the 2-bit by 2-bit Array multiplier. Draw the flowchart for divide operation
of two numbers in signed magnitude form.
12. (a) A binary floating-point number has seven bits for a biased exponent. The constant
used for the bias is 64.
(i) List the biased representation of all exponents from -64 to +63.
(ii) Show that after the addition of two biased exponents, it is necessary to subtract
64 in order to have a biased exponent’s sum.
(iii) Show that after the subtraction of two biased exponents, it is necessary to add
64 in order to have a biased exponent’s difference.
13. Show the multiplication process using Booth algorithm when the following binary
numbers, (+13) × (-15) are multiplied.
14. (c) Perform the 2’s complement subtraction of smaller number 101101101101 from
larger number 111001111001.
15. (d) What is the role of Multiplexer and Decoder?
16. (b) Design a 4-bit Carry-Look ahead Adder and demonstrate its operation with an
example.
17. (a) Represent the following decimal number in IEEE standard floating-point format in
a single precision method (32-bit) representation method:
i) (65.175)
ii) (-307.1875)
18. (b) Using Booth algorithm, perform the multiplication on the following 6-bit unsigned
integer 10110011 × 11010101.
19. (b) Explain IEEE-754 standard for floating point representation. Express (314.175) in
all the IEEE-754 models.
20. (a) Describe the derivation procedure of look ahead carry adder by an example with
the help of block diagram.
21. (b) Show the systematic multiplication process of (-15) × (-16) using Booth’s
Algorithm.
22. (b) Show the multiplication process using Booth’s algorithm when the following
numbers are multiplied:
(-12) × (-18).
23. (a) Explain in detail the principle of carry look ahead adder and design a 4-bit CLA
adder.
24. (b) Represent the following decimal number in IEEE standard floating-point format in
a single precision method (32-bit) representation method.
i) (85.125)
ii) (-307.1875)
UNIT 3
1. Perform the division process 001111 ÷ 001100.
2. (e) Define micro operation and micro code.
3. (f) Write short notes on RISC.
4. (c) Draw the flowchart for instruction cycle with neat diagram and explain.
5. (a) What is a micro program sequencer? With block diagram, explain the working of
micro program sequencer.
6. (b) Differentiate between hardwired and microprogrammed control unit. Explain
each component of the hardwired control unit organization.
7. (b) Differentiate between horizontal and vertical microprogramming.
8. (a) Write a program to evaluate arithmetic expression using stack organized
computer with 0-address instructions:
X = (A - B) × (((C - D × E) / F) / G).
9. (b) List the differences between hardwired and microprogrammed control in tabular
format. Write the sequence of control steps for the following instruction for single
bus architecture:
R1 → R2 × R3.
10. Write the differences between RISC and CISC.
11. (f) What are the types of microinstructions available?
12. (i) Draw the timing diagram for an instruction and explain.
ii. Give a note on subroutine.
13. What is parallelism and pipelining in computer architecture? Explain in detail.
14. Explain the organization of Microprogrammed control unit in detail.
15. (a) List the steps involved in an instruction cycle.
16. (e) Define instruction cycle.
17. (c) Explain the concept of pipelining and also explain types of pipelining.
18. (a) Write a program to evaluate the arithmetic statement:
P = ((X - Y + Z) × (A^B)) / (C^D × E) using:
i) Two address instructions
ii) One address instructions
iii) Zero address instructions
19. (b) What are the differences between hardwired and micro-programmed control
unit? What are the different phases of an instruction cycle?
20. (c) What is pipelining? What are the different stages of pipelining? Explain in detail.
21. (a) Explain the different cycles of an instruction execution.
22. (b) Differentiate between hardwired and microprogrammed control unit. Explain
each component of hardwired control unit organization.
UNIT 4
1. What is the difference between RAM and DRAM?
2. A two-way set associative memory uses blocks of 4 words. Cache can
accommodate a total of 128K × 3 words from memory. The main memory size is...
3. What is associative memory? Explain with the help of a block diagram. Also,
mention the situations in which associative memory can be effectively utilized.
4. A Computer uses a memory unit with 256 × 32 bits. A binary instruction code is
stored in one word of memory. The instruction has four parts: an index bit, an
operation code, a register code part (to specify one of 64 registers), and an address
part.
(i) How many bits are there in the operation code, the register code part, and the
address part?
(ii) Draw the instruction word format and indicate the number of bits in each part.
(iii) How many bits are there in the data and address inputs of the memory?
5. Define hit ratio.
6. What do you mean by page fault?
7. Discuss 2D RAM and 2.5D RAM with suitable diagrams.
8. (a) Calculate the page fault for a given string with the help of the LRU & FIFO page
replacement algorithms. Size of frames = 4 and string:
1, 2, 3, 4, 2, 1, 5, 6, 2, 1, 2, 3, 7, 6, 3, 2, 1, 2, 3, 6.
9. (b) A computer uses RAM chips of 1024 × 1 capacity.
(i) How many chips are needed & how should their address lines be connected to
provide a memory capacity of 1024 × 8?
(ii) How many chips are needed to provide a memory capacity of 16 KB?
10. What is the difference between RAM and DRAM?
11. (h) What is an Associative memory? What are its advantages and disadvantages?
12. Difference between RAM and DRAM.
13. TYPES OF INSTRUCTION FORMATS.
14. (d) A digital computer has a memory unit of 64K × 16 and a cache memory of 1K
words. The cache uses direct mapping with a block size of four words.
(i) How many bits are there in the tag, index, block, and word fields of the address
format?
(ii) How many bits are there in each word of cache, and how are they divided into
functions? Include a valid bit.
(iii) How many blocks can the cache accommodate?
15. (e) Explain with neat diagrams the address selection for control memory.
16. (a) The logical address space in a computer system consists of 128 segments. Each
segment can have up to 32 pages of 4K words each. Physical memory consists of 4K
blocks of 4K words each. Formulate the logical and physical address formats.
17. (b) How is the Virtual address mapped into physical address? What are the different
methods of writing into cache?
18. (g) What is SRAM and DRAM?
19. (h) What is the difference between 2D and 2.5D memory organization?
20. What do you mean by virtual memory and how does paging help in implementing
virtual memory?
21. (a) Discuss the different mapping techniques, relative merits, and demerits.
22. (d) Discuss in cache memories and their differences.
23. (h) RAM chip 4096 × 8 bits has two enable lines. How many pins are needed for the
integrated circuit package? Draw a block diagram and label all inputs and outputs of
the RAM. What is the main feature of random-access memory?
24. (c) Define bus and memory transfer.
25. (d) Define HIT and MISS ratio in memory with an example.
26. (f) Differentiate between RISC and CISC.
27. (g) List the differences between static RAM and dynamic RAM.
28. (h) Define Virtual memory.
29. (d) Consider a cache consisting of 256 blocks of 16 words each for a total of 4096
words. Assume that the main memory is addressable by a 16-bit address and consists
of 4K blocks. How many bits are there in each of the TAG, SET, WORD fields for 2-way
set associative technique?
30. (a) Discuss the Memory Hierarchy in a computer system with regard to Speed, Size,
and Cost.
31. (b) Write short notes on magnetic disk, magnetic tape, and optical disk.
32. (d) Give classification of memory based on the method of access. Also, discuss the
construction and working of magnetic disk and various components of disk access
time.
33 a. Consider a cache (M1) and memory (M2) hierarchy with the following
characteristics:
M1: 16K words, 50 ns access time
M2: 1M words, 400 ns access time
Assume 8-word cache blocks and set size 256 words with set associative mapping.
i) Show and explain the mapping between M2 and M1.
ii) Calculate the effective memory access time with cache hit ratio = 0.95.
34. b. Explain the direct mapping technique. Consider a digital computer with a memory
unit of 64K × 16 and cache memory of 1K words. The cache uses direct mapping with
a block size of four words.
i) How many bits are there in the tag, block, and word fields of the address format?
ii) How many blocks can the cache accommodate?
UNIT 5
1. What do you understand by Locality of Reference?
2. (a) Write short notes on:
i) Instruction pipeline.
ii) DMA-based data transfer.
3. (b) Explain the difference between vectored and non-vectored interrupt. Explain with
examples of each.
4. (a) Draw the block diagram of a DMA controller. Why are the read and write control
lines in a DMA controller bidirectional?
5. (b) Explain all the phases of an instruction cycle.
6. Explain the term cycle stealing.
7. (j) What do you mean by a vector interrupt? Explain.
8. (e) Draw and explain the block diagram of a typical DMA controller.
9. (a) What do you mean by asynchronous data transfer? Explain strobe control and
handshaking mechanism.
10. (b) Discuss the different modes of data transfer.
11. What do you mean by interrupt? Discuss the types of interrupts with their
applications.
12. Explain the concept of DMA. Differentiate between different modes of DMA
operation.
13. What is meant by an interrupt? Explain the types of interrupts with suitable
examples.
14. (a) Explain the concept of bus arbitration. List and explain different bus arbitration
techniques.
15. (b) Define DMA. Describe the various modes of data transfer in DMA with diagrams.
16. (c) Explain the concept of pipelining with suitable examples. Discuss the advantages
of pipelining.
17. (a) Explain the differences between an interrupt and a polling system.
18. (c) Explain the concepts of data transfer using handshaking. What are the steps
involved in the handshaking procedure?
19. (d) What is bus arbitration? Explain with the help of a diagram the different types of
bus arbitration techniques.
20. (b) Describe the different phases of the instruction cycle with a diagram.
21. Explain the various methods of handling interrupts.
22. (a) Explain the working of DMA-based data transfer. Illustrate with a block diagram.
23. (c) What is the purpose of the instruction pipeline? How does it increase the
performance of a CPU?
24. (d) Discuss in detail the various methods of memory access control.
25. (e) What is Direct Memory Access (DMA)? What are the different modes of DMA and
how do they differ?
26. (b) Write about the types of interrupts in a computer system and their applications.
27. (a) Explain the concept of DMA with appropriate diagrams. Discuss the different
modes of DMA.
28. (c) Describe the differences between vectored and non-vectored interrupts.
29. (f) Explain the concept of handshaking and strobe control in data transfer.
30. (g) What are the various techniques used for bus arbitration? Explain the Daisy chain
method of bus arbitration.
31. (h) Explain cycle stealing in DMA. How does it work?
32. (i) What is pipelining? Explain how pipelining is used in computer architecture for
performance improvement.
33. (b) Explain the various modes of data transfer and discuss the direct memory access
mode in detail. Also, explain how DMA is superior to other modes.