Hi Pooja Palod,
I am sorry , but could not understand the gnatt chart.
At time t=0 all processes arrive . Then P1 does its first IO till 1 , so nothing need to be done. next P1 does first CPU till 5. Then P1 goes for second IO till 8 , so no P1 now.
Now , P1 has only 3 remaining. So , why you are scheduling P2 ?
Can you please explain a little bit ?