Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
fp:homework01 [2022/03/16 12:31] pdmatei |
fp:homework01 [2023/03/22 08:44] (current) pdmatei |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== H01. Functional Sets ====== | + | ====== Homework 1. Sets as functions ====== |
===== Problem statement ===== | ===== Problem statement ===== | ||
Line 98: | Line 98: | ||
===== Submission rules ===== | ===== Submission rules ===== | ||
+ | |||
+ | ==== Project format ==== | ||
* **You should not change any other files of the project, except for the //template-file//**. For this homework, the //template-file// is ''FSets.scala''. **Warning:** if a submission has changes in other files, it **may not be graded**. | * **You should not change any other files of the project, except for the //template-file//**. For this homework, the //template-file// is ''FSets.scala''. **Warning:** if a submission has changes in other files, it **may not be graded**. | ||
- | * **All homework must be submitted via moodle. Submissions sent via email will not be graded!**. | + | * To solve your homework, download the {{:fp:h1-fsets.zip| Homework project}} and **rename** it using the following convention: ''HX_<LastName>_<FirstName>'', where X is the homework number. (Example: ''H1_Popovici_Matei''). If your project name disregards this convention, it **may not be graded**. |
- | * **All homework must be submitted before the deadline**. Submissions that miss the deadline (even by minutes) will not be graded. (All deadlines will be fixed at 8:00 AM, so that you can take advantage of an all-nighter, should you choose to). | + | |
- | * To solve your homework, download the homework project and **rename it using the following convention: ''HX_<LastName>_<FirstName>'', where X is the homework number. (Example: ''H1_Popovici_Matei''). If your project does not adhere to this convention, it **may not be graded**. | + | |
* Each project file contains a ''profileID'' definition which you must fill out with your token ID received via email for this lecture. Make sure the token id is defined correctly. (Grades will be automatically assigned by token ID). | * Each project file contains a ''profileID'' definition which you must fill out with your token ID received via email for this lecture. Make sure the token id is defined correctly. (Grades will be automatically assigned by token ID). | ||
- | * Each homework uses public test-cases which you can use to guide and test your implementation. Most test-cases are simple, in order to be as easy to use as possible. **If an implementation is written with the sole purpose of passing those specific tests, thus disregarding the statement, the entire homework will not be graded!** | ||
* In order to be graded, **the homework must compile**. If a homework has **compilation errors** (does not compile), it **will not be graded**. Please take care to remove code that does not compile by replacing (or keeping) function bodies implemented with ''???''. | * In order to be graded, **the homework must compile**. If a homework has **compilation errors** (does not compile), it **will not be graded**. Please take care to remove code that does not compile by replacing (or keeping) function bodies implemented with ''???''. | ||
+ | |||
+ | ==== Submission ==== | ||
+ | * Your submission should be an **archived file** with your solved project, named via the convention specified previously. | ||
+ | * **All homework must be submitted via moodle. Submissions sent via email will not be graded!**. | ||
+ | * **All homework must be submitted before the deadline**. Submissions that miss the deadline (even by minutes) will not be graded. (All deadlines will be fixed at 8:00 AM, so that you can take advantage of an all-nighter, should you choose to). | ||
+ | |||
+ | ==== Points ==== | ||
* Points are assigned for each test (for a total of 100p), but the final grade will be assigned **after manual review**. Selectively, a homework **may be required to be presented** during lab for the final grade. | * Points are assigned for each test (for a total of 100p), but the final grade will be assigned **after manual review**. Selectively, a homework **may be required to be presented** during lab for the final grade. | ||
+ | |||
+ | ==== Integrity ==== | ||
+ | * Each homework uses public test-cases which you can use to guide and test your implementation. Most test-cases are simple, in order to be as easy to use as possible. **If an implementation is written with the sole purpose of passing those specific tests, thus disregarding the statement, the entire homework will not be graded!** | ||
* The homework must be solved **individually** - you are not allowed to share or to take code from other sources including the Internet. | * The homework must be solved **individually** - you are not allowed to share or to take code from other sources including the Internet. | ||
- | * We strongly encourage you to **ask questions** via the forum (instead of MS Teams) so that other students can benefit from the answers and discussion. You may ask questions about the homework during lab. You will receive feedback about your implementation ideas, but not on the actual written code. | + | |
+ | We strongly encourage you to **ask questions** via the forum (instead of MS Teams) so that other students can benefit from the answers and discussion. You may ask questions about the homework during lab. You will receive feedback about your implementation ideas, but not on the actual written code. | ||