Program in PythonΒΆ
This is a jupyter book for the course CS1302 Introduction to Computer Programming at City University of Hong Kong. The course aims to introduce key concepts, techniques, and good practices of programming using a high-level programming language Python.
Course Intended Learning Outcomes (CILOs):
Explain the structure of a computer program.
Analyze, test and debug computer programs.
Apply proper programming techniques to solve a task.
Construct well-structured programs.
You may interact with the notebooks using the toolbar at the top of a page:
The last menu allows you to download the page as an interactive a jupyter notebook (
.ipynb) or a PDF (.pdf) to your computer. To run the notebook locally, follow the instructions here to install the jupyter environment.The second menu links to the public github repository hosting the notebooks. If you find any issues, you can report them to the repository.
The first menu allows you to launch the notebook to different jupyter services.
JupyterHubis for registered students. It has persistent storage andnbgradercourse set up for submitting assignments.Binderis accessible by everyone but the resources such as storage are temporary. The server will be culled if it is idle for a while.Colabis for users with google accounts. It has persistent storage but required packages may have to be installed by running!pip install {package}in a code cell.Live Codeis useful if you want to execute code directly in the html page. Required packages may be missing and there is no persistent storage.