Hello Bhavya,
I think the most time-consuming tasks in programming are requirements gathering and analyzing. Which are very important phases in programming, If you gathered accurate requirements from the client, you can develop the actual system. And also if you analyze the requirements clearly, you won't rewrite the code again. So, we want to focus these phases very carefully. Thatswhy it will take too much time.

Thank you.