Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Our satisfied clients are back to ask us to implement another interactive dictionary. Our dictionary takes input from users and uses the input as search
Our satisfied clients are back to ask us to implement another interactive dictionary. Our dictionary takes input from users and uses the input as search key to look up values associated with the key. Requirements: - Coding: No hard coding, https://en.wikipedia.org/wiki/Hard_coding - Data Source: a text file, Data.CS.SFSU.txt - Data Structure: Use existing data structure(s) or create new data structure(s) to store our dictionary's data. Each keyword, each part of speech, and each definition must be stored in a separate data field. Do not combine them such as storing three parts in one String. Data Loading: When our program starts, it loads all the original data from the data source into our dictionary's data structure. The data source file is opened once and closed once per run. It must be closed as soon as possible. It must be closed before our program starts interacting with users. User Interface: A program interface allows users to input search keys. This interface then displays returned results. Our program searches the dictionary's data (not the data source text file) for values associated with the search keys. Identical Output: Our program's output must be identical to the complete sample run's output: ASMTO2_PC_Run.pdf - - - 1. Program Analysis to Program Design, 10 points In 1 full page, please explain the following in detail: Your analysis of the provided information and the provided sample output. Compare to the ASMT 01 Java version What problem you are solving. How it is different from that of ASMT 01. How you load data from the data source. What the steps are. Why these steps. Which data structure(s) you use/create for your dictionary. And why. 2. Program Implementation, 25 points Does your program work properly? How will you improve your program? Sample run (not the complete run): Opening data file... ./Data.CS.SESU.txt Loading data. Loading completed... Closing data file . . . Search: plAcEholDER ! ! Placeholder [adjective] To be updated. .. Placeholder [adjective]: To be updated. . . Placeholder [adverb] To be updated..- Placeholder [conjunction] To be updated. Placeholder [interjection]To be updated.. Placeholder [noun] : To be updated.. Placeholder [noun] : To be updated... Placeholder [noun] To be updated... Placeholder [preposition] To be updated... Placeholder [pronoun] : To be updated. .. Placeholder [verb] : To be updated... . / Data. CS . SFSU . txt -DICTIONARY 340 C++ Search: aRRow Arrow [noun] : Here is one arrow : -->>. Search:disTINCT Distinct [adjectiveFamiliar. Worked in Java. Distinct [adjectiveUnique. No duplicates. Clearly Distinct [adverb Uniquely. Written "distinctly Distinct [noun] : A keyword in this assignment. Distinct [noun] : A keyword in this assignment. Distinct [noun] : A keyword in this assignment. Distinct [noun] : An advanced search option. Distinct [nounDistinct was in ASMT 01 as a paramet Search: placeHOLDER adjective Placeholder [adjective] Placeholder [adjective] To be updated. .. To be updated. .. Search: placeholDER adjective distinct Search: distinct distinct Placeholder [adjective] : To be updated Distinct [adjectivelFamiliar. Worked in Java. Distinct [adjective] Unique. No duplicates. Clearly Distinct [adverb Uniquely. Written "distinctly". Distinct [noun] A keyword in this assignment. Distinct [noun] : An advanced search option. Distinct [noun] : Distinct was in ASMT 01 as a paramet Search: placehOLDER distinct Placeholder [adjective] : To be updated.. . Placeholder [adverb] To be updated. . . Placeholder [conjunction To be updated... Placeholder [interjection]To be updated. .. Placeholde [noun] : To be updated... Placeholder [preposition] : To be updated. .. Placeholder [pronoun] : To be updated Placeholder [verb]: To be updated.. Search: distinct noun distinct Distinct [noun] : A keyword in this assignment. Distinct [noun] : An advanced search option. Distinct [nounDistinct was in ASMT 01 as a paramet CSC340 [adjective] : = c++ version of CSC210 + CSC220 + more CSC340 [noun] : A CS upper division course CSC340 [noun] : Many hours outside of class CSC340 [noun] : Programming Methodology Search: csc340 noun CSC340 [noun] : A CS upper division course CSC340 [noun] Many hours outside of class CSC340 [noun] : Programming Methodology Search: csc220 adjective distinct CSC220 [adjective]Ready to create complex data structures Search: cSc210 verb CSC210 [verbTo learn Java Search boOK distinct Book [noun] A set of pages Book [noun]: A written work published in printed or electronic form Book [verb]To arrange for someone to have a seat on a plane Book [verb] : To arrange something on a particular date Search: advERB noun distinct Adverb [noun] Adverb is a word that adds more information about place, time, manner, cause or degree to a verb, an adjective, a phrase or another adverb Search adjecTIVE distinct Adjective [noun] : Adjective is a word that describes a person or thing, for example big, red and clever in a big house, red wine and a clever idea Search: conjuncTION verb Search: interJECTION noun distinct Interjection [noun] Interjection is a short sound, word or phrase spoken suddenly to express an emotion. Oh!, Look out! and ow! are interjections Search noun nour Noun [noun] : Noun is a word that refers to a person, (such as Ann or doctor), a place (such as Paris or city) or a thing, a quality or an activity (such as plant, sorrow or tennis) Search preposition propersition distinct Search: preposition preposition Search: verb verb distinct Search: facebook Search 2 -THANK YOU-_ Our satisfied clients are back to ask us to implement another interactive dictionary. Our dictionary takes input from users and uses the input as search key to look up values associated with the key. Requirements: - Coding: No hard coding, https://en.wikipedia.org/wiki/Hard_coding - Data Source: a text file, Data.CS.SFSU.txt - Data Structure: Use existing data structure(s) or create new data structure(s) to store our dictionary's data. Each keyword, each part of speech, and each definition must be stored in a separate data field. Do not combine them such as storing three parts in one String. Data Loading: When our program starts, it loads all the original data from the data source into our dictionary's data structure. The data source file is opened once and closed once per run. It must be closed as soon as possible. It must be closed before our program starts interacting with users. User Interface: A program interface allows users to input search keys. This interface then displays returned results. Our program searches the dictionary's data (not the data source text file) for values associated with the search keys. Identical Output: Our program's output must be identical to the complete sample run's output: ASMTO2_PC_Run.pdf - - - 1. Program Analysis to Program Design, 10 points In 1 full page, please explain the following in detail: Your analysis of the provided information and the provided sample output. Compare to the ASMT 01 Java version What problem you are solving. How it is different from that of ASMT 01. How you load data from the data source. What the steps are. Why these steps. Which data structure(s) you use/create for your dictionary. And why. 2. Program Implementation, 25 points Does your program work properly? How will you improve your program? Sample run (not the complete run): Opening data file... ./Data.CS.SESU.txt Loading data. Loading completed... Closing data file . . . Search: plAcEholDER ! ! Placeholder [adjective] To be updated. .. Placeholder [adjective]: To be updated. . . Placeholder [adverb] To be updated..- Placeholder [conjunction] To be updated. Placeholder [interjection]To be updated.. Placeholder [noun] : To be updated.. Placeholder [noun] : To be updated... Placeholder [noun] To be updated... Placeholder [preposition] To be updated... Placeholder [pronoun] : To be updated. .. Placeholder [verb] : To be updated... . / Data. CS . SFSU . txt -DICTIONARY 340 C++ Search: aRRow Arrow [noun] : Here is one arrow : -->>. Search:disTINCT Distinct [adjectiveFamiliar. Worked in Java. Distinct [adjectiveUnique. No duplicates. Clearly Distinct [adverb Uniquely. Written "distinctly Distinct [noun] : A keyword in this assignment. Distinct [noun] : A keyword in this assignment. Distinct [noun] : A keyword in this assignment. Distinct [noun] : An advanced search option. Distinct [nounDistinct was in ASMT 01 as a paramet Search: placeHOLDER adjective Placeholder [adjective] Placeholder [adjective] To be updated. .. To be updated. .. Search: placeholDER adjective distinct Search: distinct distinct Placeholder [adjective] : To be updated Distinct [adjectivelFamiliar. Worked in Java. Distinct [adjective] Unique. No duplicates. Clearly Distinct [adverb Uniquely. Written "distinctly". Distinct [noun] A keyword in this assignment. Distinct [noun] : An advanced search option. Distinct [noun] : Distinct was in ASMT 01 as a paramet Search: placehOLDER distinct Placeholder [adjective] : To be updated.. . Placeholder [adverb] To be updated. . . Placeholder [conjunction To be updated... Placeholder [interjection]To be updated. .. Placeholde [noun] : To be updated... Placeholder [preposition] : To be updated. .. Placeholder [pronoun] : To be updated Placeholder [verb]: To be updated.. Search: distinct noun distinct Distinct [noun] : A keyword in this assignment. Distinct [noun] : An advanced search option. Distinct [nounDistinct was in ASMT 01 as a paramet CSC340 [adjective] : = c++ version of CSC210 + CSC220 + more CSC340 [noun] : A CS upper division course CSC340 [noun] : Many hours outside of class CSC340 [noun] : Programming Methodology Search: csc340 noun CSC340 [noun] : A CS upper division course CSC340 [noun] Many hours outside of class CSC340 [noun] : Programming Methodology Search: csc220 adjective distinct CSC220 [adjective]Ready to create complex data structures Search: cSc210 verb CSC210 [verbTo learn Java Search boOK distinct Book [noun] A set of pages Book [noun]: A written work published in printed or electronic form Book [verb]To arrange for someone to have a seat on a plane Book [verb] : To arrange something on a particular date Search: advERB noun distinct Adverb [noun] Adverb is a word that adds more information about place, time, manner, cause or degree to a verb, an adjective, a phrase or another adverb Search adjecTIVE distinct Adjective [noun] : Adjective is a word that describes a person or thing, for example big, red and clever in a big house, red wine and a clever idea Search: conjuncTION verb Search: interJECTION noun distinct Interjection [noun] Interjection is a short sound, word or phrase spoken suddenly to express an emotion. Oh!, Look out! and ow! are interjections Search noun nour Noun [noun] : Noun is a word that refers to a person, (such as Ann or doctor), a place (such as Paris or city) or a thing, a quality or an activity (such as plant, sorrow or tennis) Search preposition propersition distinct Search: preposition preposition Search: verb verb distinct Search: facebook Search 2 -THANK YOU-_
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started