Answer:Most shop accidents are caused by÷
- lifting
- poor light
- trips and falls
- stress
- dangerous materials
- act of shop violence
- dehydration
- extreme tiredness
Answer:
a. 100.
b. 31500.
Explanation:
So, we are given the following data which is going to help in solving this particular question.
The time required to execute (on the average) = 1/2 microsecond , a page fault takes of processor time to handle = 250 microseconds and the disk time to read in the page = 10 milliseconds.
Thus, the time taken by the processor to handle the page fault = 250 microseconds / 1000 = 0.25 milliseconds.
The execution time = [ 1/2 microseconds ]/ 1000 = 0.0005 milliseconds.
The number of Pages sent in a second by the disc = 1000/10 milliseconds = 100.
Assuming U = 1.
Hence, the disc transfer time = [2/3 × 1 } + [ 1/3 × 0.25 milliseconds + 15 ] × 2.
=0.667 + 15.083.
= 15.75 millisecond.
Average number of instruction = 15.75/0.0005 = 31500.
Answer:
Explanation:
I will go straight to the code, and hope it didn't confuse you.
Here is it
public static void main(String[] args)
int [] x = new int [args.length]
for (int y = 0; y< args.length;yi++)
int[y] = (int) args [y]