Computer Architecture - Unit Wise Questions

Questions Organized by Units
Unit 1: Data Representation
27 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.

10 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

2. Explain the mapping function. Why replacement algorithm is used in set associative mapping? Explain with example.

10 marks
Details
Official Answer
AI Generated Answer

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).

10 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

4. Differentiate between fixed point representation and floating point representation.

6 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

4. What is an error detection code? Explain.

6 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

4. Explain the error detection codes with example.

6 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

4. Explain the computer components.

5 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

4. Explain the error detection code with example.

6 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

4. Explain the Grey code with example.

6 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

4. Differentiate between parity checker and parity generator.

6 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

4.Explain the floating point addition and subtraction with flowchart.

6 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

5. Comparison between RISC and CISC.

6 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

6. What are the key characteristics of computer memory system? Explain.

6 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

7. Explain input/output interface with example.

6 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

8. Compare the different types of addressing modes with example.

6 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

9. Explain the microprogram control unit with example.

6 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

11. Differentiate between I/O bus and interface modules.

6 marks
Details
Official Answer
AI Generated Answer

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?

6 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

10. Explain the non-restoring division algorithm with example.

6 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

11. Explain the input-output processor with block diagram.

6 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

12. Explain the data manipulation instruction with example.

6 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

12. Explain an inter connection network and its use.

5 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

13. Example the process of overflow detection with both signed and unsigned numbers.

6 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

13. Explain with example of Arithmetic microoperations.

6 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

14. Explain memory management hardware with example.

6 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

15. Write short notes on the following:

a) Virtual memory

b) Register organization.

6 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

15. Write short notes on the following.

a) Integer representation

b) Subroutines

6 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

Unit 2: Register Transfer and Microoperations
9 Questions

5. Explain register transfer language with example.

5 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

5. Draw a circuit diagram to implement AND, OR, EX-OR, NOT and logic '1' logic microoperations. 

6 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

5. What do you mean by shift micro-operations? Explain.

6 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

5. Explain the arithmetic logic shift unit.

6 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

5. Differentiate between logic microoperations and shift microoperations.

6 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

5. Design the binary adder-subtractor with example.

6 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

5. Explain the logic micro operations with example.

6 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

6. What do you mean by logic micro-operations?

6 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

14. Define selective-set, selective-complement, selective-clear, mask, insert and clear operation with an example.

6 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

Unit 3: Basic Computer Organization and Design
14 Questions

4. Draw an instruction cycle and state diagram with interrupt and explain it.

5 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

4. Explain the bus interconnection scheme with diagram.

5 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

5. What do you mean by instruction format? Explain with an example.

5 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

4. What do you mean by instruction format? Explain.

6 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

4. What do you understand by instruction set completeness? Explain.

6 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

5. Explain the stored-program concept with example.

5 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

5. What do you mean by interrupt? Draw and explain the flowchart for interrupt cycle.

6 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

6. Explain the I/O instruction with example.

6 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

6. What do you mean by computer register and computer instructions? Explain.

6 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

6. What do you understand by instruction format? Explain.

6 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

7. Explain the hardwired control unit with its advantages.

6 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

8. Explain the types of instruction format and compare each of them.

6 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

11. Explain about the basic computer instruction format. When instruction set is said to be complete.

6 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

13. Describe different types of instructions based on the number of addresses used with examples.

6 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

Unit 4: Microprogrammed Control
12 Questions

1. Differentiate between hardwired and microprogrammed control unit. Describe with example of microprogram sequencer used in microprogrammed control unit.

10 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

1. Explain the Micro program sequence with example. 

10 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

3. What is the general model of Microprogram Control Unit? Explain the major steps when you designing of microprogram control unit.

10 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

3. What is a microprogram sequencer? With block diagram, explain the working of microprogram sequencer.

10 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

5. Differentiate between Hardwired and Micro program control unit.

6 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

7. Explain the symbolic microinstruction with example.

5 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

8. Differentiate between hardwired control unit and microprogram control unit.

5 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

7. Differentiate between Hardwired control and micro-program control unit.

6 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

7. Differentiate between hardwired control unit and microprogrammed control unit.

6 marks
Details
Official Answer

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 Generated Answer

AI is thinking...

8. What do you mean by control memory? Explain the microinstructions and microoperation format.

6 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

8. What do you mean by field decoding? Explain.

6 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

10. Differentiate between hardwired control unit and a micro programmed control unit.

5 marks
Details
Official Answer

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 Generated Answer

AI is thinking...

Unit 5: Central Processing Unit
37 Questions

2. Explain the various types of addressing modes and compare them algorithm, advantages and disadvantages.

10 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

1. Explain the different types of addressing modes and compare each other.

