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

1449 Views

See similar Computing A Level tutors

Related Computing A Level answers

All answers ▸

Given an ordered array of integers "V" and a integer "Sum", write a function that would return "true" if it finds two numbers in V that add up to Sum, and "false" otherwise.


What is 55 using 8-bit unsigned binary?


How can XOR be used in encryption and what type of encryption is this ?


Which are the parts of a compuer?


We're here to help

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

© MyTutorWeb Ltd 2013–2024

Terms & Conditions|Privacy Policy