YouTube Icon

Interview Questions.

Top 100+ Cpu Interview Questions And Answers - May 28, 2020

fluid

Top 100+ Cpu Interview Questions And Answers

Question 1. Explain The Functions Of The Cu And Alu In The Cpu Of A Computer?

Answer :

The characteristics of the CU or manipulate unit are as follows:

This part of the of the CPU is the one that is in charge of all the operations being carried out.
It is responsible to direct the system to execute instructions.
It helps in communique among the reminiscence and the mathematics logical unit.
It also aids inside the loading of information and instructions residing inside the secondary reminiscence to the main memory as required.
The characteristics of the ALU are as follows:

The ALU is chargeable for appearing all logical and arithmetic operations.
Some of the arithmetic operations are as follows: addition, subtraction, multiplication and department.
Some of the logical operations are as follows: evaluation among numbers, letter and or special characters.
The ALU is likewise liable for the following conditions: Equal-to situations, Less-than condition and more than situation.
Question 2. Define The Basic Logical Structure Of A Computer?

Answer :

The fundamental logical shape of a laptop are as follows:

The BIOS ( primary input output device ) answerable for booting up the computer.
CPU ( primary processing unit ) the brains of the laptop executes the strategies.
Memory / RAM ( random access memory ) used to store transient records.
Hard Disk is used for the storage of everlasting statistics.
Input / output gadgets are used to offer input to a pc and derive output from it.
Communication Channel acts as an interface for external and internal devices.
Verilog Interview Questions
Question 3. Are There Any Problems That The Cpu Faces? Have Any Measures Been Taken To Make It More Efficient?

Answer :

Although the CPU needs just a few elements to do its task, it's been modified to growth its performance. The upgrades are made in order to manner information quicker. 

One of the weaknesses of the simple CPU changed into that it become no longer doing any processing throughout the time that it fetches an practise from the computer memory. 

To lessen this, a reminiscence storage location was created within the CPU called Cache or  L1 type Cache. The Cache is very fast, and is used to store data that the CPU  had to get admission to the maximum. Level 2 Cache turned into also developed.

Now that the CPU has to wait an awful lot less for the statistics to be processed, the velocity at which the information may be processed needed to be better. To do this, multiple ALUs  (Arithmetic Logic Unit ) have been located on the CPU, in order that many more calculation was executed every clock cycle.

In addition, the FPU (Floating Point Unit) was brought. The FPU is similar to the ALU, except that it's far more advanced. It can cope with extremely large and extraordinarily small numbers, permitting more processing speeds. Also, it is able to simultaneously manner multiple photographs and sounds at a time.

Question four. What Is Risc Technology?

Answer :

RISC stands for Reduced Instruction Set Computing. 
It uses a small subset of commands to perform approaches.
As the wide variety of commands are lesser, the speed of processing is a whole lot advanced and faster.
However, while complicated operations are handled, they ought to be broken down into a series of smaller instructions.
Assembly Programming Tutorial
Question five. What Are The Steps Involved In Following A Particular Instruction Given By The Cpu?

Answer :

The following steps are observed-

The education pointer tells the instruction fetch in which inside the memory the training is.
The fetch takes the preparation and gives it to the decoder, which determines the stairs that are necessary to fulfill the commands.
The facts is then sent to the ALU, which performs the commands that need to be performed. This includes adding, subtracting, or manipulating the records further. 
Finally, the instructions are sent out into the computer where they're needed.
System Verilog Interview Questions
Question 6. What Do You Mean By Parallel Processing?

Answer :

It is a sort of processing in which the CPU divides the trouble into two parts.

It works as:

Each element is sent to separate processors.
Each processor has its own reminiscence. They in my view solve the given problems and return the end result.
The CPU assembles the effects and as a result, the trouble is solved.
Some computers perform in phrases of teraflops or trillions of floating-factor commands in step with second.
Question 7. What Is Cache Memory?

Answer :

