Respuesta :

Answer:

Yes, we can determine if a process is CPU bound or I/O bound by the analysis of source code

Explanation:

In order to know whether the process is CPU bound or I/O bound by looking at different profiles, execution time for each instruction, run time and number of commands/ instructions used.

This can be achieved by performing run-time analysis of the code using different profiles with the help of compiler or by keeping a track hardware usage

For CPU bound process we look into the involvement of loops, calculations and non I/O data access

For I/O data access  we look for read write files, I/O data access and databases.

ACCESS MORE