Answer: Concurrent programs are the programs that execute at the same point of time. They are simultaneous in nature with other concurrent programs.They are executed with the help of threads to achieve the concurrency without the issue of scheduling. They are consider long running programs.
The program that has the low execution time compared with all other programs gets executed first.If the case of no progress is seen then another thread is executed.This type of execution gives the non- deterministic situation in which the possibility of leading completion of any particular program cannot be determined.
Answer:
Explanation:
The constant function is useful in algorithm analysis, because it characterizes the number of steps needed to do a basic operation on a computer, like adding two numbers, assigning a value to some variable, or comparing two numbers. Executing one instruction a fixed number of times also needs constant time only.
If the ladder is not stable, it is better to have someone hold the ladder in the bottom ( only someone who is strong and confident)
Answer:
After checking the attached picture, come to this calculated "Total Time".
Total time 'T'
T = (0.25)(200) + (0.15)(200) + (0.1)(250) + (0.05)(175) + (0.45)(75)
T = 147.5 ps