In triangle ABC, ab=5 cm, BC=12 cm and ABC=90 degree, calculate the length of AC.

Don't you just have a nice right-angled triangle?

You should recognize 5-12-13 as one of the common ones with integer lengths, if not

AC^2 = 5^2 + 12^2 = 169
AC = √169 = 13