Hong Kong Certificate of Education Examination
Lam was first interested in astronomy as a Primary 6 student. In Form 2, he decided that he wanted to enter the Hong Kong Observatory while completing a stargazing Boy Scout badge, although he later believed that the chances were slim. He obtained an A in Physics in the Hong Kong Certificate of Education Examination, although the grade was not sustained in the A-levels, where he received an A for all other subjects he took up.