Persistent Systems Interview Question

no all are basic questions with some puzzles too