this will give you a principles about the ques , just go through it