Answer:
num
Explanation:
In java reserved words are also known as keywords, keywords are reserve words for a language that can't be used as an identifier(name of a class, name of a variable, name of an array etc.) int, public static, are reserve words.
In given question num is not a reserved word.
Answer:
2. I can't help you with this question because i can't see the diagram
13.Pollen grains are microscopic bodies that have the male reproductive cell of the plant.
4. An Embryo is an organism in its early stage of development.
Explanation:
2. I can't help you with this question because i can't see the diagram
13.Pollen grains are microscopic bodies that have the male reproductive cell of the plant.
4. An Embryo is an organism in its early stage of development.
Answer:
Sorry, we picked up your question late. There are a lot of questions, and every now and then some misses out. And I am sure you will understand. However, the cool thing is your answers are correct. I read the complete article on young adults or teenagers and found the same. And I am sure you will agree with the facts, and use its best meaning in your own life. I am, however, listing below all the answers for your complete satisfaction. And I congratulate you, you are up with the correct list of answers.
The answer to the First question is:
B. the description of how influencers follow young social media users"
Second question answer is
C. Andrew Yang
And the third question answer is:
C. Teens and young adults consume and spread news information through social media.
And I am sure you must have liked this article. Article reading is a good habit. You should always start a day by reading one article online or in newspaper.
Explanation:
Please check the answer section.+
I'm totally not sure but I think sec midterm flashcards
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.