Answer:
The overall speedup gained by incorporating the enhancement is 1.563
Explanation:
Using Amdahl's Law;
The overall speedup
where;
P = Fraction Enhanced for Old Processor
n = speedup enhancement as a result of the new processor
P = 40% = 0.40 and n = 10
∴
The overall speedup (N) is:
= 1.563
Thus, the overall speedup gained by incorporating the enhancement is 1.563
The answer is A, “Find out what the default gateway is of his computer”.
Answer:
def most_frequent_letter():
file = open("words","r")
dWords = {}
for line in file:
line = line.rstrip()
words = line.split(" ")
for word in words:
counts = {}
for c in word:
counts[c] = counts.get(c, 0) + 1
dWords[word] = max(counts, key=counts.get)
return dWords
print(most_frequent_letter())
Explanation:
the file used was words in txt format and its contents are as follows:
hello aamir jan khan
parallelogram abdullah
anaconda ali
pycharm notebook
Answer:
1. would be B.
2. would be D
3. May I ask if it can be multiple answers?
Explanation:
1. In coding a if statement has to follow if something is true or not. If we are talking about a if and then statement it will skip that block and move to the next block of the "then" part of the "if then" Statement if the first part is reported false
2. This is a easy one, so it has to be either a 3.25 GPA or higher or they have to have either 100 hours or more.
3. waiting for a comment back :)