Question

In: Computer Science

You have been assigned to an ICT firm for your attachment studies and as a result,...

You have been assigned to an ICT firm for your attachment studies and as a result, required to learn and aid in some basic IT-related activities.i. As part of your first task, your supervisor requests you to aid with the development of a bank ticketing system that ensures the first time and already admitted customers are served according to a predefined preference as shown below. Write an algorithm that would ensure customers can be awarded tickets and served based on the type of service requested. Ensure you clearly mention all abstract data structures that the algorithm would use.

Your answer

Solutions

Expert Solution

Solution:

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

A simple sort will work as it will sort the array and we can assign 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 assign them 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 linked list 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.....


Related Solutions

Your firm is auditing Samson Ltd, a large manufacturer of steel products. You have been assigned...
Your firm is auditing Samson Ltd, a large manufacturer of steel products. You have been assigned the audit of property, plant and equipment (PPE) for the year-ended 30 June 2016. Samson Ltd maintains a computerised fixed assets register. The company has three main classes of PPE: (1) Freehold Land & Buildings, (2) Manufacturing Machinery, Plant & Equipment, and (3) Motor Vehicles. You are concerned that the depreciation rates for Motor Vehicles may be inadequate. You are also concerned that the...
You are a CPA working for a local firm and have been assigned the 2020 tax...
You are a CPA working for a local firm and have been assigned the 2020 tax return of Bobby Crosser. In going over the data that Bobby gave the firm, you are surprised to see that he has reported no dividend income or gains from the sale of stock. You recently prepared the 2020 gift tax return of Bobby’s aunt Ester. In that return, Ester reported a gift of stock to Bobby on January 6, 2020. The stock had a...
As a senior in a professional services firm, you have been assigned to plan the financial...
As a senior in a professional services firm, you have been assigned to plan the financial statement audit of a private company named Toy Central Corporation (TCC). In addition, the partner on the engagement has asked you to identify business risks that could adversely affect TCC's sustained profitability, so that they can be brought to the attention of the company's board of directors. These tasks will require you to draw on your knowledge of supply chain management, marketing, internal controls,...
You have been assigned to report to your network administrators on the use of Teredo
Case Project 4-1: Tunneling IPv6 You have been assigned to report to your network administrators on the use of Teredo. Prepare a two-page memo that outlines why Teredo was developed, how it is implemented in Windows operating systems, for which types of networks it is appropriate, and how long it should be implemented.
Company Name : Describe your Products /Services : In your Organization you have been assigned as...
Company Name : Describe your Products /Services : In your Organization you have been assigned as a Process owner for implementing ISO 9001: 2015 in a new Premises for existing Products/Services or existing and new Products/Services. How have you complied with the requirements of Clause No 4 ( Internal issues, External issues, Needs and expectations of Interested parties , Scope , QMS system and Processes) and Clause No 6 of ISO 9001:2015 with respect to your organization?   [Marks 3] What...
You have been assigned to audit the work-in-process accounts of a manufacturing firm. What are examples...
You have been assigned to audit the work-in-process accounts of a manufacturing firm. What are examples of how you can use machine learning to assist with your validation of balances?
You are a recently designated accountant. As a result of having your designation, you have been...
You are a recently designated accountant. As a result of having your designation, you have been hired as the controller at a national manufacturing company. Due to a recent economic slowdown, the company has been struggling to meet earnings targets. These targets are the basis for senior management bonuses. You report directly to the CFO. This is your second month with the company; however, it is your first year end (December 31). The auditor will be coming to audit the...
As a Nurse assigned to teach student nurses on clinical at your facility, you have been...
As a Nurse assigned to teach student nurses on clinical at your facility, you have been selected to teach them on Anaemia. design a simple lesson plan for the lecture.
Implementation Committee: You have been assigned as the project manager of an EHR implementation at your...
Implementation Committee: You have been assigned as the project manager of an EHR implementation at your facility. Your first order of business is to select members for the implementation committee. At your first meeting, you will also be required to describe the importance of an implementation committee and provide an overview of key health information system concepts as they relate to successful system planning and implementation. In a document, write out your notes for the presentation you will give at...
You and your colleagues have been assigned to the audit of a private company, Rose Pty...
You and your colleagues have been assigned to the audit of a private company, Rose Pty Limited, which operates a plant nursery with a turnover of $6 million a year. The total number of full-time employees working for the company is 16, together with between five to seven casual employees as and when required on weekends. The company is run by a husband and wife team who are the directors and shareholders and a full-time accounts clerk, Sofia, who is...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT