Computer Architecture - Unit Wise Questions
1. Write down the code to evaluate Y = A/B + CD + E (F/G) in three address, two address, one address and zero address instruction format.
AI is thinking...
2. Explain the mapping function. Why replacement algorithm is used in set associative mapping? Explain with example.
AI is thinking...
3. Differentiate between interrupt driven I/O with programmed I/O. Explain with example how data transfer is performed in direct memory access(DMA).
AI is thinking...
4. Differentiate between fixed point representation and floating point representation.
AI is thinking...
4. What is an error detection code? Explain.
AI is thinking...
4. Explain the error detection codes with example.
AI is thinking...
4. Explain the computer components.
AI is thinking...
4. Explain the error detection code with example.
AI is thinking...
4. Explain the Grey code with example.
AI is thinking...
4. Differentiate between parity checker and parity generator.
AI is thinking...
4.Explain the floating point addition and subtraction with flowchart.
AI is thinking...
5. Comparison between RISC and CISC.
AI is thinking...
6. What are the key characteristics of computer memory system? Explain.
AI is thinking...
7. Explain input/output interface with example.
AI is thinking...
8. Compare the different types of addressing modes with example.
AI is thinking...
9. Explain the microprogram control unit with example.
AI is thinking...
11. Differentiate between I/O bus and interface modules.
AI is thinking...
10. Briefly explain fixed-point representation of numbers. What is the signed magnitude, 1’s complement and 2’s complement of -9?
AI is thinking...
10. Explain the non-restoring division algorithm with example.
AI is thinking...
11. Explain the input-output processor with block diagram.
AI is thinking...
12. Explain the data manipulation instruction with example.
AI is thinking...
12. Explain an inter connection network and its use.
AI is thinking...
13. Example the process of overflow detection with both signed and unsigned numbers.
AI is thinking...
13. Explain with example of Arithmetic microoperations.
AI is thinking...
14. Explain memory management hardware with example.
AI is thinking...
15. Write short notes on the following:
a) Virtual memory
b) Register organization.
AI is thinking...
15. Write short notes on the following.
a) Integer representation
b) Subroutines
AI is thinking...
5. Explain register transfer language with example.
AI is thinking...
5. Draw a circuit diagram to implement AND, OR, EX-OR, NOT and logic '1' logic microoperations.
AI is thinking...
5. What do you mean by shift micro-operations? Explain.
AI is thinking...
5. Explain the arithmetic logic shift unit.
AI is thinking...
5. Differentiate between logic microoperations and shift microoperations.
AI is thinking...
5. Design the binary adder-subtractor with example.
AI is thinking...
5. Explain the logic micro operations with example.
AI is thinking...
6. What do you mean by logic micro-operations?
AI is thinking...
14. Define selective-set, selective-complement, selective-clear, mask, insert and clear operation with an example.
AI is thinking...
4. Draw an instruction cycle and state diagram with interrupt and explain it.
AI is thinking...
4. Explain the bus interconnection scheme with diagram.
AI is thinking...
5. What do you mean by instruction format? Explain with an example.
AI is thinking...
4. What do you mean by instruction format? Explain.
AI is thinking...
4. What do you understand by instruction set completeness? Explain.
AI is thinking...
5. Explain the stored-program concept with example.
AI is thinking...
5. What do you mean by interrupt? Draw and explain the flowchart for interrupt cycle.
AI is thinking...
6. Explain the I/O instruction with example.
AI is thinking...
6. What do you mean by computer register and computer instructions? Explain.
AI is thinking...
6. What do you understand by instruction format? Explain.
AI is thinking...
7. Explain the hardwired control unit with its advantages.
AI is thinking...
8. Explain the types of instruction format and compare each of them.
AI is thinking...
11. Explain about the basic computer instruction format. When instruction set is said to be complete.
AI is thinking...
13. Describe different types of instructions based on the number of addresses used with examples.
AI is thinking...
1. Differentiate between hardwired and microprogrammed control unit. Describe with example of microprogram sequencer used in microprogrammed control unit.
AI is thinking...
1. Explain the Micro program sequence with example.
AI is thinking...
3. What is the general model of Microprogram Control Unit? Explain the major steps when you designing of microprogram control unit.
AI is thinking...
3. What is a microprogram sequencer? With block diagram, explain the working of microprogram sequencer.
AI is thinking...
5. Differentiate between Hardwired and Micro program control unit.
AI is thinking...
7. Explain the symbolic microinstruction with example.
AI is thinking...
8. Differentiate between hardwired control unit and microprogram control unit.
AI is thinking...
7. Differentiate between Hardwired control and micro-program control unit.
AI is thinking...
7. Differentiate between hardwired control unit and microprogrammed control unit.
Answered by: Ranjit Shrestha
Hardwired Control Unit
1. Hardwired control unit generates the control signals needed for the processor using logic circuits 2. Hardwired control unit is faster when compared to microprogrammed control unit as the required control signals are generated with the help of hardwares 3. Difficult to modify as the control signals that need to be generated are hard wired 4. More costlier as everything has to be realized in terms of logic gates 5. It cannot handle complex instructions as the circuit design for it becomes complex 6. Only limited number of instructions are used due to the hardware implementation 7. Used in computer that makes use of Reduced Instruction Set Computers(RISC)
Microprogrammed Control Unit
1. Micrprogrammed control unit generates the control signals with the help of micro instructions stored in control memory
2. This is slower than the other as micro instructions are used for generating signals here
3.Easy to modify as the modification need to be done only at the instruction level
4.Less costlier than hardwired control as only micro instructions are used for generating control signals
5. It can handle complex instructions
6. Control signals for many instructions can be generated
7.Used in computer that makes use of Complex Instruction Set Computers(CISC)
AI is thinking...
8. What do you mean by control memory? Explain the microinstructions and microoperation format.
AI is thinking...
8. What do you mean by field decoding? Explain.
AI is thinking...
10. Differentiate between hardwired control unit and a micro programmed control unit.
Answered by: Ranjit Shrestha
Hardwired Control Unit
1. Hardwired control unit generates the control signals needed for the processor using logic circuits 2. Hardwired control unit is faster when compared to microprogrammed control unit as the required control signals are generated with the help of hardwares 3. Difficult to modify as the control signals that need to be generated are hard wired 4. More costlier as everything has to be realized in terms of logic gates 5. It cannot handle complex instructions as the circuit design for it becomes complex 6. Only limited number of instructions are used due to the hardware implementation 7. Used in computer that makes use of Reduced Instruction Set Computers(RISC)
Microprogrammed Control Unit 1. Micrprogrammed control unit generates the control signals with the help of micro instructions stored in control memory 2. This is slower than the other as micro instructions are used for generating signals here 3.Easy to modify as the modification need to be done only at the instruction level 4.Less costlier than hardwired control as only micro instructions are used for generating control signals 5. It can handle complex instructions 6. Control signals for many instructions can be generated 7.Used in computer that makes use of Complex Instruction Set Computers(CISC)
AI is thinking...
2. Explain the various types of addressing modes and compare them algorithm, advantages and disadvantages.
AI is thinking...
1. Explain the different types of addressing modes and compare each other.
AI is thinking...
1. In the RISC architecture, what is meant by over lapping register window? Explain the relationship among register windows with over lapping register windows.
AI is thinking...
2. Explain with example of Data manipulation instructions.
AI is thinking...
3. Explain data transfer and manipulation instruction with example.
AI is thinking...
3. What do you understand by data transfer and manipulation instruction ? Explain in detail with the help of suitable examples.
AI is thinking...
6. Explain the data transfer instruction with example.
AI is thinking...
6. Write codes using 3, 2 and 1 address instruction formats to perform the given operation.
X = A/B + C x D/C
AI is thinking...
7. Explain the various addressing modes with example.
AI is thinking...
5. Explain the logic micro instructions with practical example.
AI is thinking...
6. Write down the code to evaluate y = A(B/C – D) + E for one, two and three instruction format.
AI is thinking...
6. Differentiate between CISC and RISC architectures.
AI is thinking...
6. Explain with an example, how effective address is calculated in different types of addressing modes.
AI is thinking...
6. What do you mean by input and output interrupt? Explain.
AI is thinking...
6. Explain the computer instruction with example.
AI is thinking...
6. Explain the input-output interrupt with example.
AI is thinking...
7. Mention the different types of data transfer instructions and explain with example.
AI is thinking...
7. Mention the type of interrupt and explain it.
AI is thinking...
7. Differentiate between direct and indirect addressing modes.
AI is thinking...
7. Write a program to evaluate the arithmetic statement X = A + C (D - F) / G using two addresses and three address instruction.
AI is thinking...
8. What do you mean by addressing mode? Explain.
AI is thinking...
8. Explain the CISC architecture with example.
AI is thinking...
8. Explain with example of Data transfer instructions.
AI is thinking...
9. What are the major differences between RISC and CISC architecture.
AI is thinking...
9. What do you mean by addressing modes? Differentiate between indexed addressing modes and base register addressing mode.
AI is thinking...
9. What are the typical characteristics of RISC instruction set architecture? Explain.
AI is thinking...
9. Write down the following equation in three address, two address and one address instruction.
Y = AB + (C × D) + E( F / G)
AI is thinking...
10. Explain the characteristics of RISC and CISC.
AI is thinking...
11. Differentiate between RISC and CISC architecture.
AI is thinking...
12. Differentiate between RISC and CISC architecture.
AI is thinking...
13. Explain the data transfer instructions with example.
AI is thinking...
12. Explain Overlapped register windows with suitable example.
AI is thinking...
12. Explain the logical and bit manipulation instruction with example.
AI is thinking...
13. Explain the data transfer and manipulation instruction with example.
AI is thinking...
13. What are the characteristics of CISC and RISC processes? Explain.
AI is thinking...
13. Explain data transfer instruction with example.
AI is thinking...
14. Differentiate between RISC and CISC processor.
AI is thinking...
1. What do you mean by pipeline? Explain with spare diagram for a six segmented pipeline showing the time it takes to process eight tasks.
AI is thinking...
AI is thinking...
3. What are the different types of pipe line hazards? Explain each pipe line hazard with example.
AI is thinking...
8. Explain an instruction pipeline with suitable examples.
AI is thinking...
7. Differentiate between instruction pipe line and an arithmetic pipe line.
AI is thinking...
9. How performance of computer is increased using pipeline. Explain with practical example.
AI is thinking...
1. Explain the restoring division algorithm with example.
AI is thinking...
1. Describe the Booth multiplication algorithm with the help of flow chart and suitable example.
AI is thinking...
1. Write down the non-restoring division flowchart algorithm and divide 5/3 using non-restoring division.
AI is thinking...
2. Explain the Booth multiplication algorithm with hardware implementation diagram. Multiply -4 x -3 using Booth multiplication algorithm.
AI is thinking...
1. Explain the non-restoring division algorithm with example.
AI is thinking...
3. Explain the non-restoring division algorithm with flow chart, and hardware implementation diagram. Divide 10/3 using restoring division.
AI is thinking...
3. Explain the non-restoring Division algorithm, flow chart hardware implementation with example.
AI is thinking...
9. Explain the Booth Multiplication algorithm with example.
AI is thinking...
10. Differentiate between restoring division and non-restoring division.
AI is thinking...
8. Divide 10/4 using non-restoring division.
AI is thinking...
9. Describe the steps of multiplication process using Booth algorithm with example.
AI is thinking...
9. Show the step-by-step multiplication process using booth’s algorithm, when +14 is multiplied by -14. Assume 5-bit registers that hold signed numbers.
AI is thinking...
9. Explain the Booth algorithm with example.
AI is thinking...
10. Show the steps of multiplication process using Booth algorithm of the following binary numbers:
Y = 8 x 10.
AI is thinking...
10. Explain the subtraction algorithm with signed 2’s compliment.
AI is thinking...
10. Explain the Booth algorithm. Multiply 3 x 5 using booth algorithm.
AI is thinking...
11. Explain the booth algorithm with example.
AI is thinking...
15. Write short notes on the following:
(a) Parity generator
(b) Array multiplier
AI is thinking...
1. What is Input-Output Processor (IOP)? Why IOP is needed in Computer Science? Explain.
AI is thinking...
3. Define the I/O Interface. Comparison between programmed I/O, Interrupt driven I/O and direct memory access (DMA).
AI is thinking...
2. Why do computers need input-output interface? Explain the sequence of operations carried out during CPU-IOP communication with the help of suitable flowchart.
AI is thinking...
2. Explain the DMA controller with block diagram.
AI is thinking...
2. What do you mean by I/O interface? Explain the I/O bus and Interface module.
AI is thinking...
2. What are the major differences between I/O bus and interface modules? What are the advantage and disadvantage of each?
AI is thinking...
2. What do you mean by DMA? Explain the operation of DMA controller in detail with the help of a suitable diagram.
AI is thinking...
2. Explain the DMA controller with block diagram. How the DMA interact with I/O device? Explain.
AI is thinking...
3. What are the three possible modes to transfer the data to and from peripherals? Explain.
AI is thinking...
3. Differentiate between isolated I/O and memory mapped I/O. What are the advantages and disadvantages of each?
AI is thinking...
3. What is input output interface? Differentiate between Input-output bus and memory bus?
AI is thinking...
7. What the difference is between isolated and memory mapped I/O? What are the different types of I/O commands.
AI is thinking...
8. What are the different types of I/O techniques? Explain.
AI is thinking...
8. Differentiate between isolated and memory mapped I/O.
AI is thinking...
9. What do you mean by DMA controller? What the three register is used in DMA controller? Explain.
AI is thinking...
11. Differentiate between Input-output processor with Direct memory access.
AI is thinking...
10. Describe the interrupt initiated I/O mode of data transfer in brief.
AI is thinking...
10. Differentiate between I/O bus and interface modules.
AI is thinking...
12. Differentiate between isolated versus memory mapped I/O.
AI is thinking...
10. Explain the data communication processor with example.
AI is thinking...
11. Differentiate between isolate and memory mapped I/O.
AI is thinking...
11. How does DMA controller work? Give an example of DMA data transfer.
AI is thinking...
11. Differentiate between isolated I/O and Memory Mapped I/O.
AI is thinking...
11. What are the difference between I/O bus and interface modules? Explain.
AI is thinking...
12. What are the major differentiate between Input-output processor (IOP) and direct memory Access (DMA).
AI is thinking...
12. Differentiate between Input-Output Processor (IOP) and Direct Memory Access (DMA).
AI is thinking...
12. What is the main function of DMA? Mention the three points DMA configurations.
AI is thinking...
12. Explain the I/O processor with block diagram.
AI is thinking...
12. What is DMA transfer? Explain.
AI is thinking...
13. What is the role of input-output processor (IOP) in computer system? Explain.
AI is thinking...
13. What are the different types of I/O commands? Explain.
AI is thinking...
14. What do you mean by interface? What are the major differences between I/O bus and memory
bus?
AI is thinking...
16. Write short notes on:
(a) Data communication processor
(b) Computer Instructions
AI is thinking...
15. Write short notes on the following:
(a) Interrupt cycle
(b) DMA
AI is thinking...
1. Explain the hierarchy of memory system? What are the key characteristics of memory system? Explain.
AI is thinking...
1. Explain address mapping using pages. A virtual memory system has an address space of 8K words, a memory space of 4K words, and page and block sizes of 1K words The following page reference changes occur during a given time interval. (Only page changes are listed. If the same page is referenced again, it is not listed twice).
4 2 0 1 2 6 1 4 0 1 0 2 3 5 7
Determine the four pages that are resident in main memory after each page reference change if the replacement algorithm used is (a) FIFO (b) LRU
Address Mapping Using Pages
A physical memory is broken down into groups of equal
size called blocks or page frame and the groups of address space of the same
size as block is called pages.
Consider a computer a with address space =8K and memory space=4K
Virtual address has 13 bits. Since each page consists
of 210=1024 words, high-order 3 bits will specify one of 8 pages and
low-order 10 bits gives the line address within the pages.
In computer 2p words per page, p bits are used to specify a line address and remaining high-order bits of the virtual address specify the page number and an address for the memory page table. Line address in memory space and address space is same; only mapping required is from page number to a block number.
The memory page table consists of 8 words, one for
each page. The address in the page table denotes page number and the content of
word gives the block number where the page is stored in main memory.
Presence bit when 0 indicates page is not available in main memory and when 1 indicates that page has been transferred to main memory. Table shows that pages 1, 2, 5 & 6 are now available in main memory in blocks 3, 0, 1 & 2 respectively.
Second Part
AI is thinking...
2. Explain the mapping process. Differentiate between direct mapping and associate mapping.
AI is thinking...
2. What do you mean by memory system? Explain the characteristics of memory systems of computer.
AI is thinking...
3. What do you mean by memory organization? Explain the memory management hardware with example.
AI is thinking...
4. Differentiate between address space and memory space. An address space is specified 2 bits and the corresponding memory space by 16 bits. If a page consists of 2K words, how many pages and blocks are there in the system?
Difference between address space and memory space
An address used by programmer is a virtual address and
the set of such addresses is the address space. Thus the address space is the
set of addresses generated by the programs as they reference instructions and
data. Generally, the address space is larger than the memory space.
An address in main memory is called a location or
physical address. The set of such locations is called the memory space. The
memory space consists of actual main memory locations directly addressable for
processing. Generally, the memory space is smaller than the address space.
Second Part:
AI is thinking...
7. What do you mean by memory mapping? Explain.
AI is thinking...
10. What are the advantages and disadvantages of direct mapping and associative mapping between cache and main memory?
AI is thinking...
8. Show the memory organization (1024 bytes) of a compute with four 128x8 RAM Chips and 512x8 ROM Chip. How many address lines are required to access memory?
AI is thinking...
9. Describe the process of address mapping using memory page table.
AI is thinking...
11. Give the appropriate reasons why replacement algorithm is required in associative mapping?
AI is thinking...
9. Define associative memory. Explain with block diagram how it can be implemented.
AI is thinking...
10. What is virtual memory? What are the major differences between address space and memory space?
AI is thinking...
11. What do you mean by stack organization? What are the major differences between register stack and memory stack?
AI is thinking...
11. Explain the virtual memory with example.
AI is thinking...
12. What do you understand by page replacement and page fault? Explain.
AI is thinking...
13. What are the key characteristics of computer memory system? Explain.
AI is thinking...
15. What are the main characteristics of memory system? Explain.
AI is thinking...
14. What is memory management hardware? Explain.
AI is thinking...
14. What is the role of memory management hardware? Eexplain.
AI is thinking...
14. Why replacement algorithm is used in associative and set associative mapping? Explain.
AI is thinking...
14. Differentiate between associative page table and replacement.
AI is thinking...
14. What do you understand by memory hierarchy? Explain.
AI is thinking...
14. What are the main characteristics of memory system? Explain.
AI is thinking...
15. Write short notes on the following:
(a) Memory protection
(b) Address mapping
AI is thinking...
15. Write short notes on the following:
a. Sequential memory hierarchy.
b. Random memory hierarchy.
AI is thinking...
15. Write short notes on any two:
(a) Memory protection
(b) Register transfer language
AI is thinking...
15. Write short notes on the following:
a) Memory space
b) Address space
AI is thinking...
15. Write short notes on the following:
a) Management Hardware
b) I/O interface
AI is thinking...