eClerx Interview Question

How do you debug a complex script or program? What is the difference between compiled and interpreted languages? Explain the difference between SQL and NoSQL databases.