Computer architecture questions and answers. Computer Architecture Exam Questions Solutions (1).pdf 2022-10-16

Computer architecture questions and answers Rating: 7,3/10 1394 reviews

Computer architecture refers to the design and organization of a computer system, including the hardware, software, and communication protocols that make up a computer. It is a critical field that plays a vital role in determining the performance and efficiency of a computer. In this essay, we will explore some common questions and answers related to computer architecture.

  1. What is the difference between a von Neumann and a Harvard architecture?

The von Neumann architecture, also known as the von Neumann model or the von Neumann computer, is a design for a stored-program computer. It was developed by John von Neumann in the 1940s and is characterized by the use of a central processing unit (CPU) that can access both instructions and data stored in memory. This allows the CPU to execute instructions and manipulate data as needed.

On the other hand, the Harvard architecture is a computer architecture that separates the CPU's instruction and data memories, allowing them to operate concurrently. It is characterized by the use of separate memory spaces for instructions and data, and the use of multiple buses to transfer data between the CPU and memory. This allows the CPU to access instructions and data at the same time, improving the performance of the computer.

  1. What is RISC and CISC architecture?

RISC (Reduced Instruction Set Computing) is a computer architecture that uses a small, highly optimized set of instructions to perform tasks. It is designed to minimize the number of transistors in the CPU and reduce the instruction cycle time. As a result, RISC processors are generally faster and more efficient than their CISC (Complex Instruction Set Computing) counterparts.

CISC processors, on the other hand, use a larger and more complex set of instructions to perform tasks. They are designed to be more flexible and support a wide range of operations, but this comes at the cost of efficiency. CISC processors tend to have longer instruction cycles and require more transistors, which can lead to slower performance.

  1. What is the purpose of cache memory?

Cache memory is a type of high-speed memory that is used to store frequently accessed data and instructions. It is located between the CPU and main memory and is designed to improve the performance of a computer by reducing the number of accesses to main memory.

When the CPU needs to access data or instructions, it first checks the cache memory to see if the data is already stored there. If it is, the CPU can access the data directly from the cache, which is much faster than accessing main memory. If the data is not in the cache, it is fetched from main memory and stored in the cache for future access.

Cache memory is an important part of computer architecture because it helps to reduce the time it takes for the CPU to access data and instructions, improving the overall performance of the computer.

  1. What is a pipelining and how does it work?

Pipelining is a technique used in computer architecture to improve the performance of a processor by allowing multiple instructions to be processed at the same time. It works by dividing the CPU into a series of stages, each of which performs a specific task.

For example, a five-stage pipeline might have stages for fetching instructions, decoding instructions, executing instructions, memory access, and writeback. As each stage completes its task, it passes the result to the next stage in the pipeline, allowing multiple instructions to be processed in parallel.

Pipelining can significantly improve the performance of a processor by increasing the number of instructions that can be processed per clock cycle. However, it also introduces a certain amount of overhead and complexity, which must be carefully managed to ensure optimal performance.

  1. What is multi

Computer Architecture MCQ (Multiple Choice Questions)

computer architecture questions and answers

PC Program counter c. It allows user to run multiple tasks in computer which operating system execute efficiently by time-sharing process in which each task use specific time of computer for execution. Control Unit The memory, arithmetic and logic, and input and output 'units store and process information and perform input and output operations. What are the types of micro-operations? Page Items entered in table specify either page is placed in real memory or not. Half adders cannot be used compositely, given their incapacity for a carry-in bit. PAULS ENGINEERING COLLEGE 9 1.

Next

Computer Architecture MCQ Questions and Answers

computer architecture questions and answers

In this implementation, the final OR gate before the carry-out output may be replaced by an XOR gate without altering the resulting logic. What's the difference between interrupt service routine and subroutine? In this light, Cout can be implemented as. This allows the clock period, P, to be reduced and the clock rate, R, to be increased. A group of lines that serves as a connecting path for several devices is called a bus. Note that the right hand side of an RTN expression always denotes a value, and the left-hand side is the name of a location where the value is to be placed, overwriting the old contents of that location. The primary purpose of such interrupts is to switch from user mode to supervisor mode.

Next

Top 25 Computer Architecture Interview Questions (and Example Answers)

computer architecture questions and answers

