Answer:
18
Explanation:
lets go step by step.
the function called tryIt has a value, a variable named "a". this "a" variable will be whatever the user enters when the program says, Enter a number.
ok so if we enter "a" as 2, and b in the function will always be 7, and 2 + 7 equals 9,
and the ans variable (short for answer) will take the result of the function (9) and multiply it by 2,
then the answer is 18
Answer:
310 ns
Explanation:
Given that
TLB hit ratio = 90%
TLB hit ratio = 90/100
TLB hit ratio = 0.9
Time needed to access TLB = 15 ns
Time needed to access main Memory = 85 ns
Effective memory access time = ?.
The formula for finding the effective memory access time is given by
The effective memory access time = [TLB Hit ratio (main memory access time + required time to access TLB) + [2 * (main memory access time + required time to access TLB)] * (2 - TLB hit ratio)]
On substituting the values given in the question to the equation, we have
The effective memory access time = [0.9 (85 + 15) + [2 * (85 + 15)] * (2 - 0.90)]
The effective memory access time =
[(0.9 * 100) + (2 * 100) * 1.1]
The effective memory access time =
(90 + (200 * 1.1))
The effective memory access time =
90 + 220
The effective memory access time =
310 ns
<em>Hey there!</em>
Just to be corny, what does a spider use to navigate the internet? <em>The World Wide Web! </em>Did you catch that? Hopefully you did...
Anyway, enough with my jokes, here's your answer.
Transmitting information through computers are cheap and fast because of multiple things. The first reason is because they don't require a deliverer or shipping. They can literally be sent from anywhere and be delivered within 10 seconds-5 minutes, way faster than any mailman or delivery. How does it move that fast? Smaller files tend to move quicker among the invisible online delivery lines, most commonly known as cell towers. To get online info from your phone/computer to someone else's device, the file bounces from tower to tower to finally reach the destination.
<em>I'm always open to any question or comment!</em>
<em>God Bless!</em>
<em>-X8lue83rryX</em>