Coursework, code, and activity materials for 2110221 Computer Engineering Essentials, Department of Computer Engineering, Chulalongkorn University (AY2025, Semester 2).
The course is taught through 10 hands-on activities, ranging from how data is represented in a computer to web development and machine learning.
| Folder | Topic | Contents | Status |
|---|---|---|---|
Activity 01 Data Representation |
Data Representation | Base 2/10/16 and UTF-8 conversion in Python, file editing with HexEdit, editing BMP image bits, Mario hacking with FCEUX | Done |
Activity 02 CPU |
Central Processing Unit | CPU activity worksheet | Done |
Activity 03 Operating System |
Operating System | Linux commands (Parts 1–4), OS installation, SSH key | Not done |
Activity 04 Embedded Programming |
Embedded Programming | C++ on Arduino (.ino) |
Not done |
Activity 05 Front-End Development I |
Front-End I | Basic HTML: headings, lists, tables, anchors, images | Not done |
Activity 06 Computer Laws For Computer Engineers |
Computer Law | Links to course video clips (clip_links.txt) |
Done |
Activity 07 Front-End Development II |
Front-End II | HTML/CSS/JavaScript, Pokédex web page (Parts 1–3) | Done |
Activity 08 Back-End Development |
Back-End I | JSON and back-end source code (Act8_Src_Codes) |
Done |
Activity 09 Backend Development 02 |
Back-End II | Node.js backend/ and frontend/, data stored in memory (see the README inside) |
Done |
Activity 10 Machine Learning |
Machine Learning | Jupyter Notebooks (Parts 1–3) | Done |
CP221 Activity 1 / 4 / 6 |
Earlier/alternate versions | Data Representation, Embedded (.ino Parts 1–3), and Front-End 01 materials |
Reference |
CP221 Grouping |
Student grouping tool | Python scripts that randomly split students into groups | Utility |
Folders marked "(not done)" in their names are activities that have not been completed.
| Activity | Tools |
|---|---|
| 01 | Python 3, HexEdit (Windows), FCEUX (NES emulator, Windows) |
| 03 | Linux / SSH (e.g. PuTTY with a .ppk key) |
| 04 | Arduino IDE |
| 05, 07 | Web browser + VS Code |
| 08, 09 | Node.js (see .nvmrc in backend/), npm, VS Code Remote |
| 10 | Jupyter Notebook / Google Colab |
Activity 01 – Base conversion functions
cd "Activity 01 Data Representation"
python3 "221_01_01 Data Representation Functions.py"Activity 09 – Backend and frontend
cd "Activity 09 Backend Development 02/backend"
npm install
npm start
# in a second terminal
cd "../frontend"
npm install
npm startSee Activity 09 Backend Development 02/README.md for details. The exact start command depends on each package.json.
Activity 10 – Notebooks
Open the .ipynb files in Jupyter or VS Code, or upload them to Google Colab.
.docxand.pdffiles are the worksheets and reference documents for each activity.- The
CP221 Groupingscripts work with private student data, which should not be pushed to a public repository. - The
.ppkprivate key in the Activity 03 folder should not be shared. Remove it or add it to.gitignorebefore pushing publicly. - The emulator and ROM used in the Mario Hacking activity belong to their original authors and rights holders, and are included for coursework only.