It is a temporary memory garage vicinity which helps to hurry up data switch inside a pc. A Microprocessor appears for the facts inside the Cache memory because the information transferred Cache is a lot quicker. If the facts is not determined in the cache, the CPU looks for it in the reminiscence.

The following are  varieties of Cache-

Internal or Level 1: In this, the Cache is constructed into the Microprocessor.
External or Level 2: In this, the Cache is built on a separate chip.
The Internal Cache is the fastest but it is very expensive.

VHDL Interview Questions
Question 8. What Is System Bus? Explain A Few Related Terms?

Answer :

System Bus are parallel electric paths that shipping facts between the CPU and Memory.

Bus Width: The variety of electrical paths that to carry the information. It is measured in Bits. With large Bus Widths, a CPU can switch extra records at a time.

Bus Speed: The velocity of the bus is measured in megahertz (MHz), refers to how a good deal statistics can flow throughout the bus concurrently. Personal computers have a bus speeds of four hundred MHz or 533 MHz.

Question nine. What Do You Mean By Ram?

Answer :

In RAM or Random Access Memory, Data may be accessed randomly.

There are two styles of RAM-

Static RAM: It keeps its contents with the assist of CPU. It is quicker and more expensive than Dynamic RAM. It is typically used for Level 2 cache.

Dynamic RAM: It can not maintain its contents if no longer continuously refreshed by way of the CPU.

Its kinds are- 

Synchronous DRAM: It is the faster sort of DRAM, utilized in modern-day and more superior structures.
Rambus DRAM: It is quicker than Synchronous DRAM and is predicted to end up more usually used.
Random-get right of entry to reminiscence (RAM) Interview Questions
Question 10. Explain Some Memory Components?

Answer :

Some of the reminiscence components are:

Semiconductor Memory: It is used by most via most modern-day computer systems. It is reliable, inexpensive and compact. However, it calls for non-stop power deliver and records is lost if current is interrupted.

RAM and ROM: They stand for Random Access Memory and Read Only Memory respectively.

Flash Memory: This memory is electrically erasable and reprogrammable.

Question 11. What Do You Understand By The Term ‘transistors’?

Answer :

Transistors are electronic switches that can or won't permit the float of present day in a contemporary course. 

