You were convicted of larceny 1 and now your name appears in a law school exam can they do that?

If the exam is making reference to a specific case contained in the law - and your name appears as the defendant, yes, they can. Also, if your name just happens to be a very common name (John Smith, Bob Jones) it is obviously just a made-up name and you have no cause for action.