Explanation:
A code block programmers can reuse multiple times
Answer:
def occurencesOfWords(words,freq):
frequency_dictionary={}
matched_frequency_words=[]
for i in range(len(words)):
counter=1
a=words[i].lower()
for j in range(len(words)):
if(i==j):
continue
b=words[j].lower()
if(a==b):
counter+=1
frequency_dictionary[words[i]]=counter
for key in frequency_dictionary:
if(frequency_dictionary[key]==freq):
matched_frequency_words.append(key)
return matched_frequency_words
if __name__=='__main__':
user_input=input()
freq=int(input())
words=user_input.split(" ");
required_words=occurencesOfWords(words,freq)
for s in required_words:
print(s)
Explanation:
- Inside the occurencesOfWords function, initialize a frequency_dictionary that is used to store the string and the frequency of that specific string
.
- matched_frequency_words is an array that is used to store each string whose frequency matches with the provided frequency
- Run a nested for loop up to the length of words and inside the nested for loop, skip the iteration if both variables i and j are equal as both strings are at same index.
- Increment the counter variable, if two string are equal.
- Loop through the frequency_dictionary to get the matching frequency strings
.
- Finally test the program inside the main function.
Answer:
D. It allows programmers to write abbreviations instead of repeating calculations
The technical terms for the statement "The repeatedly working capacity of computer" is known to be "diligence.
<h3>Why is the working capacity of computer" known to be "diligence."?</h3>
The capacity of a computer is known to be one that carry out or performs a lot of task in a repetitive manner without getting tired and as such, one can say the computer is diligent.
Note therefore that The technical terms for the statement "The repeatedly working capacity of computer" is known to be "diligence.
Learn more about computer from
brainly.com/question/24540334
#SPJ1
Answer:
In the case of generic software development, the developer has the control of all the decisions while with custom software development, the client is responsible of the decisions about the characteristics of the software.
This means for users of generic software products that they don't have control over the product.
Explanation:
-A generic software development refers to the creation of a product by a software development organization that will own it and sell it to customers. This software is created for the open market and is designed to solve a problem for many customers.
-A custom software development refers to the creation of a product by a software development organization for a client. This product is created according to the customer's needs and specifications in order to solve a specific problem of the client.