SlideShare ist ein Scribd-Unternehmen logo
1 von 1
Downloaden Sie, um offline zu lesen
please provide whole solution in java please thank you
Many entities, such as electronics and biological organisms, can be organized in a taxonmy. How
would you design a system that stores the taxonomy and allow queries on the taxonmy? The goal
of HW3 is to build a tree from categories of entities and answer queries on the tree. Your
submission has a tree with a linked structure of tree nodes and supports (at least) the following
operations: - addChild(childNode) // to maintain alphabetical/lexicographical order of the
children - getChildren() - getParent() For each node, you may not assume it has a fixed or
maximum number of children. We will evaluate your submission on code01.fit.edu, so you are
strongly recommended to ensure your program functions properly on code01.fit.edu. To preserve
invisible characters, we strongly recommend you to download, NOT copy and paste, input data
files. Input: Input is from the command-line arguments for HW3.java (hw3.c) in this order: 1.
filename of the data - the first line has the top category, followed by its sub-categories; each of
the following lines has a category, followed by its sub-categories. 2. filename of queries, each
line has one of the following queries: - DirectSupercategory category - DirectSubcategories
category - AllSupercategories category - AllSubcategories category -
NumberOfAllSupercategories category - NumberOfAllSubcategories category - IsSupercategory
category supercategory - IsSubcategory category subcategory - ClosestCommonSupercategory
category 1 category 2 You may assume categories in the queries exist in the data. Sample input
files are on the course website. Output: Output goes to the standard output (screen), each line has
an answer with the corresponding query: - DirectSupercategory category supercategory -
DirectSubcategories category subcategory 1 subcategory 2 ... - AllSupercategories category
supercategory1 supercategory 2 ... - AllSubcategories category subcategory 1 subcategory 2 ... -
NumberOfAllSupercategories category count - NumberOfAllSubcategories category count -
IsSupercategory category supercategory yes/no - IsSubcategory category subcategory yes/no -
ClosestCommonSupercategory category 1 category 2 closestCommonSupercategory
DirectSubcategories (if any) are in the alphabetical/lexicographical order. AllSubcategories (if
any) are in "pre-order." AllSupercategories (if any) are in the order of supercategory, grand-
supercategory, ... IsSupercategory/IsSubcategory refers to any supercategory/subcategory.
ClosestCommonSupercategory (if any) is the deepest supercategory of both categories. Sample
output is on the course website.

Weitere ähnliche Inhalte

Ähnlich wie please provide whole solution in java please thank you Many entities-.pdf

Pega Training institutes in Banglore ( ashockroy99@gmail.com)
Pega Training institutes in Banglore ( ashockroy99@gmail.com)Pega Training institutes in Banglore ( ashockroy99@gmail.com)
Pega Training institutes in Banglore ( ashockroy99@gmail.com)Ashock Roy
 
Root cause of community problem for this discussion, you will i
Root cause of community problem for this discussion, you will iRoot cause of community problem for this discussion, you will i
Root cause of community problem for this discussion, you will issusere73ce3
 
