Skip to main content
Berkeley
Electrical Engineering and Computer Sciences
4 credits

Berkeley CS 70: Discrete Mathematics and Probability Theory

CS 70 is Berkeley's discrete math and probability course, required for the CS major, covering proofs, graph theory, modular arithmetic, RSA, polynomials, counting, and a substantial probability unit. It's the theory gateway — and by reputation, the hardest lower-division course in the major.

Fennie is independent and not affiliated with UC Berkeley. This is an unofficial study guide.

Build my CS 70 study plan

What makes it hard

CS 70 is many students' first proof-based course, and the jump from computation to proof is brutal — homework can take entire weekends, and exam medians are famously low before curving. The probability half punishes anyone who survived the first half on pattern-matching instead of understanding.

What you'll cover

  • Propositional logic and proofs
  • Induction
  • Graph theory
  • Modular arithmetic and RSA
  • Counting and combinatorics
  • Discrete probability and random variables
  • Markov chains

The CS 70 study guide

How to study for Berkeley CS 70, step by step.

  1. 1

    Pre-study proofs before the semester starts

    The freely available CS 70 course notes are the classic summer prep among Berkeley students. Getting comfortable with induction, contradiction, and contrapositive before week one removes the worst of the adjustment shock.

  2. 2

    Treat homework as the course

    The problem sets are where CS 70 learning actually happens, and they can consume whole weekends. Start them the day they release, work with study groups within course policy, and use office hours and discussion sections relentlessly.

  3. 3

    Do proof reps daily, not weekly

    Proof skill compounds like a language. Even 30 minutes of daily problem work beats a single marathon session, and it's the only defense against the pattern-matching trap that the probability half punishes.

  4. 4

    Rebuild the probability half from first principles

    When random variables arrive, re-derive expectations and distributions yourself instead of memorizing formulas. Counting and probability are where exam points hemorrhage, so overweight them in your practice.

  5. 5

    Drill past exams before each midterm

    CS 70 exam medians are famously low before curving, and past exams from the TBP/HKN archives are the best calibration available. Work them timed and grade your own proofs harshly.

  6. 6

    Make it a Daily Plan with Fennie

    Upload the CS 70 syllabus and Fennie paces daily proof and probability practice to your exam dates, generating practice problems and flashcards from the actual course notes you feed it. Free to start.

    Start my CS 70 plan free

How Fennie helps with CS 70

Daily Plans pace CS 70 with daily problem work, because proof skill compounds and cramming theory the night before fails reliably. Use Fennie's chat to dissect proofs — ask why each step is justified, or present your own argument and stress-test the logic — and generate practice problems on counting and probability, the areas where exam points hemorrhage.

FAQ

Is CS 70 the hardest class at Berkeley?

It's routinely nominated for that title among lower-division courses. The difficulty is the proof-based style, not any single topic — students with prior proof exposure find it manageable, while everyone else faces a steep adjustment in the first month.

How do I prepare for CS 70?

Get comfortable with proofs before the semester — induction, contradiction, and contrapositive especially. Working through the freely available CS 70 notes over summer is a common and effective strategy among Berkeley students.

How much time does CS 70 take per week?

Expect 15-20+ hours during problem-set weeks. The homework is where the learning happens, and collaboration within course policy plus office hours are near-essential. Budget for it like a double course during midterm stretches.

Pass CS 70 with a plan, not a cram

Upload your CS 70 materials and Fennie generates a Daily Plan paced to your deadline — plus chat, flashcards, and quizzes built from the actual course content.

Get started free

More Berkeley courses