10 marks
Details
Official Answer
AI Generated Answer

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.

10 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

2. Explain with example of Data manipulation instructions.

10 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

3. Explain data transfer and manipulation instruction with example.

10 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

3. What do you understand by data transfer and manipulation instruction ? Explain in detail with the help of suitable examples.

10 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

6. Explain the data transfer instruction with example.

5 marks
Details
Official Answer
AI Generated Answer

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

5 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

7. Explain the various addressing modes with example.

5 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

5. Explain the logic micro instructions with practical example.

6 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

6. Write down the code to evaluate y = A(B/C – D) + E for one, two and three instruction format.

6 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

6. Differentiate between CISC and RISC architectures.

5 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

6. Explain with an example, how effective address is calculated in different types of addressing modes.

6 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

6. What do you mean by input and output interrupt? Explain.

6 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

6. Explain the computer instruction with example.

6 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

6. Explain the input-output interrupt with example.

6 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

7. Mention the different types of data transfer instructions and explain with example.

6 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

7. Mention the type of interrupt and explain it.

6 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

7. Differentiate between direct and indirect addressing modes.

6 marks
Details
Official Answer
AI Generated Answer

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.

6 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

8. What do you mean by addressing mode? Explain.

6 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

8. Explain the CISC architecture with example.

6 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

8. Explain with example of Data transfer instructions.

6 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

9. What are the major differences between RISC and CISC architecture.

6 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

9. What do you mean by addressing modes? Differentiate between indexed addressing modes and base register addressing mode.

6 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

9. What are the typical characteristics of RISC instruction set architecture? Explain.

6 marks
Details
Official Answer
AI Generated Answer

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)

6 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

10. Explain the characteristics of RISC and CISC.

6 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

11. Differentiate between  RISC and CISC architecture.

6 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

12. Differentiate between RISC and CISC architecture.

6 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

13. Explain the data transfer instructions with example.

6 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

12. Explain Overlapped register windows with suitable example.

6 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

12. Explain the logical and bit manipulation instruction with example.

6 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

13. Explain the data transfer and manipulation instruction with example.

6 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

13. What are the characteristics of CISC and RISC processes? Explain.

6 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

13. Explain data transfer instruction with example.

6 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

14. Differentiate between RISC and CISC processor.

6 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

Unit 6: Pipelining
6 Questions

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.

10 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

2.  Explain the Flynn's classification of computer architectures with diagrams.
10 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

3. What are the different types of pipe line hazards? Explain each pipe line hazard with example.

10 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

8. Explain an instruction pipeline with suitable examples.

5 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

7. Differentiate between instruction pipe line and an arithmetic pipe line.

5 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

9. How performance of computer is increased using pipeline. Explain with practical example.

5 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

Unit 7: Computer Arithmetic
18 Questions

1. Explain the restoring division algorithm with example.

10 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

1. Describe the Booth multiplication algorithm with the help of flow chart and suitable example.

10 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

1. Write down the non-restoring division flowchart algorithm and divide 5/3 using non-restoring division.

10 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

2. Explain the Booth multiplication algorithm with hardware implementation diagram. Multiply -4 x -3 using Booth multiplication algorithm.

10 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

1. Explain the non-restoring division algorithm with example.

10 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

3. Explain the non-restoring division algorithm with flow chart, and hardware implementation diagram. Divide 10/3 using restoring division.

10 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

3. Explain the non-restoring Division algorithm, flow chart hardware implementation with example.

10 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

9. Explain the Booth Multiplication algorithm with example.

5 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

10. Differentiate between restoring division and non-restoring division.

5 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

8. Divide 10/4 using non-restoring division.

5 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

9. Describe the steps of multiplication process using Booth algorithm with example.

6 marks
Details
Official Answer
AI Generated Answer

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.

6 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

9. Explain the Booth algorithm with example.

6 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

10. Show the steps of multiplication process using Booth algorithm of the following binary numbers:

Y = 8 x 10.

6 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

10. Explain the subtraction algorithm with signed 2’s compliment.

6 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

10. Explain the Booth algorithm. Multiply 3 x 5 using booth algorithm.

6 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

11. Explain the booth algorithm with example.

6 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

15. Write short notes on the following:

(a) Parity generator

(b) Array multiplier

6 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

Unit 8: Input Output Organization
34 Questions

1. What is Input-Output Processor (IOP)? Why IOP is needed in Computer Science? Explain.

10 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

3. Define the I/O Interface. Comparison between programmed I/O, Interrupt driven I/O and direct memory access (DMA).

10 marks
Details
Official Answer
AI Generated Answer

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.

10 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

2. Explain the DMA controller with block diagram.

10 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

