SlideShare ist ein Scribd-Unternehmen logo
1 von 1
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 In Java Please Thank you!! Many entities- such as electronics and biol.docx

PRG 421 Education Specialist / snaptutorial.com
PRG 421 Education Specialist / snaptutorial.comPRG 421 Education Specialist / snaptutorial.com
PRG 421 Education Specialist / snaptutorial.comMcdonaldRyan108
 
Bt0082, visual basic
Bt0082, visual basicBt0082, visual basic
Bt0082, visual basicsmumbahelp
 
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
 
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
 
PEARC17: Designsafe: Using Elasticsearch to Share and Search Data on a Scienc...
PEARC17: Designsafe: Using Elasticsearch to Share and Search Data on a Scienc...PEARC17: Designsafe: Using Elasticsearch to Share and Search Data on a Scienc...
PEARC17: Designsafe: Using Elasticsearch to Share and Search Data on a Scienc...Josue Balandrano
 
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
 
Cosc 1436 java programming/tutorialoutlet
Cosc 1436 java programming/tutorialoutletCosc 1436 java programming/tutorialoutlet
Cosc 1436 java programming/tutorialoutletWoodardz
 
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
 
java traning report_Summer.docx
java traning report_Summer.docxjava traning report_Summer.docx
java traning report_Summer.docxGauravSharma164138
 
7 streams and error handling in java
7 streams and error handling in java7 streams and error handling in java
7 streams and error handling in javaJyoti Verma
 
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 newlroselyn
 
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 newuopassignment
 
Java: Inheritance
Java: InheritanceJava: Inheritance
Java: InheritanceTareq Hasan
 
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
 

Ähnlich wie In Java Please Thank you!! Many entities- such as electronics and biol.docx (20)

PRG 421 Education Specialist / snaptutorial.com
PRG 421 Education Specialist / snaptutorial.comPRG 421 Education Specialist / snaptutorial.com
PRG 421 Education Specialist / snaptutorial.com
 
Bt0082, visual basic
Bt0082, visual basicBt0082, visual basic
Bt0082, visual basic
 
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
 
Java Unit 2(Part 1)
Java Unit 2(Part 1)Java Unit 2(Part 1)
Java Unit 2(Part 1)
 
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
 
SQL2SPARQL
SQL2SPARQLSQL2SPARQL
SQL2SPARQL
 
PEARC17: Designsafe: Using Elasticsearch to Share and Search Data on a Scienc...
PEARC17: Designsafe: Using Elasticsearch to Share and Search Data on a Scienc...PEARC17: Designsafe: Using Elasticsearch to Share and Search Data on a Scienc...
PEARC17: Designsafe: Using Elasticsearch to Share and Search Data on a Scienc...
 
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
 
Cosc 1436 java programming/tutorialoutlet
Cosc 1436 java programming/tutorialoutletCosc 1436 java programming/tutorialoutlet
Cosc 1436 java programming/tutorialoutlet
 
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)
 
java traning report_Summer.docx
java traning report_Summer.docxjava traning report_Summer.docx
java traning report_Summer.docx
 
7 streams and error handling in java
7 streams and error handling in java7 streams and error handling in java
7 streams and error handling in java
 
Lesson 2.2 abstraction
Lesson 2.2   abstractionLesson 2.2   abstraction
Lesson 2.2 abstraction
 
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
 
Java: Inheritance
Java: InheritanceJava: Inheritance
Java: Inheritance
 
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
 

Mehr von GordonpACKellyb

In the case of both the dominant and recessive phenotypes are equally.docx
In the case of both the dominant and recessive phenotypes are equally.docxIn the case of both the dominant and recessive phenotypes are equally.docx
In the case of both the dominant and recessive phenotypes are equally.docxGordonpACKellyb
 
