Answer:
6 columns/items
Explanation:
<em>grid</em> starts off as an empty list ( [ ] ), so right now it has 0 items/columns.
After that, 3 new items ("frog", "cat", "hedgehog") have been appended to <em>grid</em>, it now has 3 items
Finally another 3 items are appended to <em>grid ("fish", "emu", "rooster"</em>), finally <em>grid</em> ends up with 6 items in total.
Answer:
888 + 88 + 8 + 8 + 8 = 1000
Explanation:
Required
Add up to 1000 using only digit 8
There is no straight way to answer this question; so, we make use of trial by error method to arrive at our solution.
After several trials, I found out that:
888 + 88 + 8 + 8 + 8 = 1000
Answer:
(10^6 + 9.9)
Explanation:
Given:
Total number of machine instructions = 1000
Number of page fault in 100 instructions = 1
Number of page faults in 1000 instructions = 10
Time to serve one page fault = 100 milliseconds
Time to serve ten page faults = 100*10 milliseconds = 1000 milliseconds = 10^6 Microseconds
Number of instructions without any page fault = 1000 - 10 = 990
Time required to run 1000 instructions = 10 Microseconds
So, time required to run 990 instructions = (10*(990/1000)) Microseconds = 9.9 Microseconds
So, the total time required to run the program = (10^6 + 9.9) Microseconds