<prompt> Design a computer program to determine the frequency of strings in a given text.  <response>: Here is an example of a program in Python that can determine the frequency of strings in a given text:pythonfrom collections import Countertext This is a test text. This is a simple example to determine the frequency of strings in this text. Split the text into individual wordswords text.split Create a dictionary to store the frequency of each wordword_frequency Counterwords Print the frequency of each wordfor word, count in word_frequency.items: printfword: countIn this program, we first import the Counter class from the collections module. This class allows us to easily count the frequency of items in a collection.Next, we define a variable text which contains the text that we want to analyze. We then split the text into individual words using the split method.To determine the frequency of each word, we use the Counter class to create a dictionary where the keys are the words and the values are the number of times each word appears in the text.Finally, we iterate over the items in the dictionary and print the frequency of each word.The output of this program would be something like:This: 2is: 2a: 2test: 1text.: 1simple: 1example: 1to: 1determine: 1the: 1frequency: 1of: 1strings: 1in: 1this: 1text: 1 