You have been assigned to an I

You have been assigned to an ICT firm for your attachmentstudies and as a result, required to learn and aid in some basicIT-related activities.i. As part of your first task, yoursupervisor requests you to aid with the development of a bankticketing system that ensures the first time and already admittedcustomers are served according to a predefined preference as shownbelow. Write an algorithm that would ensure customers can beawarded tickets and served based on the type of service requested.Ensure you clearly mention all abstract data structures that thealgorithm would use.

Your answer

Answer:

Solution:

1) For the first task, I am assuming that you are given an arrayof customers’ work in the bank.

A simple sort will work as it will sort the array and we canassign ticket according to the sorted array

for example the given array is 1 3 4 2 1 2

after sorting, it will become 1 1 2 2 3 4 and now we can assignthem tickets according to their preference.

ALGORITHM:

take array as input

sort the array

assign ticket

Data Structures Used is array.

2) For the second task

if we don’t want to print A type score then just traverse linkedlist and check whether node’s data is equal to it or not

if it’s not equal then print it else don’t print it.

ALGORITHM:

while(node!=NULL)

{

if(node->data!=A)

print(node->data);

node=node->next;

}

data structure used is linked list as given in input.

************************************************************************************************************************************

#please consider my effort and give me a like…thank u…..


 
"Our Prices Start at $11.99. As Our First Client, Use Coupon Code GET15 to claim 15% Discount This Month!!"

Calculate your order
Pages (275 words)
Standard price: $0.00
Client Reviews
4.9
Sitejabber
4.6
Trustpilot
4.8
Our Guarantees
100% Confidentiality
Information about customers is confidential and never disclosed to third parties.
Original Writing
We complete all papers from scratch. You can get a plagiarism report.
Timely Delivery
No missed deadlines – 97% of assignments are completed in time.
Money Back
If you're confident that a writer didn't follow your order details, ask for a refund.

Calculate the price of your order

You will get a personal manager and a discount.
We'll send you the first draft for approval by at
Total price:
$0.00
Power up Your Academic Success with the
Team of Professionals. We’ve Got Your Back.
Power up Your Study Success with Experts We’ve Got Your Back.