In specialized transduction Multiple Choice only phage genes near the.docx
In specialized transduction Multiple Choice only phage genes near the.docxIn specialized transduction Multiple Choice only phage genes near the.docx
In specialized transduction Multiple Choice only phage genes near the.docxGordonpACKellyb
 
In raspberries- height is determined by the S (- short) and s (- tall) (1).docx
In raspberries- height is determined by the S (- short) and s (- tall) (1).docxIn raspberries- height is determined by the S (- short) and s (- tall) (1).docx
In raspberries- height is determined by the S (- short) and s (- tall) (1).docxGordonpACKellyb
 
In March 2010- ONC completed the announcement of the State Health Info.docx
In March 2010- ONC completed the announcement of the State Health Info.docxIn March 2010- ONC completed the announcement of the State Health Info.docx
In March 2010- ONC completed the announcement of the State Health Info.docxGordonpACKellyb
 
In Python solve the following and please show code via Jupyter Noteboo.docx
In Python solve the following and please show code via Jupyter Noteboo.docxIn Python solve the following and please show code via Jupyter Noteboo.docx
In Python solve the following and please show code via Jupyter Noteboo.docxGordonpACKellyb
 
In order for an audit-evaluation team to be conducted with skill and p.docx
In order for an audit-evaluation team to be conducted with skill and p.docxIn order for an audit-evaluation team to be conducted with skill and p.docx
In order for an audit-evaluation team to be conducted with skill and p.docxGordonpACKellyb
 
In medium- such as triple sugar iron (TSI)- a needle with a bacterial.docx
In medium- such as triple sugar iron (TSI)- a needle with a bacterial.docxIn medium- such as triple sugar iron (TSI)- a needle with a bacterial.docx
In medium- such as triple sugar iron (TSI)- a needle with a bacterial.docxGordonpACKellyb
 
In January- Oriole Tool -& Die requisitions raw materials for producti (1).docx
In January- Oriole Tool -& Die requisitions raw materials for producti (1).docxIn January- Oriole Tool -& Die requisitions raw materials for producti (1).docx
In January- Oriole Tool -& Die requisitions raw materials for producti (1).docxGordonpACKellyb
 
Interviewing supervisors to identify the specific tasks performed by a.docx
Interviewing supervisors to identify the specific tasks performed by a.docxInterviewing supervisors to identify the specific tasks performed by a.docx
Interviewing supervisors to identify the specific tasks performed by a.docxGordonpACKellyb
 
Internal validity is important because it determines--- If the Hawthor.docx
Internal validity is important because it determines--- If the Hawthor.docxInternal validity is important because it determines--- If the Hawthor.docx
Internal validity is important because it determines--- If the Hawthor.docxGordonpACKellyb
 
