angusshire / cs-exams-downloader

Quickly download past CS exams with solutions!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CS Exams Downloader

The CS Exams Downloader can be used to download past exams for UC Berkeley's CS courses. It makes use of HKN and TBP's databases. The program downloads by default only those exams that also have their solutions available on those databases, though this may be adjusted with flags (use python3 --help to learn more)!


Simply clone this repo to get started. Note that the application makes use of the following extra modules:

Users of pip can install these modules using pip install -r requirements.txt.


Run the code with a valid class to download exam-solution pairs!

python3 61A

You can also get files for multiple classes in one run.

python3 162 186 188


This code is released under the Apache License, Version 2.0.

Copyright 2016 Shafqat Dulal

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.


Quickly download past CS exams with solutions!



Language:Python 100.0%