Priya sends a short routine over the relay. It averages a whole row of readings, and it already works.
Comet copies it straight into Beacon's pseudocode. "Done! That saved us an hour."
Wren looks over his shoulder. "Whose code is this, though? Beacon's notes make it look like you wrote it."
"I just borrowed it," Comet says. "Priya won't mind."
Nova floats down between them. "Interesting," she says. "Borrowing is fine. Hiding where it came from is not."
Comet picks up a pencil. "So how do I give Priya the credit?"
It is important to acknowledge any code segments that were developed with others or by another source.
The acknowledgement should include where the code came from or the name of the original author.
Material created on a computer is the intellectual property of the person or organization that created it.
Using material someone else created, without permission, and presenting it as your own is plagiarism. It may have legal consequences.
Material created by someone other than you should always be cited.
| Situation | A good acknowledgement in Beacon's notes |
|---|---|
| Priya wrote the row-average routine. | Row-average routine written by Priya, mission control. |
| Wren and you wrote the alert check together. | Alert check written by Wren and the developer, together. |
| Tomas drew the growth chart idea in his notebook. | Growth chart idea from Tomas, greenhouse botanist. |
| Week review | True or false? |
|---|---|
| An algorithm is a finite set of instructions that accomplish a specific task. | ? |
| A variable keeps the first value ever assigned to it. | ? |
| In our pseudocode, the assignment arrow is read aloud as gets. | ? |
| Parentheses can change the value of an expression. | ? |
| Code written by someone else never needs to be cited. | ? |
What a week, developer. Tomorrow's Mission Quest turns your family into a human computer.