Skip to content

About

Set of Project Jupyter notebooks to teach Computer Science

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Practical Computer Science Primer

Audience

This set of Jupyter Notebooks is intended to be a self-contained CompSci course at approximately US College level. They can be previewed in GitHub and are intended to be run on self-hosted Jupyter Lab.

Usage

The first part (Chapters 1-8) uses the Python language to introduce elementary concepts related to the subject. These notebooks use a Python 3 kernel and can be run using the "fast-forward" icon. Alternatively see the full Python sources in src/chapter-?? and run them using python3 path/to/demo.py.

The second (Chapters 9-15) and third parts (Chapters 16-21) use C++, and are compatible with a recent Xeus C++ kernel (Chapters 18-21 have been coalesced into one file to be used with this kernel). Sources are available and can be run with cd path/to/chapter-??; ../build.sh. A C++20 (or newer) compiler is required, along with the <format> header.

Version

  • 2026-11-17 Version 1.0: Initial upload of first version. Issues will be actioned but be aware that the content of the Jupyter notebooks is auto-generated from non-hosted sources.

  • 2026-11-21 Version 1.1: Many improvements, including to figure/equation/table numbering, quotes and text.

  • 2026-11-23 Version 1.2: Updates to code to allow compilation with Jupyter kernel xcpp23. Improvements to font matching for figures.

License

The text and software is ©2026 Richard Spencer and may be copied under the terms of the Creative Commons license.

Credits

The majority of the text, graphics, code and exercises are sourced from Google AI Studio.

About

Set of Project Jupyter notebooks to teach Computer Science

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages