Nokia Interview Question

What's RIPv2. Which is better RIPv2 or OSPF?