SlideShare a Scribd company logo
1 of 2
Download to read offline
I need some help creating Psuedocode for a project using Java. Basically I need some help to
assist in organizing and identifying how to go about using Variable /Operators, Decision
Structures, Loops and file streaming. The information below is what I have to go on to design the
program. Would some one be able to assist in creting Psuedocde to help be better visualize how
to go about writing the code in a few weeks? Monitoring System As a zookeeper, is important to
it know the activities of the animals in your care and to monitor their living habitats. Create a
monitoring system that does all of the following: Asks a user if they want to monitor an animal,
monitor a habitat, or exit Displays a list of animal options (based on the previous selection) as
read from either the animals or habitats file o Asks the user to enter one of the options Displays
the monitoring information by finding the appropriate section in the file Separates sections by the
category and selection (such as "Animal Lion" or "Habitat-Penguin Uses a dialog box to alert
the zookeeper ifthe monitor detects something out of the normal range (These will be denoted in
the files by a new line starting with Do not display the asterisks in the dialog.) Allows a user to
return to the original options Details on lions Details on penguin habitat Details on bird house
Details on tigers Details on aquarium Details on bears Details on giraffes Habitat Penguin
Animal Lion Temperature: Freezing Food source Fish in water running low Name: Leo
Cleanliness Passed Age: 5 Health concerns Cut on left front paw Habitat Bird Feeding schedule:
Twice daily Temperature: Moderate Food source: Natural from environment Animal Tiger
Cleanliness Passed Name: Ma Age: 15 Health concerns None Habitat Aquarium Temperature:
Varies with output temperature Feeding schedule 3x daily Food source: Added daily Cleanliness
Needs cleaning from algae Animal Bear Name: Baloo Age: 1 Health concerns None Feeding
schedule: None on record Animal Giraffe Name: Spots Age 12 Health concerns: None Feeding
schedule Grazing
Solution
1. FileReader with BufferedReader and FileWriter with PrintWriter can be used for file I/O , line
wise . Each line with several Strings also called as token can be separated using split() on blank
space while retrieval .
2. End of file is denoted by -1 . The file can be iterated till the desired token is obtained , using a
while loop . eg. b can be a boolean variable intialized to true ,eg. while(b) . once the token is
obtained the b can be set to false .
3. To gather Information and display to the user , the token for choice can be searched and
corresponding data can be appended to StringBuilder token wise , till token for next category
starts or end of file and displayed using toString() method .eg. ***** is also a token or word
string which can be gathered into an String array , by split() method on each line extracted using
readLine() . Token comparison is done with isEquals("")
4. For User Menu Options , Scanner can be used for user input along with getString etc. and
switch case construct can be used for processing of user choice from menu . System.out.print()
for display to user messages .
5. To allow user to the previous option another super while loop can be used within which the
other looops done so that user can be presented the original options again .

More Related Content

Similar to I need some help creating Psuedocode for a project using Java. Basic.pdf

JAVAAdd to the code at the bottom to do the following two things.pdf
JAVAAdd to the code at the bottom to do the following two things.pdfJAVAAdd to the code at the bottom to do the following two things.pdf
JAVAAdd to the code at the bottom to do the following two things.pdffasttracksunglass
 
Using The Master Genealogist ― Advanced
Using The Master Genealogist ― AdvancedUsing The Master Genealogist ― Advanced
Using The Master Genealogist ― AdvancedTeresa Pask
 
In this project you will define some interfaces, abstract classes, a.pdf
In this project you will define some interfaces, abstract classes, a.pdfIn this project you will define some interfaces, abstract classes, a.pdf
In this project you will define some interfaces, abstract classes, a.pdffathimaoptical
 
User interface introduction openbravo
User interface introduction   openbravoUser interface introduction   openbravo
User interface introduction openbravoAbul Khayer
 
Role of bioinformatics in life sciences research
Role of bioinformatics in life sciences researchRole of bioinformatics in life sciences research
Role of bioinformatics in life sciences researchAnshika Bansal
 
Web Apollo Tutorial for Medfly Research Community
Web Apollo Tutorial for Medfly Research CommunityWeb Apollo Tutorial for Medfly Research Community
Web Apollo Tutorial for Medfly Research CommunityMonica Munoz-Torres
 
Java program file I/O
Java program file I/OJava program file I/O
Java program file I/ONem Sothea
 
Cool Informatics Tools and Services for Biomedical Research
Cool Informatics Tools and Services for Biomedical ResearchCool Informatics Tools and Services for Biomedical Research
Cool Informatics Tools and Services for Biomedical ResearchDavid Ruau
 
UniProt
UniProtUniProt
UniProtAmnaA7
 
Writing A Response Paper
Writing A Response PaperWriting A Response Paper
Writing A Response PaperLeslie Daniels
 
Functional annotation
Functional annotationFunctional annotation
Functional annotationRavi Gandham
 
rareAPA_website.pptx
rareAPA_website.pptxrareAPA_website.pptx
rareAPA_website.pptxxuelianma
 
1PhylogeneticAnalysisHomeworkassignmentThisa.docx
1PhylogeneticAnalysisHomeworkassignmentThisa.docx1PhylogeneticAnalysisHomeworkassignmentThisa.docx
1PhylogeneticAnalysisHomeworkassignmentThisa.docxfelicidaddinwoodie
 

Similar to I need some help creating Psuedocode for a project using Java. Basic.pdf (20)

JAVAAdd to the code at the bottom to do the following two things.pdf
JAVAAdd to the code at the bottom to do the following two things.pdfJAVAAdd to the code at the bottom to do the following two things.pdf
JAVAAdd to the code at the bottom to do the following two things.pdf
 
Using The Master Genealogist ― Advanced
Using The Master Genealogist ― AdvancedUsing The Master Genealogist ― Advanced
Using The Master Genealogist ― Advanced
 
Java IO
Java IOJava IO
Java IO
 
In this project you will define some interfaces, abstract classes, a.pdf
In this project you will define some interfaces, abstract classes, a.pdfIn this project you will define some interfaces, abstract classes, a.pdf
In this project you will define some interfaces, abstract classes, a.pdf
 
biopython, doctest and makefiles
biopython, doctest and makefilesbiopython, doctest and makefiles
biopython, doctest and makefiles
 
User interface introduction openbravo
User interface introduction   openbravoUser interface introduction   openbravo
User interface introduction openbravo
 
Web Apollo Workshop UIUC
Web Apollo Workshop UIUCWeb Apollo Workshop UIUC
Web Apollo Workshop UIUC
 
Role of bioinformatics in life sciences research
Role of bioinformatics in life sciences researchRole of bioinformatics in life sciences research
Role of bioinformatics in life sciences research
 
Unit5
Unit5Unit5
Unit5
 
Web Apollo Tutorial for Medfly Research Community
Web Apollo Tutorial for Medfly Research CommunityWeb Apollo Tutorial for Medfly Research Community
Web Apollo Tutorial for Medfly Research Community
 
Java program file I/O
Java program file I/OJava program file I/O
Java program file I/O
 
Cool Informatics Tools and Services for Biomedical Research
Cool Informatics Tools and Services for Biomedical ResearchCool Informatics Tools and Services for Biomedical Research
Cool Informatics Tools and Services for Biomedical Research
 
Iwatch tech 1
Iwatch tech 1Iwatch tech 1
Iwatch tech 1
 
UniProt
UniProtUniProt
UniProt
 
Writing A Response Paper
Writing A Response PaperWriting A Response Paper
Writing A Response Paper
 
Functional annotation
Functional annotationFunctional annotation
Functional annotation
 
rareAPA_website.pptx
rareAPA_website.pptxrareAPA_website.pptx
rareAPA_website.pptx
 
1PhylogeneticAnalysisHomeworkassignmentThisa.docx
1PhylogeneticAnalysisHomeworkassignmentThisa.docx1PhylogeneticAnalysisHomeworkassignmentThisa.docx
1PhylogeneticAnalysisHomeworkassignmentThisa.docx
 
StataTutorial.pdf
StataTutorial.pdfStataTutorial.pdf
StataTutorial.pdf
 
Major biological nucleotide databases
Major biological nucleotide databasesMajor biological nucleotide databases
Major biological nucleotide databases
 

More from fashionfootwear1

a. Distinguish between being a manager and a leader in project manag.pdf
a. Distinguish between being a manager and a leader in project manag.pdfa. Distinguish between being a manager and a leader in project manag.pdf
a. Distinguish between being a manager and a leader in project manag.pdffashionfootwear1
 
Are we able to completely isolate SDH (Succinate dehydrogenase)activ.pdf
Are we able to completely isolate SDH (Succinate dehydrogenase)activ.pdfAre we able to completely isolate SDH (Succinate dehydrogenase)activ.pdf
Are we able to completely isolate SDH (Succinate dehydrogenase)activ.pdffashionfootwear1
 
What type of intermolecular interactions does zinc polyacrylate have.pdf
What type of intermolecular interactions does zinc polyacrylate have.pdfWhat type of intermolecular interactions does zinc polyacrylate have.pdf
What type of intermolecular interactions does zinc polyacrylate have.pdffashionfootwear1
 
What are examples of each hypothesis Hypothesis Evolutionary Speed .pdf
What are examples of each hypothesis Hypothesis Evolutionary Speed .pdfWhat are examples of each hypothesis Hypothesis Evolutionary Speed .pdf
What are examples of each hypothesis Hypothesis Evolutionary Speed .pdffashionfootwear1
 
To what are Concealment Investigative Methods primarily related.pdf
To what are Concealment Investigative Methods primarily related.pdfTo what are Concealment Investigative Methods primarily related.pdf
To what are Concealment Investigative Methods primarily related.pdffashionfootwear1
 
There are two accepted models of social responsibility the sharehol.pdf
There are two accepted models of social responsibility the sharehol.pdfThere are two accepted models of social responsibility the sharehol.pdf
There are two accepted models of social responsibility the sharehol.pdffashionfootwear1
 
The sensory root of a spinal nerve is also referred to as A. anterio.pdf
The sensory root of a spinal nerve is also referred to as  A. anterio.pdfThe sensory root of a spinal nerve is also referred to as  A. anterio.pdf
The sensory root of a spinal nerve is also referred to as A. anterio.pdffashionfootwear1
 
The deadline of submission is February 15th. Acceptable file format f.pdf
The deadline of submission is February 15th. Acceptable file format f.pdfThe deadline of submission is February 15th. Acceptable file format f.pdf
The deadline of submission is February 15th. Acceptable file format f.pdffashionfootwear1
 
T Bond ng A bond arises fr m sidewaysoverlap oftwo parallel p orbi.pdf
T Bond ng A  bond arises fr m sidewaysoverlap oftwo parallel p orbi.pdfT Bond ng A  bond arises fr m sidewaysoverlap oftwo parallel p orbi.pdf
T Bond ng A bond arises fr m sidewaysoverlap oftwo parallel p orbi.pdffashionfootwear1
 
Subject - Project ManagementList the constraints of a typical Pro.pdf
Subject - Project ManagementList the constraints of a typical Pro.pdfSubject - Project ManagementList the constraints of a typical Pro.pdf
Subject - Project ManagementList the constraints of a typical Pro.pdffashionfootwear1
 
SPOOL output.log DROP TABL.pdf
SPOOL output.log DROP TABL.pdfSPOOL output.log DROP TABL.pdf
SPOOL output.log DROP TABL.pdffashionfootwear1
 
Should Employees Be Allowed To Vote By Secret Ballot When Deciding W.pdf
Should Employees Be Allowed To Vote By Secret Ballot When Deciding W.pdfShould Employees Be Allowed To Vote By Secret Ballot When Deciding W.pdf
Should Employees Be Allowed To Vote By Secret Ballot When Deciding W.pdffashionfootwear1
 
10. Briefly describe what is the purpose of the research proposal.pdf
10. Briefly describe what is the purpose of the research proposal.pdf10. Briefly describe what is the purpose of the research proposal.pdf
10. Briefly describe what is the purpose of the research proposal.pdffashionfootwear1
 
Select an existing national union and the use the four criteria ment.pdf
Select an existing national union and the use the four criteria ment.pdfSelect an existing national union and the use the four criteria ment.pdf
Select an existing national union and the use the four criteria ment.pdffashionfootwear1
 
Ribonucleoprotein complexes are roughly half RNA and half protein. P.pdf
Ribonucleoprotein complexes are roughly half RNA and half protein. P.pdfRibonucleoprotein complexes are roughly half RNA and half protein. P.pdf
Ribonucleoprotein complexes are roughly half RNA and half protein. P.pdffashionfootwear1
 
Please include comments if at all possible Use a socket connection t.pdf
Please include comments if at all possible Use a socket connection t.pdfPlease include comments if at all possible Use a socket connection t.pdf
Please include comments if at all possible Use a socket connection t.pdffashionfootwear1
 
Money in the United States today includes O A. the currency in people.pdf
Money in the United States today includes O A. the currency in people.pdfMoney in the United States today includes O A. the currency in people.pdf
Money in the United States today includes O A. the currency in people.pdffashionfootwear1
 
In calculating basic EPS, the weighted average number of shares outs.pdf
In calculating basic EPS, the weighted average number of shares outs.pdfIn calculating basic EPS, the weighted average number of shares outs.pdf
In calculating basic EPS, the weighted average number of shares outs.pdffashionfootwear1
 
Identify and explain which parts of the cell membrane, organelles an.pdf
Identify and explain which parts of the cell membrane, organelles an.pdfIdentify and explain which parts of the cell membrane, organelles an.pdf
Identify and explain which parts of the cell membrane, organelles an.pdffashionfootwear1
 
Hello. I was wondering if I could get some help on this C programmin.pdf
Hello. I was wondering if I could get some help on this C programmin.pdfHello. I was wondering if I could get some help on this C programmin.pdf
Hello. I was wondering if I could get some help on this C programmin.pdffashionfootwear1
 

More from fashionfootwear1 (20)

a. Distinguish between being a manager and a leader in project manag.pdf
a. Distinguish between being a manager and a leader in project manag.pdfa. Distinguish between being a manager and a leader in project manag.pdf
a. Distinguish between being a manager and a leader in project manag.pdf
 
Are we able to completely isolate SDH (Succinate dehydrogenase)activ.pdf
Are we able to completely isolate SDH (Succinate dehydrogenase)activ.pdfAre we able to completely isolate SDH (Succinate dehydrogenase)activ.pdf
Are we able to completely isolate SDH (Succinate dehydrogenase)activ.pdf
 
What type of intermolecular interactions does zinc polyacrylate have.pdf
What type of intermolecular interactions does zinc polyacrylate have.pdfWhat type of intermolecular interactions does zinc polyacrylate have.pdf
What type of intermolecular interactions does zinc polyacrylate have.pdf
 
What are examples of each hypothesis Hypothesis Evolutionary Speed .pdf
What are examples of each hypothesis Hypothesis Evolutionary Speed .pdfWhat are examples of each hypothesis Hypothesis Evolutionary Speed .pdf
What are examples of each hypothesis Hypothesis Evolutionary Speed .pdf
 
To what are Concealment Investigative Methods primarily related.pdf
To what are Concealment Investigative Methods primarily related.pdfTo what are Concealment Investigative Methods primarily related.pdf
To what are Concealment Investigative Methods primarily related.pdf
 
There are two accepted models of social responsibility the sharehol.pdf
There are two accepted models of social responsibility the sharehol.pdfThere are two accepted models of social responsibility the sharehol.pdf
There are two accepted models of social responsibility the sharehol.pdf
 
The sensory root of a spinal nerve is also referred to as A. anterio.pdf
The sensory root of a spinal nerve is also referred to as  A. anterio.pdfThe sensory root of a spinal nerve is also referred to as  A. anterio.pdf
The sensory root of a spinal nerve is also referred to as A. anterio.pdf
 
The deadline of submission is February 15th. Acceptable file format f.pdf
The deadline of submission is February 15th. Acceptable file format f.pdfThe deadline of submission is February 15th. Acceptable file format f.pdf
The deadline of submission is February 15th. Acceptable file format f.pdf
 
T Bond ng A bond arises fr m sidewaysoverlap oftwo parallel p orbi.pdf
T Bond ng A  bond arises fr m sidewaysoverlap oftwo parallel p orbi.pdfT Bond ng A  bond arises fr m sidewaysoverlap oftwo parallel p orbi.pdf
T Bond ng A bond arises fr m sidewaysoverlap oftwo parallel p orbi.pdf
 
Subject - Project ManagementList the constraints of a typical Pro.pdf
Subject - Project ManagementList the constraints of a typical Pro.pdfSubject - Project ManagementList the constraints of a typical Pro.pdf
Subject - Project ManagementList the constraints of a typical Pro.pdf
 
SPOOL output.log DROP TABL.pdf
SPOOL output.log DROP TABL.pdfSPOOL output.log DROP TABL.pdf
SPOOL output.log DROP TABL.pdf
 
Should Employees Be Allowed To Vote By Secret Ballot When Deciding W.pdf
Should Employees Be Allowed To Vote By Secret Ballot When Deciding W.pdfShould Employees Be Allowed To Vote By Secret Ballot When Deciding W.pdf
Should Employees Be Allowed To Vote By Secret Ballot When Deciding W.pdf
 
10. Briefly describe what is the purpose of the research proposal.pdf
10. Briefly describe what is the purpose of the research proposal.pdf10. Briefly describe what is the purpose of the research proposal.pdf
10. Briefly describe what is the purpose of the research proposal.pdf
 
Select an existing national union and the use the four criteria ment.pdf
Select an existing national union and the use the four criteria ment.pdfSelect an existing national union and the use the four criteria ment.pdf
Select an existing national union and the use the four criteria ment.pdf
 
Ribonucleoprotein complexes are roughly half RNA and half protein. P.pdf
Ribonucleoprotein complexes are roughly half RNA and half protein. P.pdfRibonucleoprotein complexes are roughly half RNA and half protein. P.pdf
Ribonucleoprotein complexes are roughly half RNA and half protein. P.pdf
 
Please include comments if at all possible Use a socket connection t.pdf
Please include comments if at all possible Use a socket connection t.pdfPlease include comments if at all possible Use a socket connection t.pdf
Please include comments if at all possible Use a socket connection t.pdf
 
Money in the United States today includes O A. the currency in people.pdf
Money in the United States today includes O A. the currency in people.pdfMoney in the United States today includes O A. the currency in people.pdf
Money in the United States today includes O A. the currency in people.pdf
 
In calculating basic EPS, the weighted average number of shares outs.pdf
In calculating basic EPS, the weighted average number of shares outs.pdfIn calculating basic EPS, the weighted average number of shares outs.pdf
In calculating basic EPS, the weighted average number of shares outs.pdf
 
Identify and explain which parts of the cell membrane, organelles an.pdf
Identify and explain which parts of the cell membrane, organelles an.pdfIdentify and explain which parts of the cell membrane, organelles an.pdf
Identify and explain which parts of the cell membrane, organelles an.pdf
 
Hello. I was wondering if I could get some help on this C programmin.pdf
Hello. I was wondering if I could get some help on this C programmin.pdfHello. I was wondering if I could get some help on this C programmin.pdf
Hello. I was wondering if I could get some help on this C programmin.pdf
 

Recently uploaded

Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991RKavithamani
 
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
 
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
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...RKavithamani
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
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
 
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
 

Recently uploaded (20)

Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
 
Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 
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
 
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
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
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
 
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
 

I need some help creating Psuedocode for a project using Java. Basic.pdf

  • 1. I need some help creating Psuedocode for a project using Java. Basically I need some help to assist in organizing and identifying how to go about using Variable /Operators, Decision Structures, Loops and file streaming. The information below is what I have to go on to design the program. Would some one be able to assist in creting Psuedocde to help be better visualize how to go about writing the code in a few weeks? Monitoring System As a zookeeper, is important to it know the activities of the animals in your care and to monitor their living habitats. Create a monitoring system that does all of the following: Asks a user if they want to monitor an animal, monitor a habitat, or exit Displays a list of animal options (based on the previous selection) as read from either the animals or habitats file o Asks the user to enter one of the options Displays the monitoring information by finding the appropriate section in the file Separates sections by the category and selection (such as "Animal Lion" or "Habitat-Penguin Uses a dialog box to alert the zookeeper ifthe monitor detects something out of the normal range (These will be denoted in the files by a new line starting with Do not display the asterisks in the dialog.) Allows a user to return to the original options Details on lions Details on penguin habitat Details on bird house Details on tigers Details on aquarium Details on bears Details on giraffes Habitat Penguin Animal Lion Temperature: Freezing Food source Fish in water running low Name: Leo Cleanliness Passed Age: 5 Health concerns Cut on left front paw Habitat Bird Feeding schedule: Twice daily Temperature: Moderate Food source: Natural from environment Animal Tiger Cleanliness Passed Name: Ma Age: 15 Health concerns None Habitat Aquarium Temperature: Varies with output temperature Feeding schedule 3x daily Food source: Added daily Cleanliness Needs cleaning from algae Animal Bear Name: Baloo Age: 1 Health concerns None Feeding schedule: None on record Animal Giraffe Name: Spots Age 12 Health concerns: None Feeding schedule Grazing Solution 1. FileReader with BufferedReader and FileWriter with PrintWriter can be used for file I/O , line wise . Each line with several Strings also called as token can be separated using split() on blank space while retrieval . 2. End of file is denoted by -1 . The file can be iterated till the desired token is obtained , using a while loop . eg. b can be a boolean variable intialized to true ,eg. while(b) . once the token is obtained the b can be set to false . 3. To gather Information and display to the user , the token for choice can be searched and corresponding data can be appended to StringBuilder token wise , till token for next category starts or end of file and displayed using toString() method .eg. ***** is also a token or word
  • 2. string which can be gathered into an String array , by split() method on each line extracted using readLine() . Token comparison is done with isEquals("") 4. For User Menu Options , Scanner can be used for user input along with getString etc. and switch case construct can be used for processing of user choice from menu . System.out.print() for display to user messages . 5. To allow user to the previous option another super while loop can be used within which the other looops done so that user can be presented the original options again .