To solve this, let us state the data given.
The number of programs lets call this n. we know our n is 7 from the question.
The time the program is idle is half, lets call this P= 1/2
our formula is: Pn = ( 1/2 ) 7
So we have our fraction of time wasted as 1/128