<Tr> <Th> </Th> <Th> Men </Th> <Th> Women </Th> <Td> Row Total </Td> </Tr> <Tr> <Th> Studying </Th> <Td> 0 </Td> <Td> 10 </Td> <Td> 10 </Td> </Tr> <Tr> <Th> Non-studying </Th> <Td> 12 </Td> <Td> </Td> <Td> 14 </Td> </Tr> <Tr> <Td> Column Total </Td> <Td> 12 </Td> <Td> 12 </Td> <Td> 24 </Td> </Tr>

Difference between chi squared and fisher's exact test