Завершен

develop a Java application

In this project, your team will develop a Java application for defining and querying family

trees. You should apply an implementation of the ADT Tree.

You are given two input text files. The first input file lists the names and genders of

different persons. We will assume that a name is a single string consisting only of letters

with no empty spaces. The gender can be M for male and F for female. An example of

the first input file is as follows:

John, M

Mike, M

Alisa, F

Alina, F

We will also assume that every person name is unique.

The second input file lists parent-child relationships. An example is as follows:

John, Mike

Alisa, Mike

Here, the first line indicates that John is a parent of Mike whereas the second line

indicates that Alisa is the second part of Mike. Clearly, John is the father of Mike and

Alisa is the mother of Mike.

You will develop a program that reads the two input files, and then provides users with

functions to query the family tree. After reading the input files, the program should ask

the user to choose one of the following options:

1- who is the father of?

2- who are the siblings of?

3- Who are the sons of?

4- Who are the uncles of?

5- Who are the aunts of?

The user enters an option, then the program should ask the user to enter the person’s

name. Then, the program displays the answer if the person exists, or an error message

in case the person does not exit. In some cases, the result can be empty. In these cases,

the program simply prints an empty line. The program should keep asking the user (e.g.,

using a loop) until the user enters a number outside the range (1-5).

Page | 3

Your team must submit the following items:

1- All files in the Java program.

2- The input files used for testing the program.

3- A screenshot of the output of the program when entering several queries.

4- A sketch of the family tree which should help the instructor to know the family

tree used as input.

5- A time efficiency analysis for the worst, average, and best cases using Big-O

notation for a method that implements one of the five search options.

Навыки: Java, Архитектура ПО, PHP, Программирование на С, JavaScript

Показать больше: java applications examples, java application development using eclipse, intellij run java file, java application development projects, java application development, java standalone application gui, java ide, how to create desktop application in java using netbeans, develop windows application java, software develop java application drop, best api java can develop chat application, develop java mobile application gps, develop java application gps information sms, develop symbian application java, develop challenging java application, develop chat application java, develop console java application send message phone receive response, develop desktop application tecnology java, develop flex java application tomcat server, develop gps application java

О работодателе:
( 2 отзыв(-а, -ов) ) alain, United Arab Emirates

ID проекта: #25034736

Поручен:

ARKSolution2015

Sir, I have gone through your project description and am looking to provide my service for java ADT [login to view URL] leave a message on my chat so we can discuss the budget and deadline of the project. For more than 7 years Больше

$60 USD за 3 дней(-я)
(226 отзывов(-а))
6.9

2 фрилансеров(-а) готовы выполнить эту работу в среднем за $72

$83 USD за 1 день
(0 отзывов(-а))
0.0