The tag field is used to store the tag field whereas the rest is stored in the main memory. So, it is always a very hectic job to repeat all the commands every time. What is Snooping Cache? Registers may be provided for general-purpose use by the programmer. Generals purples registers can be considered for. A large set of control lines wires carries the signals used for timing and synchronization of events in all units. What are some of the components of a microprocessor? What does wait state mean? Programmers use organizations called data structures to represent the data used in computations. Autodecrement mode - The contents of a register specified in the instruction is first automatically decremented and is then used as the effective address of the operand.

Next

Questions & Answers Based on Computer Architecture

computer architecture questions and answers

PAULS ENGINEERING COLLEGE 34 the operands is the output of the multiplexer MUX and the other operand is obtained directly from the bus. As instruction execution progresses, data are transferred from one register to another, often passing through the AL U to perform some arithmetic or logic operation. Virtual memory enables your computer to run more programs than it can. It will immensely help anyone trying to crack an exam or an interview. Computer architecture and organization MCQs with answers pdf Computer Organization and architecture MCQ question bank with answers pdf.

Next

Top 21 Computer Architecture Interview Questions and Answers

computer architecture questions and answers

What is Computer Architecture? Computer Organization and Architecture MCQ on Basic Structures of Computers The section contains Computer Organization and Architecture multiple choice questions and answers on basic structural units of a computer which include system performance, different types of bus structures and units of a computer. In a dedicated application, we can use the real-time system as a control device. The base of an organization is architecture. Moreover, parameters such as the clock spee4 and various architectural features are not reliable indicators of the expected performance. CLOCK RATE There are two possibilities for increasing the clock rate, R. All caches on the bus snoop or monitor the bus to determine if they have a copy of the block of data that is requested on the bus.

Next

Computer Architecture Exam Questions Solutions (1).pdf

computer architecture questions and answers

It involve sudden increase in demand of working frames which is stored throughout operating system and provide figuring, information, printers and scanners. We refer to this address as the effective address EA of the operand. Software is also sometimes used in a more narrow sense, meaning application software only. Example: "The two different ways to establish hardware priority are the parallel priority and daisy-chaining. This seems to imply that complex instructions combined with pipelining would achieve the best performance. At this point, the instruction is ready to be decoded and executed. First, the instruction is fetched from the memory into the processor.

Next

50 TOP Computer Architecture & Organization UNIT WISE Important Questions and Answers

computer architecture questions and answers

The time it takes to respond and display the required updated information is called response time. The page of main memory is matched with the system cache line; however the pages are much bigger than these cache lines. The constant 4 is used to increment the contents of the program counter. At the start of execution, all program instructions and the required data are stored in the main memory. Computer architecture is a specification detailing about how a set of software and hardware standards interacts with each other to form a computer system or platform.


Next

Computer Organization and Architecture Questions and Answers

computer architecture questions and answers

The control lines of the memory bus are connected to the instruction decoder and control logic block. This systematic learning method will easily prepare anyone to pass their exam. The number of Electromechanical register d. When large number of registers are included in the CPU, what is the most efficient way to connect them? Q 5 What are the common Components of a Microprocessor? COMPILER A compiler translates a high-level language program into a sequence of machine instructions. Multiple 8-bit internal buses Ans: b 28.

Next

Computer Architecture MCQs

computer architecture questions and answers

In addition to the lines that carry the data, the bus must have lines for address and control purposes. We will refer to the two possible values of the MUX control input Select as Select4 and SelectY for selecting the constant 4 or register Y, respectively. Let us examine the flow of program instructions and data between the memory and the processor. This, in turn, puts a question mark on its integrity, especially when many processors access the same data employing its internal cache. If the cache, as well as the memory access time here, is 20 ns and 150 ns, respectively, what would be the hit ratio? In the presence of a cache, the percentage of accesses to the main memory is small. A substantial improvement in performance can be achieved by overlapping the execution of successive instructions, using a technique called pipelining.

Next

Computer_Architecture_Questions_and_Answers_webapi.bu.edu

computer architecture questions and answers

A full adder can be constructed from two half adders by connecting A and B to the input of one half adder, connecting the sum from that to an input to the second adder, connecting Ci to the other input and OR the two carry outputs. So first we load AR with the desired memory address and then transfer to or from Data Register. It may also come with a mask register, which is used to control the status of each interrupt request. When Riin is set to 1, the data on the bus are loaded into Ri. Example: "Pipelining, also known as "pipeline processing", is the process of collecting instruction from the processor through a pipeline. Explain the basic concepts of memory system.


Next