Process A take 10 seconds to finish an execution.
Process B take 10 seconds to finish an execution.
Is it possible to take 5, 8, 15 seconds to finish an execeution if they run stimulately.
Software Engineering Stack Exchange is a question and answer site for professionals, academics, and students working within the systems development life cycle. It only takes a minute to sign up.Sign up to join this community
There's no way to tell from the information given. This reads like a very basic homework question or a sneaky trick question.
In the case of the basic homework question: no, A and B are separate processes and the amount of time each individually takes up can't be reduced by running them in parallel.
In the case of the sneaky trick question, if A and B both happen to rely upon process C that happens to take 9 seconds and when it finishes happens to return results such that parallel queries are responded to in parallel (but subsequent queries are reevaluated), then sure, it's possible to speed up the process with parallelization.