D. DoS. DoS is a way to potentially lag or even crash different types of servers ranging from as small as a simple website to bigger websites and video games servers.
Answer:
# Code in Python
dictionary={'A':1,'B':2,'C':3,'D':4}
other_dictionary={}
for keys in dictionary:
if dictionary[keys]&1==1:
temp=dictionary[keys]*dictionary[keys]-10*10
other_dictionary[keys]=temp
else:
other_dictionary[keys]=dictionary[keys]
print(other_dictionary)
assert other_dictionary
Explanation:
- Initialize a sample example dictionary and other_dictionary.
- Do a binary comparision for checking odd number
.
- Update the the value stored in the dictionary to store the squared difference of the original value and '10'.
- For even: store the original value (from dictionary).
It’s either b or c, but my final answer would be C
Answer:
import pandas as pd #importing pandas library as pd
import matplotlib.pyplot as plt #importing matplotlib.pyplot as plt
pop=pd.read_csv('nycHistPop.csv') #reading the csv file
borough=input('Enter borough name:') #asking the user for borough namme
# image=input('Enter image name:')
# pop['Fraction']=pop[borough]/pop['Total']
# pop.plot(x='Year', y='Fraction')
print("Minimum population",pop[borough].min()) #printing the minimum population of borough
print("Maximum population",pop[borough].max()) #printing the maximum population of borough
print("Average population",pop[borough].mean()) #printing the average population of borough
print("Standard deviation",pop[borough].std()) #printing the standard deviation of borough
# fig=plt.gcf()
# fig.savefig(image)
Explanation:
<span>It has public-access databases,which makes the data available for masses.
It develops software tools for analyzing genome data, and disseminates biomedical information.
It also houses important resource for bio-informatics tools and services.
It benefits researches with quantum of data available for their specific area of research.</span>