int FUNCTION(unsigned int pid) -{ Complete the function (in C) to deal.docx
int FUNCTION(unsigned int pid) -{ Complete the function (in C) to deal.docxint FUNCTION(unsigned int pid) -{ Complete the function (in C) to deal.docx
int FUNCTION(unsigned int pid) -{ Complete the function (in C) to deal.docxGordonpACKellyb
 
Instructions Write a program that displays a table of Celsius temperat.docx
Instructions Write a program that displays a table of Celsius temperat.docxInstructions Write a program that displays a table of Celsius temperat.docx
Instructions Write a program that displays a table of Celsius temperat.docxGordonpACKellyb
 
Instructions- Handwrite the code on paper and include the command prom.docx
Instructions- Handwrite the code on paper and include the command prom.docxInstructions- Handwrite the code on paper and include the command prom.docx
Instructions- Handwrite the code on paper and include the command prom.docxGordonpACKellyb
 
In which of the following situations should an employee provide a new.docx
In which of the following situations should an employee provide a new.docxIn which of the following situations should an employee provide a new.docx
In which of the following situations should an employee provide a new.docxGordonpACKellyb
 
In what order did the following evolutionary adaptations appear- (from.docx
In what order did the following evolutionary adaptations appear- (from.docxIn what order did the following evolutionary adaptations appear- (from.docx
In what order did the following evolutionary adaptations appear- (from.docxGordonpACKellyb
 
In what way does the Italian culture affect your consumer behavior- D.docx
In what way does the Italian culture affect  your consumer behavior- D.docxIn what way does the Italian culture affect  your consumer behavior- D.docx
In what way does the Italian culture affect your consumer behavior- D.docxGordonpACKellyb
 
In this diagram showing the replication of DNA- label the following it.docx
In this diagram showing the replication of DNA- label the following it.docxIn this diagram showing the replication of DNA- label the following it.docx
In this diagram showing the replication of DNA- label the following it.docxGordonpACKellyb
 
In the valuation multiple approach- 1- Is it important to match on fir.docx
In the valuation multiple approach- 1- Is it important to match on fir.docxIn the valuation multiple approach- 1- Is it important to match on fir.docx
In the valuation multiple approach- 1- Is it important to match on fir.docxGordonpACKellyb
 
In the diagram shown above of the transcription initiation complex- wh.docx
In the diagram shown above of the transcription initiation complex- wh.docxIn the diagram shown above of the transcription initiation complex- wh.docx
In the diagram shown above of the transcription initiation complex- wh.docxGordonpACKellyb
 
In the ERD below- the existence of an ENROLLMENT instance depends on t.docx
In the ERD below- the existence of an ENROLLMENT instance depends on t.docxIn the ERD below- the existence of an ENROLLMENT instance depends on t.docx
In the ERD below- the existence of an ENROLLMENT instance depends on t.docxGordonpACKellyb
 

Mehr von GordonpACKellyb (20)

In the case of both the dominant and recessive phenotypes are equally.docx
In the case of both the dominant and recessive phenotypes are equally.docxIn the case of both the dominant and recessive phenotypes are equally.docx
In the case of both the dominant and recessive phenotypes are equally.docx
 
In specialized transduction Multiple Choice only phage genes near the.docx
In specialized transduction Multiple Choice only phage genes near the.docxIn specialized transduction Multiple Choice only phage genes near the.docx
In specialized transduction Multiple Choice only phage genes near the.docx
 
In raspberries- height is determined by the S (- short) and s (- tall) (1).docx
In raspberries- height is determined by the S (- short) and s (- tall) (1).docxIn raspberries- height is determined by the S (- short) and s (- tall) (1).docx
In raspberries- height is determined by the S (- short) and s (- tall) (1).docx
 
In March 2010- ONC completed the announcement of the State Health Info.docx
In March 2010- ONC completed the announcement of the State Health Info.docxIn March 2010- ONC completed the announcement of the State Health Info.docx
In March 2010- ONC completed the announcement of the State Health Info.docx
 
In Python solve the following and please show code via Jupyter Noteboo.docx
In Python solve the following and please show code via Jupyter Noteboo.docxIn Python solve the following and please show code via Jupyter Noteboo.docx
In Python solve the following and please show code via Jupyter Noteboo.docx
 
In order for an audit-evaluation team to be conducted with skill and p.docx
In order for an audit-evaluation team to be conducted with skill and p.docxIn order for an audit-evaluation team to be conducted with skill and p.docx
In order for an audit-evaluation team to be conducted with skill and p.docx
 
In medium- such as triple sugar iron (TSI)- a needle with a bacterial.docx
In medium- such as triple sugar iron (TSI)- a needle with a bacterial.docxIn medium- such as triple sugar iron (TSI)- a needle with a bacterial.docx
In medium- such as triple sugar iron (TSI)- a needle with a bacterial.docx
 
In January- Oriole Tool -& Die requisitions raw materials for producti (1).docx
In January- Oriole Tool -& Die requisitions raw materials for producti (1).docxIn January- Oriole Tool -& Die requisitions raw materials for producti (1).docx
In January- Oriole Tool -& Die requisitions raw materials for producti (1).docx
 
Interviewing supervisors to identify the specific tasks performed by a.docx
Interviewing supervisors to identify the specific tasks performed by a.docxInterviewing supervisors to identify the specific tasks performed by a.docx
Interviewing supervisors to identify the specific tasks performed by a.docx
 
Internal validity is important because it determines--- If the Hawthor.docx
Internal validity is important because it determines--- If the Hawthor.docxInternal validity is important because it determines--- If the Hawthor.docx
Internal validity is important because it determines--- If the Hawthor.docx
 
int FUNCTION(unsigned int pid) -{ Complete the function (in C) to deal.docx
int FUNCTION(unsigned int pid) -{ Complete the function (in C) to deal.docxint FUNCTION(unsigned int pid) -{ Complete the function (in C) to deal.docx
int FUNCTION(unsigned int pid) -{ Complete the function (in C) to deal.docx
 
Instructions Write a program that displays a table of Celsius temperat.docx
Instructions Write a program that displays a table of Celsius temperat.docxInstructions Write a program that displays a table of Celsius temperat.docx
Instructions Write a program that displays a table of Celsius temperat.docx
 
Instructions- Handwrite the code on paper and include the command prom.docx
Instructions- Handwrite the code on paper and include the command prom.docxInstructions- Handwrite the code on paper and include the command prom.docx
Instructions- Handwrite the code on paper and include the command prom.docx
 
In which of the following situations should an employee provide a new.docx
In which of the following situations should an employee provide a new.docxIn which of the following situations should an employee provide a new.docx
In which of the following situations should an employee provide a new.docx
 
In what order did the following evolutionary adaptations appear- (from.docx
In what order did the following evolutionary adaptations appear- (from.docxIn what order did the following evolutionary adaptations appear- (from.docx
In what order did the following evolutionary adaptations appear- (from.docx
 
In what way does the Italian culture affect your consumer behavior- D.docx
In what way does the Italian culture affect  your consumer behavior- D.docxIn what way does the Italian culture affect  your consumer behavior- D.docx
In what way does the Italian culture affect your consumer behavior- D.docx
 
In this diagram showing the replication of DNA- label the following it.docx
In this diagram showing the replication of DNA- label the following it.docxIn this diagram showing the replication of DNA- label the following it.docx
In this diagram showing the replication of DNA- label the following it.docx
 
In the valuation multiple approach- 1- Is it important to match on fir.docx
In the valuation multiple approach- 1- Is it important to match on fir.docxIn the valuation multiple approach- 1- Is it important to match on fir.docx
In the valuation multiple approach- 1- Is it important to match on fir.docx
 
In the diagram shown above of the transcription initiation complex- wh.docx
In the diagram shown above of the transcription initiation complex- wh.docxIn the diagram shown above of the transcription initiation complex- wh.docx
In the diagram shown above of the transcription initiation complex- wh.docx
 
In the ERD below- the existence of an ENROLLMENT instance depends on t.docx
In the ERD below- the existence of an ENROLLMENT instance depends on t.docxIn the ERD below- the existence of an ENROLLMENT instance depends on t.docx
In the ERD below- the existence of an ENROLLMENT instance depends on t.docx
 

Kürzlich hochgeladen

Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxPooja Bhuva
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxJisc
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfPoh-Sun Goh
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxAmanpreet Kaur
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jisc
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17Celine George
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Pooja Bhuva
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfDr Vijay Vishwakarma
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxEsquimalt MFRC
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxDenish Jangid
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...Poonam Aher Patil
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17Celine George
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxDr. Sarita Anand
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxCeline George
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxheathfieldcps1
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Pooja Bhuva
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Jisc
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxVishalSingh1417
 

Kürzlich hochgeladen (20)

Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptx
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptx
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 

In Java Please Thank you!! Many entities- such as electronics and biol.docx

  • 1. 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.