Which unit of the CPU performs arithmetic and logical operations?
- A.Control Unit
- B.Arithmetic Logic Unit
- C.Memory Unit
- D.Input Unit
Correct answer
Explanation
The correct answer is B, Arithmetic Logic Unit. The ALU is the part of the processor that actually does the work on data: addition, subtraction, multiplication and division on the arithmetic side, and comparison along with the logical operations AND, OR and NOT on the logic side. Results produced by the ALU are placed in the accumulator register. A is wrong because the control unit performs no calculation; it decodes each instruction and issues the timing and control signals that direct the other units, which is why it is called the nervous system of the computer. C is wrong because the memory unit only stores instructions and data and hands them over when asked. D is wrong because the input unit merely accepts data from devices such as the keyboard, mouse and scanner and converts it into a form the machine can use.
Read the full article: CPU and Motherboard: Architecture, Buses and Registers
Practice Questions
View allA microprocessor has eight data lines and sixteen address lines. The microprocessor is of type -
- A.8 bit
- B.16 bit
- C.20 bit
- D.32 bit
Show answer
A microprocessor is named after the width of its data bus, that is, the number of bits it can carry in and out in a single operation.
Read the full explanation →A half byte is called a
- A.Byte
- B.Nibble
- C.Bit
- D.Word size
Show answer
A byte is made up of eight bits, so half a byte is four bits, and four bits together are called a nibble.
Read the full explanation →Permanent Memory of a computer is known as-
- A.RAM
- B.CD-ROM
- C.ROM
- D.CPU
Show answer
Read Only Memory is the permanent or non-volatile memory of a computer: its contents are written once and survive when the power is switched off, which is why the BIOS firmware that starts the machine and runs the power-on self-test is stored in it.
Read the full explanation →Which of the following memories has the shortest access time?
- A.Cache Memory
- B.Magnetic Bubble Memory
- C.Magnetic Core Memory
- D.Random Access Memory
Show answer
Cache is a small quantity of very fast static RAM placed between the processor and main memory to hold the instructions and data most likely to be needed next, and of the options given it has the shortest access time; only the registers inside the processor itself are faster.
Read the full explanation →Which register holds the address of the next instruction to be executed?
- A.Accumulator
- B.Instruction Register
- C.Program Counter
- D.Memory Data Register
Show answer
The program counter, sometimes called the instruction pointer, always holds the memory address of the next instruction the processor will fetch, and it is incremented automatically as each instruction is taken up so that execution moves forward in order; a jump or branch instruction works simply by loading a new…
Read the full explanation →