Answer:
(a) Q = (M-(1-n)S)/n
(b)
When M = 450,
Q = 82
% CPU time wasted = 8.889%
When M = 90,
Q = 10
% CPU time wasted = 44.44%
When M = 50,
Q = 2
% CPU time wasted = 80%
Explanation:
Given Data:
n = process
T = ms time
Context switch time overhead = S
and M is total overhead
See attached file for the calculation.
Answer:
39 + 3
42
393
Explanation:
In this line System.out.println("39 + 3"), the quotation marks are used to delimit a string, then when printed in the console the string is printed as-is.
In the next line: System.out.println(39 + 3), without the quotation marks, the 39+3 is treated as a normal addition and prints the result of the operation.
In the last line printed with the code System.out.println("39" + 3,; the symbol + is used to concatenate the string 39 with the number 3, since the string has no spaces they are printed together.
One technical issue I had was on Windows 8.1, with the charm menu not working. The troubleshooting steps to fix it was I did CTRL+SHIFT+ESC to open task manager. I then found Windows Explorer and clicked "Reload." Then everything was fine.
Hope This Helped!
Explanation:
A hub is used to send the message from one port to other ports.It does not know the specific address of the destination where the message needs to send.it works on Physical layer of the OSI model(layer 1).
A switch can handle data and it knows the specific address of the destination.A switch works on the data link Layer of the OSI model(layer 2).