2. What do you mean by I/O interface? Explain the I/O bus and Interface module.

10 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

2. What are the major differences between I/O bus and interface modules? What are the advantage and disadvantage of each?

10 marks
Details
Official Answer
AI Generated Answer

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.

10 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

2. Explain the DMA controller with block diagram. How the DMA interact with I/O device? Explain.

10 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

3. What are the three possible modes to transfer the data to and from peripherals? Explain.

10 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

3. Differentiate between isolated I/O and memory mapped I/O. What are the advantages and disadvantages of each?

10 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

3. What is input output interface? Differentiate between Input-output bus and memory bus?

10 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

7. What the difference is between isolated and memory mapped I/O? What are the different types of I/O commands.

6 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

8. What are the different types of I/O techniques? Explain.

6 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

8. Differentiate between isolated and memory mapped I/O.

6 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

9. What do you mean by DMA controller? What the three register is used in DMA controller? Explain.

6 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

11. Differentiate between Input-output processor with Direct memory access.

5 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

10. Describe the interrupt initiated I/O mode of data transfer in brief.

6 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

10. Differentiate between I/O bus and interface modules.

6 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

12. Differentiate between isolated versus memory mapped I/O.

5 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

10. Explain the data communication processor with example.

6 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

11. Differentiate between isolate and memory mapped I/O.

6 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

11. How does DMA controller work? Give an example of DMA  data transfer.

5 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

11. Differentiate between isolated I/O and Memory Mapped I/O.

6 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

11. What are the difference between I/O bus and interface modules? Explain.

6 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

12. What are the major differentiate between Input-output processor (IOP) and direct memory Access (DMA).

6 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

12. Differentiate between Input-Output Processor (IOP) and Direct Memory Access (DMA).

6 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

12. What is the main function of DMA? Mention the three points DMA configurations.

6 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

12. Explain the I/O processor with block diagram.

6 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

12. What is DMA transfer? Explain.

6 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

13. What is the role of input-output processor (IOP) in computer system? Explain.

6 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

13. What are the different types of I/O commands? Explain.

6 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

14. What do you mean by interface? What are the major differences between I/O bus and memory

bus?

6 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

16. Write short notes on:

(a) Data communication processor 

(b) Computer Instructions

6 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

15. Write short notes on the following:

(a) Interrupt cycle

(b) DMA

6 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

Unit 9: Memory Organization
29 Questions

1. Explain the hierarchy of memory system? What are the key characteristics of memory system? Explain.

10 marks
Details
Official Answer
AI Generated Answer

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

10 marks
Details
Official Answer

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 Generated Answer

AI is thinking...

2. Explain the mapping process. Differentiate between direct mapping and associate mapping.

10 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

2. What do you mean by memory system? Explain the characteristics of memory systems of computer.

5 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

3. What do you mean by memory organization? Explain the memory management hardware with example.

10 marks
Details
Official Answer
AI Generated Answer

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?

6 marks
Details
Official Answer

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 Generated Answer

AI is thinking...

7. What do you mean by memory mapping? Explain.

6 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

10. What are the advantages and disadvantages of direct mapping and associative mapping between cache and main memory?

5 marks
Details
Official Answer
AI Generated Answer

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?

6 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

9. Describe the process of address mapping using memory page table.

6 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

11. Give the appropriate reasons why replacement algorithm is required in associative mapping?

5 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

9. Define associative memory. Explain with block diagram how it can be implemented.

5 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

10. What is virtual memory? What are the major differences between address space and memory space?

6 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

11. What do you mean by stack organization? What are the major differences between register stack and memory stack?

6 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

11. Explain the virtual memory with example.

6 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

12. What do you understand by page replacement and page fault? Explain.

6 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

13. What are the key characteristics of computer memory system? Explain.

6 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

15. What are the main characteristics of memory system? Explain.

6 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

14. What is memory management hardware? Explain.

6 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

14. What is the role of memory management hardware? Eexplain.

6 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

14. Why replacement algorithm is used in associative and set associative mapping? Explain.

6 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

14. Differentiate between associative page table and replacement.

6 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

14. What do you understand by memory hierarchy? Explain.

6 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

14. What are the main characteristics of memory system? Explain.

6 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

15. Write short notes on the following:

(a) Memory protection

(b) Address mapping

6 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

15. Write short notes on the following: 

a. Sequential memory hierarchy. 

b. Random memory hierarchy.

6 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

15. Write short notes on any two:

(a) Memory protection 

(b) Register transfer language 

6 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

15. Write short notes on the following:

a) Memory space

b) Address space

6 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

15. Write short notes on the following:

a) Management Hardware

b) I/O interface

6 marks
Details
Official Answer
AI Generated Answer

AI is thinking...