Gihan Jayatilaka : Resources : CMSC472


Contact

If you want to contact me regarding anything in the course, please do one of the following (in the decreasing order of my preference)

  1. Make a public piazza post.
  2. Make a private (view only for TAs and instructor) piazza post.
  3. Email me at

2026 Spring Practise Final Exam Answers

Download PDF

How to stop the PDF export from cutting off lines

  1. Download the .ipynb file (say it is downloaded as notebook.ipynb)
  2. Run the following in a linux shell
    sudo apt-get install texlive-xetex texlive-fonts-recommended texlive-plain-generic
  3. Run the following command to convert the notebook to a PDF
    jupyter nbconvert --to pdf /content/notebook.ipynb
  4. If you are doing this on Colab itself,
    1. File >> Download >> Download .ipynb
    2. Upload it to the Files
    3. Run the following in a code block
      %%shell
      sudo apt-get install texlive-xetex texlive-fonts-recommended texlive-plain-generic
      jupyter nbconvert --to pdf /content/notebook.ipynb
    4. Download the newly generated notebook.pdf. CHECK if all the lines are fine.