This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
haas:fall2019:unix:projects:pct0 [2019/08/04 14:05] – [Verification] wedge | haas:fall2019:unix:projects:pct0 [2019/08/15 19:39] (current) – [Submission] wedge | ||
---|---|---|---|
Line 519: | Line 519: | ||
=====Getting started===== | =====Getting started===== | ||
- | In the **pct0/** sub-directory of the UNIX Public Directory, under a directory by the name of your username, you will find the following | + | Your puzzle is the following: |
- | * **pct0.puzzle** | + | < |
+ | EBGKO | ||
+ | | ||
+ | CGVBNK | KREPKCPBVC | ||
+ | -CGVBNK | ||
+ | | ||
+ | | ||
+ | -CEONGCN | ||
+ | | ||
+ | CBVEOGB | ||
+ | | ||
+ | ======= | ||
+ | | ||
+ | -OKCNVNG | ||
+ | | ||
+ | | ||
+ | -KBEKCR | ||
+ | | ||
+ | | ||
- | Copy this file into your local project directory. | + | letters: BCEGKNOPRV |
- | + | </code> | |
- | There is also a **MANIFEST** file in the parent directory (the **pct0/** sub-directory), | + | |
- | For this project, you have to solve, DOCUMENT, AND VERIFY the provided puzzle in order to be eligible for full credit will be the one contained in the **puzzle** file. | + | For this project, you have to solve, DOCUMENT, AND VERIFY the provided puzzle in order to be eligible for full available points. |
=====Process===== | =====Process===== | ||
Line 545: | Line 562: | ||
As indicated, you are to place the determined key to your puzzle in a regular text file called ' | As indicated, you are to place the determined key to your puzzle in a regular text file called ' | ||
- | For example, using the example | + | For example, using the example |
| 0 | R | | | 0 | R | | ||
Line 593: | Line 610: | ||
An example of a verification text is as follows: | An example of a verification text is as follows: | ||
+ | ====Verifying our key==== | ||
+ | The best way to verify the puzzle with our key is to convert the dividend and divisor | ||
+ | * divisor: | ||
+ | * dividend: GLMBRVLR --> 37510270 | ||
+ | |||
+ | And let's do some long division! | ||
+ | |||
+ | < | ||
+ | | ||
+ | 9899 | 37510270 | ||
+ | </ | ||
+ | |||
+ | 9899 goes into 37510 three times: | ||
+ | |||
+ | < | ||
+ | 3 | ||
+ | | ||
+ | 9899 | 37510270 | ||
+ | -29697 | ||
+ | ===== | ||
+ | 78132 | ||
+ | </ | ||
+ | |||
+ | It might be convenient to have a quick factor reference for 9899 handy: | ||
+ | |||
+ | * 9899 * 0 = 0 | ||
+ | * 9899 * 1 = 9899 | ||
+ | * 9899 * 2 = 19798 | ||
+ | * 9899 * 3 = 29697 | ||
+ | * 9899 * 4 = 39596 | ||
+ | * 9899 * 5 = 49495 | ||
+ | * 9899 * 6 = 59394 | ||
+ | * 9899 * 7 = 69293 | ||
+ | * 9899 * 8 = 79192 | ||
+ | * 9899 * 9 = 89091 | ||
+ | |||
+ | 9899 fits into 78132 seven times (69293): | ||
+ | |||
+ | < | ||
+ | 37 | ||
+ | | ||
+ | 9899 | 37510270 | ||
+ | -29697 | ||
+ | ===== | ||
+ | 78132 | ||
+ | | ||
+ | ===== | ||
+ | 88397 | ||
+ | </ | ||
+ | |||
+ | Once again, looking at the list of factors, we see that the best fit for 9899 into 88397 is 79192 (a factor of 8): | ||
+ | |||
+ | < | ||
+ | 378 | ||
+ | | ||
+ | 9899 | 37510270 | ||
+ | -29697 | ||
+ | ===== | ||
+ | 78132 | ||
+ | | ||
+ | ===== | ||
+ | 88397 | ||
+ | -79192 | ||
+ | ===== | ||
+ | 92050 | ||
+ | </ | ||
+ | |||
+ | Finally, a factor of 9 (89091) fits in best: | ||
+ | |||
+ | < | ||
+ | 3789 <-- quotient | ||
+ | | ||
+ | 9899 | 37510270 | ||
+ | -29697 | ||
+ | ===== | ||
+ | 78132 | ||
+ | | ||
+ | ===== | ||
+ | 88397 | ||
+ | -79192 | ||
+ | ===== | ||
+ | 92050 | ||
+ | | ||
+ | ===== | ||
+ | 2959 <-- remainder | ||
+ | </ | ||
+ | |||
+ | Converting our quotient and remainder back to letters: | ||
+ | |||
+ | * quotient: | ||
+ | * remainder: 2959 --> VKMK | ||
+ | |||
+ | And comparing against the problem we were given: | ||
+ | |||
+ | * quotient: | ||
+ | * remainder: VKMK <-> VKMK | ||
+ | |||
+ | Success! | ||
=====Submission===== | =====Submission===== | ||
By successfully performing this project, you should be submitting files that satisfy the following requirements: | By successfully performing this project, you should be submitting files that satisfy the following requirements: | ||
Line 616: | Line 731: | ||
< | < | ||
- | 39:pct0:final tally of results (39/39) | + | 13:pct0:final tally of results (13/0) |
- | *: | + | *: |
- | *: | + | *: |
- | *: | + | *: |
</ | </ | ||
+ | |||
+ | Additional points of consideration: | ||
+ | |||
+ | * if any restrictions are in force and they are ignored in the solving of the problem, up to 50% of credit can be deducted. | ||
+ | * if solution is messy and disorganized, | ||
+ | |||
+ | As a bonus project, there will be no additional bonus applied for 'early submission' |