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."

Answered by Ravi S. Computing tutor

1673 Views

See similar Computing A Level tutors

Related Computing A Level answers

All answers ▸

Explain what is meant by the term ‘TCP/IP stack’ [3]


How is different an NFA from a DFA?


In Python, write a recursive function that returns the first n Fibonacci numbers.


Define resolution in regards to images and how it differs from colour depth


We're here to help

contact us iconContact usWhatsapp logoMessage us on Whatsapptelephone icon+44 (0) 203 773 6020
Facebook logoInstagram logoLinkedIn logo
Cookie Preferences