When it permits current to drift, the transfer is ON. This represents 1 bit.
When it does now not permit modern-day to flow, the switch is OFF. This represents 0 bit.
Transistors are positioned into chips also known as IC. They measure in mm`s and are known contain millions of transistors.
Microprocessors in recent times are created the use of microns as their measuring size.
Motherboard Interview Questions
Question 12. What Does A Microprocessor Mean?

Answer :

A Microprocessor is a miniature CPU unit that is etched on a silicon chip. A CPU (Central Processing Unit) hardware which includes out the commands of a laptop gadget. The Microprocessor unit includes tens of millions of tiny transistors. It has multi purposes and is programmable. They function on numbers and symbols represented in Binary Numeral Language.

Verilog Interview Questions
Question thirteen. What All Does A Microprocessor Comprise Of?

Answer :

They incorporate of the following key additives-

Central Processing Unit: It carries out the commands of a pc machine

Registers: They shop bits of statistics in a manner that every one the bits may be written to or study out simultaneously.

System clock: simple remember of the wide variety of ticks that have transpired in view that some arbitrary starting date, known as the Epoch.

Question 14. What Do You Understand By Coding Schemes?

Answer :

Coding schemes are a commonplace manner of representing a man or woman of information. It is needed in computers for changing information. The following are a few commonplace coding schemes-

ASCII: It stands for the American Standard Code for Information Interchange. It is used on almost all computer systems, hence taken into consideration as a fashionable coding scheme.

EBCDIC: It stands for Extended Binary Coded Decimal Interchange Code. Its is broadly speaking used in IBM and IBM-compatible mainframes.

Unicode: It is designed to accommodate alphabets (- 256). It uses 16 bits to symbolize one person and calls for two times as a whole lot space to keep records. It can have a maximum of 65,536 feasible values.

Question 15. What Do You Understand By System Clock?

Answer :

Some of the characteristics of the system clock are as follows:

The gadget clock is used to provide a specific pulse at a set price of time.
The gadget cycle of a machine may be completed in a unmarried or a couple of clock pulses.
A single software preparation may be more than one instructions for the cpu.
Any significant processing unit has a predefined set of commands additionally called the practise set. These are the commands that it may process and recognize.
The clock speeds are in recent times measures in Ghz. 1ghz = a thousand mhz.
IBM Assembler Interview Questions
Question 16. What Is System Unit?

Answer :

It is an enclosure that incorporates maximum of the components of a computer system including the Motherboard and different Storage gadgets.

Motherboard: It is a Flat circuit board that holds the laptop circuitry.

Storage gadgets: These devices are used for long term garage of reminiscence. Some of them are- difficult pressure, diskette, DVD_ROM, and many others.

Question 17. Explain The Characteristics Of Instruction And Execution Time?

Answer :

Some of the traits of practise time are as follows:

The instruction time is likewise called the I-time.
It is the time taken with the aid of the Control Unit to get an preparation from memory and to load it to the sign up.
The time additionally includes the taken by means of the CU for training interpreting and to discover the location of the required facts.
Some traits of execution time are:

It is the time required through the manipulate unit to transport records from the reminiscence to the registers inside the ALU, the ALU is chargeable for the execution of instructions on this information.

Assembly Programming Interview Questions
Question 18. Mention Briefly The Steps Involved In The Execution Of A Program?

Answer :

The following steps are involved within the execution of a software:

Fetch: The control unit is given an instruction.

Decode: The manage unit then decodes the newly acquired practise.

Execute: During the execution the Control unit first commands the perfect a part of hardware to take action. Once that is found out the manipulate is surpassed over to the hardware. Now the venture is accomplished.

Store: Once the assignment is saved effectively the end result is saved.

After the cycle is complete the Control unit is again dealt with the conrol.

System Verilog Interview Questions
Question 19. What Are The Different Ways In Which Data Can Be Represented?

Answer :

There are 3 approaches wherein statistics can be represented specifically Bit, Byte and Word:

Bit: This is also the quick name for binary digits. By being binary it means that BIT can handiest have two values 0 and one. A function of BIT is that it may by no means be empty. Zero implies a energy off country whereas one way on country.

Byte: A byte is a group or institution of 8 bits. A byte can shop a unmarried man or woman which can both be an alphabet, various or a special man or woman. The byte is generally used to degree the garage capacities.

Word: The quantity of bits that a cpu own shows the strength of the computer. It additionally suggests how many number of bytes are present. In nowadays`s date maximum computer systems can take care of 32 or 64 bit length.

Question 20. Explain What Do You Understand By Registers, Briefly Explain The Various Types Of Registers?

Answer :

Registers may be considered to be special motive reminiscence which are living within the CPU.
The registers are excessive speed temporary memory used to help the CPU get get admission to to statistics and commands speedy and correctly. There are various form of registers which includes Instruction sign in, Status sign in and facts register.
The instructions sign in is liable for the storage of the of the instructions which might be being currently completed.
The popularity sign in is used to hold a tab of the status operations of the mathematics logical unit.
The facts sign up is used to keep statistics or data that is to be processed, it is also used to store information or consequences that have been derived from a method.
Hard disk pressure (HDD) Interview Questions
Question 21. Briefly Explain The Types Of Data Storage And Its Relation With The Cpu.?

Answer :

There are basic  primary sorts of garage:

Primary Storage ( memory ): This kind of garage is more often than not used to save records quickly. The CPU does no longer directly get entry to the secondary memory, as a substitute it constantly is predicated on the number one memory.

Secondary garage: This sort of storage is commonly used to keep information or long periods. This form of reminiscence is saved in outside devices inclusive of hard drives etc.

Any statistics that resides on a disk or input tool can not be accessed by using the CPU immediately, it ought to always reside inside the foremost memory. The control unit accesses the records from the disk memory and places it inside the important reminiscence.

The information is gift within the number one memory till this system requiring it's far achieved or is terminated.




CFG