Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

ITDR2105 (Data Structures-1) Assignment: 15 Marks Deadline: 31 Dec 2020, 11:59 PM Student ID: Name: Q1: A particular bank in Oman is facing an issue

image text in transcribed
image text in transcribed
ITDR2105 (Data Structures-1) Assignment: 15 Marks Deadline: 31" Dec 2020, 11:59 PM Student ID: Name: 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. headphone or morta her PA NUEL

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

Oracle Solaris 11.2 System Administration (oracle Press)

Authors: Harry Foxwell

1st Edition

007184421X, 9780071844215

More Books

Students also viewed these Databases questions

Question

Who do you admire most and why?

Answered: 1 week ago