ION Group interview question

Puzzle question ,sql, os relatrd basic questions