COMP2113-Cheatsheet
File description: An A4 double-sided cheatsheet for the COMP2113 final exam.
Document status: SRE
Last modified: 2025-11-30 11:58 HKT
Course Code Update (applicable to students admitted 2025/26 and thereafter)
The course ENGG1340 Computer Programming II has been discontinued and is migrated to COMP2113 Programming Technologies. As of today (7 August 2025), the course syllabus has not changed and this cheatsheet is still applicable to those who are taking ENGG1340.
This is a cheatsheet that the author used for the final examination of COMP2113 Programming Technologies (or aliased ENGG1340 Computer Programming II for BEng students) at the University of Hong Kong.
Some of the content in this cheatsheet is based on Jax Tam's version of the cheatsheet (provided here). The author would like to thank Jax for his work and would like to encourage readers to check out his awesome notes on HKU Computer Science courses.
Note that this cheatsheet only contains that the author was not familiar with, and it does not cover all the materials in the course. You are advised to download the source code and modify it to suit your own needs.
Warning
You are responsible for checking the examination regulations in your year of study. This cheatsheet may not comply with the latest examination regulations. The author is not responsible for any consequences should you violate the examination regulations.
Instructions for Printing
The PDF provided takes up the whole A4 page. Therefore, if you print the PDF at 100% scale, some of the contents at the edges will be cut off. Please use the option "Fit to Page" in your system's print dialog to ensure that the whole cheatsheet is printed correctly.
See also
-
COMP2113-Project
The GitHub repository of the group project.
-
MATH1853-Assignment-II.3
Proposed solutions to MATH1853 Part II Assignment 3 (25/26 Semester 1)
-
MATH1853-Assignment-I.2
Proposed solutions to MATH1853 Part I Assignment 2 (25/26 Semester 1)
-
CCGL9042-Question-Bank
The question bank for CCGL9042 in-class quizzes.
-
MATH1853-Assignment-II.1
Proposed solutions to MATH1853 Part II Assignment 1 (25/26 Semester 1)
-
COMP2121_1B-Assignment1
Assignment 1 of COMP2121 (subclass 1B) (25/26 Fall) with solutions.

