Computer Architecture Interview Questions
Q1.Mention what are the common components of a microprocessor are?Ans-The common components of a microprocessor include–I/O UnitsControl UnitArithmetic Logic Unit (ALU)RegistersCache
Q2.Explain what is Snooping Cache?Ans-Snooping Cache is the process where individual caches monitor address lines for accesses to memory locations that they have cached.
Q3.Mention what is the simplest way to determine cache locations in which to store memory blocks?Ans-Direct Mapping is the simplest way to define cache locations in which to store memory blocks. Associative memories are expensive in comparison to random-access memories due to the added logic associated with each cell.
Q4.What does DMA stands for?Ans-DMA stands for Direct Memory Access.
Q5.When large number of registers are included in the CPU, what is the most efficient way to connect them?Ans-When large number of registers are included in the CPU, the most efficient way to connect them is through an ALU.
Q6.Explain if the internal bus connects only register within the CPU, how would you get data to and from memory?Ans-The AR or Address Register is used to select a memory address, and the Data Register is used to send and receive the data. Both these register are connected to the internal BUS, and the Data Register acts as a bridge between the memory data BUS and internal BUS.–So first we load AR with the desired memory address and then transfer to or from Data Register.
Q7.Explain what is WAIT state?Ans-A WAIT state plays a key role in preventing CPU speed incompatibilities. Many times the processor is at ready state to accept data from a device or location, but there might be no input available. In such case there will be wastage of CPU time, and the system gets into WAIT state.
Q8.Explain how you can deal with WAIT state?Ans-The one way to deal with WAIT state is increasing the microprocessor clock period by reducing the clock frequency–The second way is by using special control input READY. It allows the memory to set its own memory cycle time.
Q9.What digital functions should be used to convert the octal code to binary code?Ans-To convert the octal code to binary code multiplexers is used. It is also referred as Data Selector, where dynamic memory uses the same address lines for both row and column.
Q10.What technique is used to automatically move program and data blocks into the physical main memory when they are required for execution?Ans-Virtual Memory technique is used. It provides a mechanism for translating program generated address into correct main memory locations. By means of mapping table translation or mapping is handled.
Q11.Mention what is the use of RAID system?Ans-The use of RAID system is to increase the disk storage capacity and availability.
Q12.Explain what type of memory that can be erased with the electric discharge?Ans-With the passage of electric discharge, EEPROM is the type of memory whose content is erased.
Q13.Explain what is horizontal micro code?Ans-The horizontal micro code contains the control signal without any intermediary. It contains a lot of signals and hence due to that the number of bits also increases.
Q14.Explain what is direct mapping?Ans-In direct mapping, the RAM is used to store data and some of the data is stored in the Cache. The address space is divided into two parts index field and tag field. The tag field is used to store the tag field whereas the rest is stored in the main memory.
Q15.Explain what is Computer Architecture?Ans-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.
Q16.How Computer Architecture is characterized?Ans-The computer architecture is characterized into three categories–System Design: It includes all the hardware component in the system, including data processor aside from the CPU like direct memory access and graphic processing unitInstruction Set Architecture (ISA): It is the embedded programming language of the central processing unit. It determines the CPU’s functions and capabilities based on programming it can process.Microarchitecture: It defines the data path, storage element, and data processing as well as how they should be implemented in the ISA.
Q17.Mention important steps for computer design?Ans-A CPU architecture is defined by the set of machine language which can be defined as a–Set of registers and their functions ( capabilities )Sequence of micro-operations performed on the data stored in registersControl signals that initiate the sequence
Q18.Mention what are the different types of fields that are part of an instruction?Ans-The different types of fields that are parts of an instruction are–Operation Code Field or OP Code field: This field is used to determine the operation to be performed for the instructionAddress Field: This field is used to determine various addresses such as memory address and register addressMode Field: This field determines how operand is to perform or how effective address is derived
Q19.Mention what are the basic components of a Microprocessor?Ans-The basic components of a Microprocessor are–Address lines to refer to the address of a blockData lines for data transferIC chips for processing data
Computer Architecture Interview Quiz Questions
Q1.The __________ format is usually used to store data.Ans-Binary Coded Decimal
Q2.To reduce the memory access time we generally make use ofAns-Caches
Q3.__________ is generally used to increase the apparent size of the physical memory.Ans-Virtual memory
Q4.MFC stands for __________?Ans-Memory Function Complete
Q5.The time delay between two successive initiations of memory operations is called __________?Ans-Memory cycle time
Q6.The I/O interface required to connect the I/O device to a bus consists of __________?Ans-Address decoder, registers and Control circuits
Q7.__________ bus structure is usually used to connect I/O devices.Ans-Single bus
Q8.The control unit controls other units by generating __________.Ans-Timing signals
Q9.__________ are numbers and encoded characters, generally used as operands.Ans-Data
Q10.The Input devices can send information to the processor, __________. Complete the sentence with appropriate option.Ans-When the SIN status flag is set
Q11.The ALU makes use of __________ to store the intermediate results.Ans-Accumulators
Q12.Small in size but extremely fast RAMs are popularly known asAns-Cache