Innodata interview question

1. What is the difference between null and undefined? 2. What is a closure in JavaScript? Provide an example. 3. Write an SQL query to find the second-highest salary from a table named Employees. 4. What are the key components of a modern web application architecture?