Explain indexed addressing including the benefits when traversing certain data structures (4 Marks)

The question is an "Explain question" so we need to say what indexed addressing is and how it works (3 marks): " (1) There is an index register which holds the base value for where the data is stored. (2)The operand is added to the value in the register (3) to find the address of the data we are looking for", and 1 mark for the " benefits when traversing certain data structures": "We can start at the index register, and every time we add 1 to the address we reach the next item in eg an Array structure (any structure stored sequentially in memory (all in one memory block)), this makes traversing cheap" OR "Indexed addressing allows us to traverse sequentially stored data structures cheaply and efficiently, since we can increment the address starting at the base register."

RS

Related Computing A Level answers

All answers ▸

Explain how the even parity system works when transmitting ASCII codes. Include a description of the roles of the sending device and the receiving device during transmission.


Discuss the differences between operating systems designed for desktop computers and embedded systems.


Describe two's complement.


A computer stores floating point numbers of size 1 byte, with 3 bits for the mantissa and 5 bits for the exponent. State what the effects would be on the stored numbers if instead 5 bits were used for the mantissa and 3 bits were used for the exponent.