This is an archive of my CENG240 course materials, including lab exam questions, answers to those exams, and other relevant resources.
This is NOT an official repository of the CENG240 course given at METU. This is only a personal archive for future references, and made public to contribute to open-source community.
- You can clone this repository to your local machine using the following command if you have Git installed:
git clone https://github.com/jayshozie/ceng240.gitTo clone this repo to your local machine, please create a folder in your home directory (or anywhere you want) and then go into that directory and run that command.
foo@bar:~$ mkdir ceng240
foo@bar:~$ cd ceng240
foo@bar:~/ceng240$ git clone https://github.com/jayshozie/ceng240.gitC:\Users\foo\Desktop> mkdir ceng240
C:\Users\foo\Desktop> cd ceng240
C:\Users\foo\Desktop\ceng240> git clone https://github.com/jayshozie/ceng240.git-
If you don't have Git installed, or you prefer to download the files then you can download the ZIP file from the repository page, clicking the
Downloadbutton, and extract it to your desired location. -
You can download individual files by opening them and then clicking the
Downloadbutton. Please note that each file in this repository is individually licensed under the MIT License, so you can use them freely as long as you use it for personal use. If you want to distribute it you must have the original license and copyright notice. -
You can view the files directly in your browser.
Languages Used: Python
-
Files located in ./lab-questions/ directory are lab exam questions in the Spring 2024 semester. Most of them are from my own lab sessions, rest of them came from my friends who were kind enough to give me the questions after their lab sessions. Unfortunately this is a directory that will not be updated after the semester Spring 2024, since I won't have access to them. If you would like to add a lab question asked in a lab exam, please don't hesitate to open a PR.
-
Files located in ./sample-lab-questions/ are sample lab questions acquired from CengClass while taking the course. Unfortunately this is another directory that will not be updated after the semester Spring 2024, since I won't have access to them. If you would like to add a sample question, please don't hesitate to open a PR.
-
Files located in ./slides/ are lecture slides provided in the course. Again, this is a directory that will not be updated after the Semester Spring 2024, since I won't have access to them. If you would like to add a slide from a more recent semester, please don't hesitate to open a PR.
-
Files located in ./exercises are some Python exercises that I've written and solved. I will try to add as much as I can for the foreseeable future. One sad thing is that, some of those exercises are not actually my own concepts. I saw some of them on some coding exercises, but I cannot pinpoint the origins so I wasn't able to link those sites/authors. If you see an exercise that you've created in that folder please consult the Reaching About Copyright Issues section of this file.
-
YouTube video links provided in supplementary-videos.txt file are owned by their respective authors. They were provided for us because of our educational boycott after the coup to democracy of March 19th. They are technically available to public, since they are uploaded to YouTube and are not private, but unlisted. Thus, anyone with the link to them has legal access to them.
-
Files that are named
testBench.pyare files that I use for testing code in this repository. They are not necessary files. They exist only because it's more convenient for me to have them.
This repository and all files, except the exceptions that are explained in the LICENSE.md file, in it are licensed under the MIT License. You are free to use, modify, and distribute the licensed files in this repository as long as you include the original license and copyright notice. However, please note that the book is copyrighted and cannot be distributed without explicit permission from the authors. So, don't add it into your forks, pull requests, or anywhere else.
- NOT LEGAL ADVICE BUT ONLY AN EASY-TO-UNDERSTAND GUIDE:
- If a file has no other lines before the licensing declaration, then that entire file is licensed by the author of LICENSE.md, and is available as open-source code for all to use with the conditions specified in the LICENSE.md file.
- Some exceptions:
- In some files the licensing declaration explicitly states that the lines after the licensing declaration are licensed. This means that the file itself is NOT licensed, only the lines after that declaration is licensed by the author and available as open-source code with the conditions specified in the LICENSE.md file. Lines before that licensing declaration are NOT licensed by the author, and should not be copied without explicit permission from the authors.
- If a file does NOT include the licensing declaration of the author of LICENSE.md it is NOT licensed by the author. Do NOT copy without explicit permissions from their authors.
Please reach out to me at yildirim.emir@metu.edu.tr if you have any copyright issues or concerns.
If you have any questions, suggestions, or contributions; please feel free to open an issue or pull request. Your feedback is always welcome. I will try to keep this repository up to date with the latest course materials and resources for as long as I can.
- Course Name: CENG240 - Python Programming for Engineering Students
- Course Website: CENG240
- Semester Taken: Spring 2024
- Book: Python Programming for Engineering Students
Please check the ANNOUNCEMENT.md file to learn about what happened.