Persistent Systems Interview Question

1.Simple code and testing questions