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.
Data consolidation is a collection and integration of data from multiple sources into a single destination.
Explanation:
Data consolidation allows you collect all your datas together from seperate worksheet into a master worksheet. Its function is to take data from a series of worksheet or workbooks and summaries it into a worksheet that can be updated easily.
During the process of data consolidation the different data sources are gathered together or consolidated into a single data source.
To consolidate first step is to open all files that contains data then ensure that data is organized in the same way and the third step is on the data ribbons select data tools and then consolidate. In the final step select the method of consolidation .
Consolidation is important strategically as the company looks to grow important share and market.
Answer:
Static web pages are sent as it is at web server without being processed additionally.
Dynamic web pages content may change, and server hosting dynamic web pages return content after processing trough a program.
Examples of dynamic and static web pages are below
Explanation:
<em><u>dynamic websites</u></em>
f o o t y r o o m (.co) It is a football website. Displays latest highlights and football stats. It is dynamic because it gives live match scores, as the scores change, content change as well.
a c c u w e a t h e r (.com) It shows weather information. It is dynamic because when requested, displays current weather information.
x e (.com) It is a currency website. Dynamic because it shows live exchange rates.
<em><u>static websites</u></em>
s c i p y - l e c t u r e s (.org) It is a website about scientific python environment. It is static because it gives same content whenever requested.
d o g a c a n d u . b l o g s p o t (.com) it is a blog. Static because the requested content doesn't change unless the blogger adds a new story.
z t a b l e (.net) It is a website about z-score values and includes z-tables. It is static because its displayed as it is.
Answer:
RTT1+ RTT2+..... RTTn
Explanation:
The total estimated time to get the IP address is
RTT1+ RTT2+..... RTTn
Once the IP address is known, O RTT elapses to set up the TCP connection and another O RTT elapses to request and receive the small object. The total response time is
2RTT0+RTT1+RTT2+.....RTTn
Answer:
A) Technician A says a fuel injector pulsed flow test measures steady or maximum fuel flow with the injector pintle and nozzle held fully open.
Explanation:
Through the fuel injector the fuel is injected, and the fuel injector pulsed flow test helps us understand the functioning of the machine at various pulse width, and varying fuel flow ranging from the least to the maximum. The first one is definitely a situation. And hence Technician A is definitely correct. However, Technician B is not correct, as for checking the pintle response you need to change the pulse width. However, technician B is mentioning that he always test with normal pulse width, and this is definitely not true. Hence Technician A is the right person.