C-DOT interview question

Question based on dbms, os and algorithms.