Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Data structures project Objectives: - To build a data structure from scratch To use and test your own data structure. - To strengthen the concepts

image text in transcribed
Data structures project Objectives: - To build a data structure from scratch To use and test your own data structure. - To strengthen the concepts of data structures - To strengthen your programming skills Problem: Suppose that a tout file has records about hordanian Chines, who applied an application to orange telecommunication company to get a home ADSL subscription Each record in the text file contains the following fields Separated by space First name surname Id number Del number city date of birth This file given to you to tokete each record of the file and using these tokens construct an object for each citizen (customer class), then store these objects in a list (main list that consist of all objects The company asked you to scan the list above and separate the cities in different lists according to the city where they are live list for cities lived in Amman, another for Zarua city and so on) Now the company wants to start execution of the applications in a specific order, such that each customer will be en queued in a queue according to his city you have number of queues equal to the number of cities The customers will be ented in their aty queves according to the number, where the customer with lowest id will be served first but customers with year of birth date is greater than or equal to 2000 will not be served now and their objects will be stacked in a stack. For each customer served (de-queued from this information in the main list and the city list must be updated by adding flag in his object showing that he got ADSL subscription The stacked customers from all cites will be stored in one list for underved customers The cost of providing ADSL to each customer 700 At the end print the total money the company earned from customers and the information about all customers that already got the ADSL subscription Each student must submit the following - Word document include the following Cover page (Project, id, namel. Theory part about the data structures used in the project Screenshots about the code and the results NetBeans project include the following Full Implementation code. Test code Note: The code must be well structured, as the structure of code will be graded -For carity, your code must have comments, and this will be graded. Your code must be original and written by you otherwise the regulation of cheating will be implemented Deadline for submission your work on moodle: 9/1/2022 on 2:00 PM

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

Database Concepts

Authors: David Kroenke, David Auer, Scott Vandenberg, Robert Yoder

10th Edition

0137916787, 978-0137916788

More Books

Students also viewed these Databases questions

Question

=+Discuss the importance of research in social media practices

Answered: 1 week ago

Question

=+1 Is the decision fair to employees?

Answered: 1 week ago