line follower

actually i am beginner in autonomous bots, i am making a line follower . i wanted to know whether its necessary to give time delay while programing the bot. if yes then how can we decide the right amount of time delay??

Where are you thinking of

Where are you thinking of putting the delay? We need a bit more information for this one. Sometimes a delay is needed, but normally you can find a way around it.

when there is a turn in line
when there is a turn in line and the bot has to turn, is it necessary to give delay at tht moment or we can continously check the inputs of the sensor and accordingly give the output to motors

You can use a delay in that
You can use a delay in that case, but I think it would be better to check the sensors continuously.
If you set up a delay loop to make the bot turn 90° left for example, what happens when the batteries start getting low? Or if one motor is stronger than the other? The bot will start to turn more or less than the intended amount - reading the sensors and adjusting makes for a more robust and flexible robot.