The format of the exam will be a pen-and-paper exam, with an optional cheatsheet (see below for details). There will be a PrairieLearn component released after the exam, which is optional and worth 25% of the overall grade, to be completed on your own time by Saturday, October 18th, 2025.
Review Session
Please read on, the lecture on Tuesday, October 14th, 2025, originally scheduled to be the midterm 1, will be dedicated to reviewing the material covered in the first few weeks of the course.
Exam Coverage
The exam will cover the following topics:
Sets
Relations
Functions
Counting
Exam Resources
To help you prepare for the exam, the following resources are available:
⚠️ Please note solutions for this sample exam will not be provided, however you can request the TAs cover specific questions in recitation on Friday, October 11th, for the review session.
IF YOU DON’T MAKE A CHEATSHEET: On the day of the exam, when the instructor walks around with a sign-up sheet indicate you are not using a cheatsheet.
Bonus Opportunity:
PrairieLearn Component
In the evening after the written exam, we will release optional PrairieLearn questions worth 25% of the overall grade. This component is optional, and your final exam grade will be calculated as follows:
Final Exam Grade = max(written exam grade, (75% × written exam grade) + (25% × PrairieLearn grade))
Deadline: The PrairieLearn questions will be due by Saturday, October 18st, 2025, at 11:59 PM (please note this is intentionally before the HW4 deadline).
Important Information
Rescheduling Exam
If you have a conflict or are unable to attend the exam due to illness or other reasons, please let us know as soon as possible by submitting this form. Provide as much availability as possible, and we will work with you to arrange an alternative.
No Need to Simplify Formulas
You do not need to simplify your answers during the exam. It’s acceptable to leave expressions unsimplified (e.g., you don’t need to compute “2 + 2”).
Exam Instructions
Arrival: As much as possible, please arrive by 5:05 PM to get settled before the exam begins.
No Leaving Early: To ensure everybody can take the exam in a quiet environment, we ask that you remain in the room until the end of the exam. If you finish early, you can use the remaining time to review your answers.
Anonymity: Do not write your name anywhere on the exam. Instead, please write your (numerical) Penn ID on the front page where requested. We will grade exams anonymously to ensure fairness.
Electronic Devices: Set cell phones to “Do Not Disturb” mode. Calculators are not permitted.
Answer Space: Write your answers within the designated spaces. We will not check the back of any pages.
Scratch Paper: A blank sheet is provided at the end of the exam for rough work. You may also use the back of any sheet if needed.
Time Management: Some questions may be more challenging. Do not spend too much time on any single question.
In the CIT 5920 exams, the easier questions are worth many more points than the harder questions.
Particularly difficult questions will be identified as such (though of course it is always possible we misjudge perceived difficulty).
Explanations: Unless specified “No explanation needed,” please provide a brief rationale for your answers.
Preparation Advice
Practice: Focus on practicing problems related to the exam topics. Use the PrairieLearn exercises to ensure you are comfortable with the material.
Attend the review recitation on Tuesday, October 14th 2025.
Review examples from the lecture, and copy-paste the lectures in ChatGPT 5 Thinking or Claude Sonnet 4.5 Thinking or Claude Opus 4.1 Thinking and above to generate more examples.
Practice with the PrairieLearn questions for HW1, HW2, and HW3.
Review the Slido polls from the lectures.
Attempt the sample exam (see Exam 1 from Fall 2023 in the Resources above) under timed conditions.
Revisit homework assignments, comparing your work to the solutions and class examples.
Focus on areas where you lost points to understand and correct mistakes.
Academic Integrity
Please do not attempt to cheat on this exam: Remember that the main goal of this class is to acquire prerequisite knowledge for future courses. This exam is one of the first checkpoints to see if you are in good progress, and it would be a bad missed opportunity to cheat in any way.
There will be many opportunities to obtain an excellent grade despite a catastrophic performance on this exam, but it is important to diagnose your difficulties early so we still have time to help you.
Finally, please do not discuss the exam, keep the exam subject or share it with anybody after the exam, until the solutions are released to everybody.
Feedback and Support
Please let us know if there’s anything we can do to help you prepare. You can reach us on the class forum or attend our office hours posted on the schedule page. We are here to support you.
Remember, consistent practice leads to success. The exam is not a measure of your worth, but just a checkpoint to see if you are on track with the material.
Good luck with your studying, and we wish you success on the exam!
Welcome to CIT 5920: Discrete Mathematics for Computer Science for Fall 2025!
Our course website is now live and will be your primary resource throughout the semester. Here you’ll find:
Lecture notes and recordings posted after each class
Module pages with readings, slides, and supplementary materials
Homework assignments (both online and written components)
Recitation materials to reinforce concepts through practice
Office hours schedule for getting help when you need it
Course announcements to keep you updated
What to Expect
This course will teach you the mathematical language and tools to formally express ideas that can be translated into code. You’ll learn to think like a computer scientist - breaking down complex problems, recognizing patterns, and creating abstractions.
Our journey will take us through:
Sets, relations, and functions
Counting and combinatorics
Discrete probability
Propositional and predicate logic
Mathematical proofs and induction
Introduction to graph theory
Getting Started
Bookmark this website - it will be updated regularly with new materials
Check Panopto for lecture recordings and grade submissions
Join PrairieLearn for online homework assignments (link coming soon)
Review the textbook recommendations - especially Stephen Davies’ excellent “A Cool Brisk Walk Through Discrete Mathematics”