PTC Software interview question

P&C, Probability, Java, Unix, SQL