An inspection by the superintendent of St. Joseph School was scheduled on the next day. The class teacher Jenifer knew that he would be asking questions from her class and she would have to choose a pupil to answer. To offer a perfect impression over him, the teacher explained certain instructions to the students to maximise the chances of getting correct answer every time.
You enter your friend's room. He is not in his room. Although you see that on the bed there are two dogs, five cats, two giraffes and three pigs. Also, a couple of chickens and ducks are flying in the room.
Calculate the number of legs standing on the floor.
A system error causes the change of John's net banking password. To sort this out, he calls the customer care. The following is the conversation he had with the executive:
John: My password has been changed.
Custom Care Executive: We have kept your password distinct this time. It has 8 letters out of which, 3 letters are the same as the previous one.
John: Okay, thanks.
Can you determine the old as well as the new password of John's net banking account after reading the conversation carefully?