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

1723 Views

See similar Computing A Level tutors

Related Computing A Level answers

All answers ▸

How do I solve a Karnaugh Map?


Describe two's complement.


What is the point of an Operating System?


A common construct found in many algorithms is a loop. Using pseudocode, write a pre-condition loop to output all of the even numbers between 99 and 201.


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