Prelim 2 will primarily cover material covered in lecture and homework since prelim 1. Here are some sample questions. Here are solutions. See also the review questions listed in the lecture notes.
As always, previous semesters covered material to different depths. I have filtered the sample questions based on the topics we've covered, but some topics we've covered more or less, so the difficulty may be different.
Here is a (potentially incomplete) set of topics:
There were a few topics that you hadn't had much coverage on for prelim 1: indicator variables, weak law of large numbers. You also have had more practice using and reasoning about random variables on HW 6. A probability question is possible but not promised.
You are not directly responsible for hashing or the probabilistic counting algorithm covered in lecture. Any questions related to this will give you any relevant definitions or properties.
Know Kleene's theorem. Understand the proofs of various parts of Kleene's theorem. Be able to apply the various translations (NFA → RE, RE → NFA, NFA → DFA, DFA → NFA)
Be able to apply Kleene's theorem to translate questions about regular languages to questions about recognizable languages, and vice-versa