If the time complexity of my program is,say O(n^2),How do I express running time in terms of seconds for a large value of
There is no way to calculate or estimate the running time of a some piece of code based on its Big-O rating.
Big-O tells you how a method scales in terms of operations to perform. It has no idea how long one operation take to execute. Additionally, CPUs may be good or bad at executing some of the operations in parallel which makes it even harder.
The only way to figure out if you have a performance bottleneck is to do the following:
If you also know the Big-O rating of that code you can use that to decide if the bottleneck is going to be exponentially worse if you, as an example, double the number of items to process.