Cosc 1436 java programming/tutorialoutlet
Cosc 1436 java programming/tutorialoutletCosc 1436 java programming/tutorialoutlet
Cosc 1436 java programming/tutorialoutletWoodardz
 
]project-open[ Data-Model “Categories”
]project-open[ Data-Model “Categories”]project-open[ Data-Model “Categories”
]project-open[ Data-Model “Categories”Klaus Hofeditz
 
Devry CIS 355A Full Course Latest
Devry CIS 355A Full Course LatestDevry CIS 355A Full Course Latest
Devry CIS 355A Full Course LatestAtifkhilji
 
130614 sebastiano panichella - mining source code descriptions from develo...
130614   sebastiano panichella -  mining source code descriptions from develo...130614   sebastiano panichella -  mining source code descriptions from develo...
130614 sebastiano panichella - mining source code descriptions from develo...Ptidej Team
 
PRG 421 Education Specialist / snaptutorial.com
PRG 421 Education Specialist / snaptutorial.comPRG 421 Education Specialist / snaptutorial.com
PRG 421 Education Specialist / snaptutorial.comMcdonaldRyan108
 
Active learing aowelm screen shots
Active  learing  aowelm  screen shotsActive  learing  aowelm  screen shots
Active learing aowelm screen shotsVenkat Projects
 
Strayer cis 406 week 10 assignment 2 u grade new
Strayer cis 406 week 10 assignment 2 u grade newStrayer cis 406 week 10 assignment 2 u grade new
Strayer cis 406 week 10 assignment 2 u grade newshyaminfo16
 
SE-IT JAVA LAB SYLLABUS
SE-IT JAVA LAB SYLLABUSSE-IT JAVA LAB SYLLABUS
SE-IT JAVA LAB SYLLABUSnikshaikh786
 
Java programming basics
Java programming basicsJava programming basics
Java programming basicsHamid Ghorbani
 
Strayer cis 406 week 10 assignment 2 u grade new
Strayer cis 406 week 10 assignment 2 u grade newStrayer cis 406 week 10 assignment 2 u grade new
Strayer cis 406 week 10 assignment 2 u grade newdixonbakerr
 
Strayer cis 406 week 10 assignment 2 u grade new
Strayer cis 406 week 10 assignment 2 u grade newStrayer cis 406 week 10 assignment 2 u grade new
Strayer cis 406 week 10 assignment 2 u grade newshyaminfo40
 
Strayer cis 406 week 10 assignment 2 u grade new
Strayer cis 406 week 10 assignment 2 u grade newStrayer cis 406 week 10 assignment 2 u grade new
Strayer cis 406 week 10 assignment 2 u grade newcharlesangles123
 
Strayer cis 406 week 10 assignment 2 u grade new
Strayer cis 406 week 10 assignment 2 u grade newStrayer cis 406 week 10 assignment 2 u grade new
Strayer cis 406 week 10 assignment 2 u grade newchanduruc123
 
INF 103 Course Success is a Tradition / newtonhelp.com
INF 103 Course Success is a Tradition / newtonhelp.comINF 103 Course Success is a Tradition / newtonhelp.com
INF 103 Course Success is a Tradition / newtonhelp.comrock123450
 
ContentsCOSC 2436 – LAB4TITLE .............................docx
ContentsCOSC 2436 – LAB4TITLE .............................docxContentsCOSC 2436 – LAB4TITLE .............................docx
ContentsCOSC 2436 – LAB4TITLE .............................docxdickonsondorris
 
Inf 103 Future Our Mission/newtonhelp.com
Inf 103 Future Our Mission/newtonhelp.comInf 103 Future Our Mission/newtonhelp.com
Inf 103 Future Our Mission/newtonhelp.comamaranthbeg40
 
Java: Inheritance
Java: InheritanceJava: Inheritance
Java: InheritanceTareq Hasan
 

Ähnlich wie please provide whole solution in java please thank you Many entities-.pdf (20)

Pega Training institutes in Banglore ( ashockroy99@gmail.com)
Pega Training institutes in Banglore ( ashockroy99@gmail.com)Pega Training institutes in Banglore ( ashockroy99@gmail.com)
Pega Training institutes in Banglore ( ashockroy99@gmail.com)
 
Root cause of community problem for this discussion, you will i
Root cause of community problem for this discussion, you will iRoot cause of community problem for this discussion, you will i
Root cause of community problem for this discussion, you will i
 
Cosc 1436 java programming/tutorialoutlet
Cosc 1436 java programming/tutorialoutletCosc 1436 java programming/tutorialoutlet
Cosc 1436 java programming/tutorialoutlet
 
]project-open[ Data-Model “Categories”
]project-open[ Data-Model “Categories”]project-open[ Data-Model “Categories”
]project-open[ Data-Model “Categories”
 
Java Unit 2(Part 1)
Java Unit 2(Part 1)Java Unit 2(Part 1)
Java Unit 2(Part 1)
 
Devry CIS 355A Full Course Latest
Devry CIS 355A Full Course LatestDevry CIS 355A Full Course Latest
Devry CIS 355A Full Course Latest
 
130614 sebastiano panichella - mining source code descriptions from develo...
130614   sebastiano panichella -  mining source code descriptions from develo...130614   sebastiano panichella -  mining source code descriptions from develo...
130614 sebastiano panichella - mining source code descriptions from develo...
 
PRG 421 Education Specialist / snaptutorial.com
PRG 421 Education Specialist / snaptutorial.comPRG 421 Education Specialist / snaptutorial.com
PRG 421 Education Specialist / snaptutorial.com
 
Active learing aowelm screen shots
Active  learing  aowelm  screen shotsActive  learing  aowelm  screen shots
Active learing aowelm screen shots
 
Strayer cis 406 week 10 assignment 2 u grade new
Strayer cis 406 week 10 assignment 2 u grade newStrayer cis 406 week 10 assignment 2 u grade new
Strayer cis 406 week 10 assignment 2 u grade new
 
SE-IT JAVA LAB SYLLABUS
SE-IT JAVA LAB SYLLABUSSE-IT JAVA LAB SYLLABUS
SE-IT JAVA LAB SYLLABUS
 
Java programming basics
Java programming basicsJava programming basics
Java programming basics
 
Strayer cis 406 week 10 assignment 2 u grade new
Strayer cis 406 week 10 assignment 2 u grade newStrayer cis 406 week 10 assignment 2 u grade new
Strayer cis 406 week 10 assignment 2 u grade new
 
Strayer cis 406 week 10 assignment 2 u grade new
Strayer cis 406 week 10 assignment 2 u grade newStrayer cis 406 week 10 assignment 2 u grade new
Strayer cis 406 week 10 assignment 2 u grade new
 
Strayer cis 406 week 10 assignment 2 u grade new
Strayer cis 406 week 10 assignment 2 u grade newStrayer cis 406 week 10 assignment 2 u grade new
Strayer cis 406 week 10 assignment 2 u grade new
 
Strayer cis 406 week 10 assignment 2 u grade new
Strayer cis 406 week 10 assignment 2 u grade newStrayer cis 406 week 10 assignment 2 u grade new
Strayer cis 406 week 10 assignment 2 u grade new
 
INF 103 Course Success is a Tradition / newtonhelp.com
INF 103 Course Success is a Tradition / newtonhelp.comINF 103 Course Success is a Tradition / newtonhelp.com
INF 103 Course Success is a Tradition / newtonhelp.com
 
ContentsCOSC 2436 – LAB4TITLE .............................docx
ContentsCOSC 2436 – LAB4TITLE .............................docxContentsCOSC 2436 – LAB4TITLE .............................docx
ContentsCOSC 2436 – LAB4TITLE .............................docx
 
Inf 103 Future Our Mission/newtonhelp.com
Inf 103 Future Our Mission/newtonhelp.comInf 103 Future Our Mission/newtonhelp.com
Inf 103 Future Our Mission/newtonhelp.com
 
Java: Inheritance
Java: InheritanceJava: Inheritance
Java: Inheritance
 

Mehr von RyanF2PLeev

Please help me answer these questions below- 1- This organism is in th.pdf
Please help me answer these questions below- 1- This organism is in th.pdfPlease help me answer these questions below- 1- This organism is in th.pdf
Please help me answer these questions below- 1- This organism is in th.pdfRyanF2PLeev
 
please help and explain thoroughly and show work- Thank you! 1- (.pdf
please help and explain thoroughly and show work- Thank you!      1- (.pdfplease help and explain thoroughly and show work- Thank you!      1- (.pdf
please help and explain thoroughly and show work- Thank you! 1- (.pdfRyanF2PLeev
 
Please give me a heads up on- Communications and Servicing The Client.pdf
Please give me a heads up on- Communications and Servicing The Client.pdfPlease give me a heads up on- Communications and Servicing The Client.pdf
Please give me a heads up on- Communications and Servicing The Client.pdfRyanF2PLeev
 
Population Mean formula is provided below- Identify - match the variab.pdf
Population Mean formula is provided below- Identify - match the variab.pdfPopulation Mean formula is provided below- Identify - match the variab.pdf
Population Mean formula is provided below- Identify - match the variab.pdfRyanF2PLeev
 
Portfolio invested in stock- Portfolio invested in bond- Expected Retu.pdf
Portfolio invested in stock- Portfolio invested in bond- Expected Retu.pdfPortfolio invested in stock- Portfolio invested in bond- Expected Retu.pdf
Portfolio invested in stock- Portfolio invested in bond- Expected Retu.pdfRyanF2PLeev
 
Points X-Y- and Z are locations on the topographic map bellow- Elevati.pdf
Points X-Y- and Z are locations on the topographic map bellow- Elevati.pdfPoints X-Y- and Z are locations on the topographic map bellow- Elevati.pdf
Points X-Y- and Z are locations on the topographic map bellow- Elevati.pdfRyanF2PLeev
 
Plot the frequency of p in this population- Make sure you plot the fre.pdf
Plot the frequency of p in this population- Make sure you plot the fre.pdfPlot the frequency of p in this population- Make sure you plot the fre.pdf
Plot the frequency of p in this population- Make sure you plot the fre.pdfRyanF2PLeev
 
Please help me with this from the Dental assistant class 112 Chart D.pdf
Please help me with this from the Dental assistant class 112   Chart D.pdfPlease help me with this from the Dental assistant class 112   Chart D.pdf
Please help me with this from the Dental assistant class 112 Chart D.pdfRyanF2PLeev
 
Please help me with this question! 7-3 Another attacker Mallory interc.pdf
Please help me with this question! 7-3 Another attacker Mallory interc.pdfPlease help me with this question! 7-3 Another attacker Mallory interc.pdf
Please help me with this question! 7-3 Another attacker Mallory interc.pdfRyanF2PLeev
 
please show your work -) T-Scores the question is referring to- 3- A.pdf
please show your work -)  T-Scores the question is referring to- 3- A.pdfplease show your work -)  T-Scores the question is referring to- 3- A.pdf
please show your work -) T-Scores the question is referring to- 3- A.pdfRyanF2PLeev
 
Please explain how you reached the answer if applicable- 1- Find the.pdf
Please explain how you reached the answer if applicable-  1- Find the.pdfPlease explain how you reached the answer if applicable-  1- Find the.pdf
Please explain how you reached the answer if applicable- 1- Find the.pdfRyanF2PLeev
 
Please review the guide by CoinTelegraph 1) Come up with an idea- thin.pdf
Please review the guide by CoinTelegraph 1) Come up with an idea- thin.pdfPlease review the guide by CoinTelegraph 1) Come up with an idea- thin.pdf
Please review the guide by CoinTelegraph 1) Come up with an idea- thin.pdfRyanF2PLeev
 
