Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

DIAMOND DAYIM AHOND .11 Project Structure Create a new project in Intel 2 In the snc folder create a package named thymes 3 In the

image text in transcribed
DIAMOND DAYIM AHOND .11 Project Structure Create a new project in Intel 2 In the snc folder create a package named thymes 3 In the thymes package create a new [Scala object, Python ej mamed In the snc tolder create a package named tests Primary Objective (35 points) In RhymingDictionary write a methodfunction named findRthymes takes two Saings as parameters and returns a List of Sm The first rpt Sting represente filenrette pronunciation dictionary The second input String is a word for which you will ind yme Return a list containing all the words in the pronunciation dictionary that thyme with the inpt work, including the input word iset the input word is not in the dictionary, retum an enpty This findRhymes functioniste pray goal of te awgmerts The rest ofthe is designed to guide you as you wond towards this goa Testing Objectives (45 points) The total points of the homework add to more than 50, but your total points wil be maned out at 50 for each language This gives you some aptions on how you approach and complete the assignment, hough for full credit you must complete the primary obynctive and at least 1 testng part lfyou don't complete the prmary otsect but t parta oedt ten you must complete testing objectives To eam the 15 poirnts for a teslting objnctive you must 1 Write unit tests for the given function In AutoLab there will be both comect and incorrect solutions Your test sue wilbemarked correct only all incorrect passes at ofthe conect too ims 2 Implement the given function and pass your unit tests The 15 points for each lesting objective are all-or nothing There wil aso be no unelu eedback given by Autolab The objective is to give you practice testing yor oun cod wthout the assistance of AutoLab to prepare you for developing your own projects outside of class, for your team project, in future courses, and thoughout your career Tesing Objective 1 n RhymingDictionary write a methodifunction named ishymeSounds that takes two Lists of whether or not the two words thyme (ie Retum true if the wonds thyme, tase ofheise Tesing Objective 2 proranciaton dictonary Sename then a d and returns a LnlofSerghat sounds for that word hom the pronunciation dictionary he word is not in the dictionary return an empty List h the tests package create an objectie named TestOetSounds that is set up an hat tests the getSounds method tunction Tesling Objective 3 n FonymingDicsionary write a methodtunction named isRehyme that takes 3 Saingse pronunciation dictionary erame, then two words (Strings) and retums a Boolean indcating whether or not the two words thyme (e. Retum true if the words thyme, talse oherwise) either word is not in the dictionary return talse n the tests package create an objectile named TestisRhyme hat is set up as a test sute hat tests the DIAMOND DAYIM AHOND .11 Project Structure Create a new project in Intel 2 In the snc folder create a package named thymes 3 In the thymes package create a new [Scala object, Python ej mamed In the snc tolder create a package named tests Primary Objective (35 points) In RhymingDictionary write a methodfunction named findRthymes takes two Saings as parameters and returns a List of Sm The first rpt Sting represente filenrette pronunciation dictionary The second input String is a word for which you will ind yme Return a list containing all the words in the pronunciation dictionary that thyme with the inpt work, including the input word iset the input word is not in the dictionary, retum an enpty This findRhymes functioniste pray goal of te awgmerts The rest ofthe is designed to guide you as you wond towards this goa Testing Objectives (45 points) The total points of the homework add to more than 50, but your total points wil be maned out at 50 for each language This gives you some aptions on how you approach and complete the assignment, hough for full credit you must complete the primary obynctive and at least 1 testng part lfyou don't complete the prmary otsect but t parta oedt ten you must complete testing objectives To eam the 15 poirnts for a teslting objnctive you must 1 Write unit tests for the given function In AutoLab there will be both comect and incorrect solutions Your test sue wilbemarked correct only all incorrect passes at ofthe conect too ims 2 Implement the given function and pass your unit tests The 15 points for each lesting objective are all-or nothing There wil aso be no unelu eedback given by Autolab The objective is to give you practice testing yor oun cod wthout the assistance of AutoLab to prepare you for developing your own projects outside of class, for your team project, in future courses, and thoughout your career Tesing Objective 1 n RhymingDictionary write a methodifunction named ishymeSounds that takes two Lists of whether or not the two words thyme (ie Retum true if the wonds thyme, tase ofheise Tesing Objective 2 proranciaton dictonary Sename then a d and returns a LnlofSerghat sounds for that word hom the pronunciation dictionary he word is not in the dictionary return an empty List h the tests package create an objectie named TestOetSounds that is set up an hat tests the getSounds method tunction Tesling Objective 3 n FonymingDicsionary write a methodtunction named isRehyme that takes 3 Saingse pronunciation dictionary erame, then two words (Strings) and retums a Boolean indcating whether or not the two words thyme (e. Retum true if the words thyme, talse oherwise) either word is not in the dictionary return talse n the tests package create an objectile named TestisRhyme hat is set up as a test sute hat tests the

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Introduction To Database And Knowledge Base Systems

Authors: S Krishna

1st Edition

9810206208, 978-9810206208

More Books

Students also viewed these Databases questions