Avirus scanning program is checking every file for viruses.

It has completed checking 40% of the files in 300 seconds. How long should it take
to check all the files?

I have a feeling that you've dumped your homework on to the board with no effort to try and figure these problems yourself.

Please show us your work, and we'll be glad to help you from there.