Please provide the code and the explanation for Question 1-1 and 1-2-.pdf
Please provide the code and the explanation for Question 1-1 and 1-2-.pdfPlease provide the code and the explanation for Question 1-1 and 1-2-.pdf
Please provide the code and the explanation for Question 1-1 and 1-2-.pdfRyanF2PLeev
 
Please provide a new answer- Do not copy and paste a response- Thank y.pdf
Please provide a new answer- Do not copy and paste a response- Thank y.pdfPlease provide a new answer- Do not copy and paste a response- Thank y.pdf
Please provide a new answer- Do not copy and paste a response- Thank y.pdfRyanF2PLeev
 
Please identify the type of protein complex that will be recruited to.pdf
Please identify the type of protein complex that will be recruited to.pdfPlease identify the type of protein complex that will be recruited to.pdf
Please identify the type of protein complex that will be recruited to.pdfRyanF2PLeev
 
Please help me with this question! 6- Certificates and PKI- (10 points.pdf
Please help me with this question! 6- Certificates and PKI- (10 points.pdfPlease help me with this question! 6- Certificates and PKI- (10 points.pdf
Please help me with this question! 6- Certificates and PKI- (10 points.pdfRyanF2PLeev
 
Please help me with this question! 7- Kerberos- (15 points) The EECS D.pdf
Please help me with this question! 7- Kerberos- (15 points) The EECS D.pdfPlease help me with this question! 7- Kerberos- (15 points) The EECS D.pdf
Please help me with this question! 7- Kerberos- (15 points) The EECS D.pdfRyanF2PLeev
 
Java Circle-java -Make the 'color' attribute private -Make a constr.pdf
Java  Circle-java   -Make the 'color' attribute private -Make a constr.pdfJava  Circle-java   -Make the 'color' attribute private -Make a constr.pdf
Java Circle-java -Make the 'color' attribute private -Make a constr.pdfRyanF2PLeev
 
Jeters Company uses a periodic inventory system and reports the follow.pdf
Jeters Company uses a periodic inventory system and reports the follow.pdfJeters Company uses a periodic inventory system and reports the follow.pdf
Jeters Company uses a periodic inventory system and reports the follow.pdfRyanF2PLeev
 
Jill Perry invested $10-000 for a 5- interest in a limited partnership.pdf
Jill Perry invested $10-000 for a 5- interest in a limited partnership.pdfJill Perry invested $10-000 for a 5- interest in a limited partnership.pdf
Jill Perry invested $10-000 for a 5- interest in a limited partnership.pdfRyanF2PLeev
 

Mehr von RyanF2PLeev (20)

Please help me answer these questions below- 1- This organism is in th.pdf
Please help me answer these questions below- 1- This organism is in th.pdfPlease help me answer these questions below- 1- This organism is in th.pdf
Please help me answer these questions below- 1- This organism is in th.pdf
 
please help and explain thoroughly and show work- Thank you! 1- (.pdf
please help and explain thoroughly and show work- Thank you!      1- (.pdfplease help and explain thoroughly and show work- Thank you!      1- (.pdf
please help and explain thoroughly and show work- Thank you! 1- (.pdf
 
Please give me a heads up on- Communications and Servicing The Client.pdf
Please give me a heads up on- Communications and Servicing The Client.pdfPlease give me a heads up on- Communications and Servicing The Client.pdf
Please give me a heads up on- Communications and Servicing The Client.pdf
 
Population Mean formula is provided below- Identify - match the variab.pdf
Population Mean formula is provided below- Identify - match the variab.pdfPopulation Mean formula is provided below- Identify - match the variab.pdf
Population Mean formula is provided below- Identify - match the variab.pdf
 
Portfolio invested in stock- Portfolio invested in bond- Expected Retu.pdf
Portfolio invested in stock- Portfolio invested in bond- Expected Retu.pdfPortfolio invested in stock- Portfolio invested in bond- Expected Retu.pdf
Portfolio invested in stock- Portfolio invested in bond- Expected Retu.pdf
 
Points X-Y- and Z are locations on the topographic map bellow- Elevati.pdf
Points X-Y- and Z are locations on the topographic map bellow- Elevati.pdfPoints X-Y- and Z are locations on the topographic map bellow- Elevati.pdf
Points X-Y- and Z are locations on the topographic map bellow- Elevati.pdf
 
Plot the frequency of p in this population- Make sure you plot the fre.pdf
Plot the frequency of p in this population- Make sure you plot the fre.pdfPlot the frequency of p in this population- Make sure you plot the fre.pdf
Plot the frequency of p in this population- Make sure you plot the fre.pdf
 
Please help me with this from the Dental assistant class 112 Chart D.pdf
Please help me with this from the Dental assistant class 112   Chart D.pdfPlease help me with this from the Dental assistant class 112   Chart D.pdf
Please help me with this from the Dental assistant class 112 Chart D.pdf
 
Please help me with this question! 7-3 Another attacker Mallory interc.pdf
Please help me with this question! 7-3 Another attacker Mallory interc.pdfPlease help me with this question! 7-3 Another attacker Mallory interc.pdf
Please help me with this question! 7-3 Another attacker Mallory interc.pdf
 
please show your work -) T-Scores the question is referring to- 3- A.pdf
please show your work -)  T-Scores the question is referring to- 3- A.pdfplease show your work -)  T-Scores the question is referring to- 3- A.pdf
please show your work -) T-Scores the question is referring to- 3- A.pdf
 
Please explain how you reached the answer if applicable- 1- Find the.pdf
Please explain how you reached the answer if applicable-  1- Find the.pdfPlease explain how you reached the answer if applicable-  1- Find the.pdf
Please explain how you reached the answer if applicable- 1- Find the.pdf
 
Please review the guide by CoinTelegraph 1) Come up with an idea- thin.pdf
Please review the guide by CoinTelegraph 1) Come up with an idea- thin.pdfPlease review the guide by CoinTelegraph 1) Come up with an idea- thin.pdf
Please review the guide by CoinTelegraph 1) Come up with an idea- thin.pdf
 
