Question: Arrays vs . Linked - Lists - Interpret the following structure as both an array and a linked list. As an array, the number in

Arrays vs. Linked-Lists- Interpret the following structure as both an array and a linked list.
As an array, the number in the .FILL after the .STRINGZ represents their grade in the class.
As a linked list, the number in the .FILL after the .STRINGZ represents the pointer to the next item in the linked list. The linked list is sorted from highest to lowest grade. In both ways of interpretation, the structure starts being read at x0000.
.ORIG x0000
.STRINGZ "ABE"
.FILL #20
.STRINGZ "BRK"
.FILL #30
.STRINGZ "CAG"
.FILL #25
.STRINGZ "DRK"
.FILL #35
.STRINGZ "ELL"
.FILL #10
.STRINGZ "FLS"

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!