Project Work Answers of Array Data Structure

Project Work Answers of Array Data Structure

a. In two –three sentences, explain the functionality required for your model of a
collect ion of shots on goal for each of the quarters. W …

Preview text

a. In two –three sentences, explain the functionality required for your model of a
collect ion of shots on goal for each of the quarters. Which kind of abstract data type (binary
tree, general tree, array, stack, priority queue, double -ended queue, set,
ordered/unordered list, etc.) is most appropriate for that functionality?
Each of the quarters is made of pointer of array of “node ” data type (ADT), which is a
linked list consists of one primitive data type , void pointer and one abstract data type ,
node*. So, the array abstract data type is the most appropriate for that Functionality .
b. Which underly ing data structure (array or linked -list) will you use as a basis to
model the collection of shots on goal for each of the quarters? In two –three sentences,
justify your answer.
The ba sis to the model consists of linked list data structure , as it has the next address
in the struct.
c. In two –three sentences, explain the functionality required for your model of the
game (i.e. a collection of quarters). Which kind of abstract data type (binary tree, general
tree, array, stack, priority queue, double -ended queue, set, ordered/unordered list, etc.) is
most appropriate for that functionality?
Each of the game is made of pointer of array of “quarter ” data type (ADT), which is
an arra y of pointer consists of one primitive data type and one abstract data type . So, the
array abstract data type is the most appropriate for that Functionality .
d. Which underlying data structure (array or linked -list) will you use as a basis to model
the game (i.e. a collection of quarters)? In two –three sentences, justify your answer.
The ba sis to the model consists of array data structure and ea ch pointer has one
linked list da ta structure.

Order Now

QUALITY: 100% ORIGINAL PAPER – NO PLAGIARISM – CUSTOM PAPER