Please provide the code and the explanation for Question 1-1 and 1-2-.pdf
Please provide the code and the explanation for Question 1-1 and 1-2-.pdfPlease provide the code and the explanation for Question 1-1 and 1-2-.pdf
Please provide the code and the explanation for Question 1-1 and 1-2-.pdf
 
Please provide a new answer- Do not copy and paste a response- Thank y.pdf
Please provide a new answer- Do not copy and paste a response- Thank y.pdfPlease provide a new answer- Do not copy and paste a response- Thank y.pdf
Please provide a new answer- Do not copy and paste a response- Thank y.pdf
 
Please identify the type of protein complex that will be recruited to.pdf
Please identify the type of protein complex that will be recruited to.pdfPlease identify the type of protein complex that will be recruited to.pdf
Please identify the type of protein complex that will be recruited to.pdf
 
Please help me with this question! 6- Certificates and PKI- (10 points.pdf
Please help me with this question! 6- Certificates and PKI- (10 points.pdfPlease help me with this question! 6- Certificates and PKI- (10 points.pdf
Please help me with this question! 6- Certificates and PKI- (10 points.pdf
 
Please help me with this question! 7- Kerberos- (15 points) The EECS D.pdf
Please help me with this question! 7- Kerberos- (15 points) The EECS D.pdfPlease help me with this question! 7- Kerberos- (15 points) The EECS D.pdf
Please help me with this question! 7- Kerberos- (15 points) The EECS D.pdf
 
Java Circle-java -Make the 'color' attribute private -Make a constr.pdf
Java  Circle-java   -Make the 'color' attribute private -Make a constr.pdfJava  Circle-java   -Make the 'color' attribute private -Make a constr.pdf
Java Circle-java -Make the 'color' attribute private -Make a constr.pdf
 
Jeters Company uses a periodic inventory system and reports the follow.pdf
Jeters Company uses a periodic inventory system and reports the follow.pdfJeters Company uses a periodic inventory system and reports the follow.pdf
Jeters Company uses a periodic inventory system and reports the follow.pdf
 
Jill Perry invested $10-000 for a 5- interest in a limited partnership.pdf
Jill Perry invested $10-000 for a 5- interest in a limited partnership.pdfJill Perry invested $10-000 for a 5- interest in a limited partnership.pdf
Jill Perry invested $10-000 for a 5- interest in a limited partnership.pdf
 

Kürzlich hochgeladen

The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...PsychoTech Services
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room servicediscovermytutordmt
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajanpragatimahajan3
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhikauryashika82
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfchloefrazer622
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...christianmathematics
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 

Kürzlich hochgeladen (20)

The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room service
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajan
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdf
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 

please provide whole solution in java please thank you Many entities-.pdf

  • 1. please provide whole solution in java please thank you Many entities, such as electronics and biological organisms, can be organized in a taxonmy. How would you design a system that stores the taxonomy and allow queries on the taxonmy? The goal of HW3 is to build a tree from categories of entities and answer queries on the tree. Your submission has a tree with a linked structure of tree nodes and supports (at least) the following operations: - addChild(childNode) // to maintain alphabetical/lexicographical order of the children - getChildren() - getParent() For each node, you may not assume it has a fixed or maximum number of children. We will evaluate your submission on code01.fit.edu, so you are strongly recommended to ensure your program functions properly on code01.fit.edu. To preserve invisible characters, we strongly recommend you to download, NOT copy and paste, input data files. Input: Input is from the command-line arguments for HW3.java (hw3.c) in this order: 1. filename of the data - the first line has the top category, followed by its sub-categories; each of the following lines has a category, followed by its sub-categories. 2. filename of queries, each line has one of the following queries: - DirectSupercategory category - DirectSubcategories category - AllSupercategories category - AllSubcategories category - NumberOfAllSupercategories category - NumberOfAllSubcategories category - IsSupercategory category supercategory - IsSubcategory category subcategory - ClosestCommonSupercategory category 1 category 2 You may assume categories in the queries exist in the data. Sample input files are on the course website. Output: Output goes to the standard output (screen), each line has an answer with the corresponding query: - DirectSupercategory category supercategory - DirectSubcategories category subcategory 1 subcategory 2 ... - AllSupercategories category supercategory1 supercategory 2 ... - AllSubcategories category subcategory 1 subcategory 2 ... - NumberOfAllSupercategories category count - NumberOfAllSubcategories category count - IsSupercategory category supercategory yes/no - IsSubcategory category subcategory yes/no - ClosestCommonSupercategory category 1 category 2 closestCommonSupercategory DirectSubcategories (if any) are in the alphabetical/lexicographical order. AllSubcategories (if any) are in "pre-order." AllSupercategories (if any) are in the order of supercategory, grand- supercategory, ... IsSupercategory/IsSubcategory refers to any supercategory/subcategory. ClosestCommonSupercategory (if any) is the deepest supercategory of both categories. Sample output is on the course website.