CPU calculates the offsets of variable using the current value of which register?
Correct answer: D. Pointer register
- A. Code segment
- B. Data segment
- C. Extra segment
- D. Pointer register
Explanation
The correct answer is D) Pointer register.Pointer registers are specifically designed to store memory addresses. When calculating variable offsets, the CPU adds the offset value (distance from the beginning of the memory block) to the base address stored in the pointer register to locate the specific memory address of the variable.
Last updated
About Hardware and Software
Hardware includes the physical components of a computer, such as the CPU, motherboard, registers, memory, storage devices and peripheral equipment. Software covers system software, application software, utilities, drivers and firmware, with attention to how the operating system manages hardware and how software differs from the physical equipment it controls.
Practise Hardware and Software
290 free Hardware and Software MCQs from Computer Science and IT, each with the correct answer and an explanation. Unlimited attempts, no account needed.
Exams that ask Computer Science and IT questions like this
Computer Science and IT is on 40 papers prepared for on TestUstad, and all of them draw the same bank, so this question is worth knowing for every one of them.