Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please answer for me this question In java languages Q1: A particular bank in Oman is facing an issue while serving its customers. The bank

Please answer for me this question

image text in transcribed

In java languages

Q1: A particular bank in Oman is facing an issue while serving its customers. The bank want to employ some kind of ordering so that it can serve its customers on the first come first serve' basis. a) As a computer science student, explain the kind of data structure you will use to solve the problem and why? b) Then, write a program to simulate the process. The program should ask user to enter names of 10 customer and place them in the data structure you have selected. c) Following this, program should remove the names from the data structure one by one and display the name that has been served. Q2: The telecommunication company of Oman 'Omantel has to maintain a huge database of its customers. The maintenance process requires frequent searches, addition, and deletion of the customers. Using a linked list develop a program to store the customers phone numbers and name. The program display a Menu as below- 1: Add a phone Number 2: Delete a Phone number 3: Search a phone number 4: Display all phone numbers 5: Quit Then, the program takes appropriate action depending upon the user choice. The node structure is below. Each node has 3 fields. The first field stores the phone number, the second field is for name, and the third field points to the next node in the linked list

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Repairing And Querying Databases Under Aggregate Constraints

Authors: Sergio Flesca ,Filippo Furfaro ,Francesco Parisi

2011th Edition

146141640X, 978-1461416401

More Books

Students also viewed these Databases questions