Question: (6) Johnny wants to process data inventory by using an array. The operations needed in this system are deleting items, adding new items, and sorting

 (6) Johnny wants to process data inventory by using an array.

(6) Johnny wants to process data inventory by using an array. The operations needed in this system are deleting items, adding new items, and sorting data based on the item code. However, his group member, Marzuki does not agree because using an array is not efficient. (1) Justify that Marzuki's argument is true. [3 marks) (ii) Give a suggestion of the data structure that is suitable for handling this case. [3 marks) 17 SULIT SULIT (BEEC 2363) (iii) According to Siva, this case could be handled by using a queue. Explain if this is possible. [3 marks)

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 Databases Questions!