Answer:
The hiding of the information/data in the images ,videos and audio is referred as stenography This can reduced by taking several steps like:-
- Extraction method is the widely used method for the separation and picking out the data and the image or other data forms from each other.
- Hue and saturation method works on the images and audios that can find the hidden data.
- Image processing is doen on the image which enhances the form of it by extraction of the unnecessary data from it.
Its called a genesis program
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:
True
Explanation:
When an object is falling under the influence of gravity, the distance of fall as a function of time is given by:
D(t)=ut + 1/2 * a * t^2
Where
u = initial velocity of the object ( = 0 in this case as the object is falling only under gravity),
a = acceleration of the falling object = g = 9.8 m/s^2 which represents the acceleration due to gravity.
Simplifying,
D(t) = 1/2 * g * t^2