tkxel interview question

Problem Solving Q : Compare two strings and find its anagram or not. MySQL Q: Write a query to find second minimum salary of candidate. Management Questions 1: What is a static variable. Diff between static and normal variable. 2: What is normalization and de normalization? 3: What is a default port of apache server? 4: What is threading and multi threading? Is PHP single or multi threaded? Is JavaScript single or multi threaded? How multithreading works in a system? Explain this code and what it will output? var i = true; setTimeout(function(){ i = false }, 2000); while(i){ console.log(i); }