Chapter 8 | Chapter 16 |
---|---|
What is an evaluation?
The judgement on the value or quantity of something.
|
What is a Clarity?
Clarity is how the code responds and work with the programmer’s intention.
|
What is a common question asked to evaluate your own code?
What does my code do?
Does my code do what it was intended to do? Does my code satisfy the project or assignment goals? Are there any bugs or errors that occur? Is my code complete? |
List the four sections of the script header in EarSketch.
Language, script name, author, and description.
|
What are the difference between objective and subjective assessments?
Objective assessments focuses mainly on facts that could be measured, while subjective assessment focuses more on the human perspective.
|
What is an evaluation in terms of code?
An evaluation is a judgment of the quality or value of a script which allows a programmer to determine if a script runs correctly.
|
What types of assessments are Correctness and Completeness?
Correctness = Objective Assessment
Completeness = Subjective Assessment |
What are common questions to determine a scripts conciseness?
Can parts of my code be written more efficiently?
Did I copy/paste function calls several times in a row? Am I reusing any blocks of code? Are there sound constants or mathematical expressions that I use repeatedly throughout my code? |
What is the difference between Correctness and Completeness?
The difference is that Correctness focus on what the code does; while Completeness is a subjective assessments, and Completeness makes sure all the Correctness works.
|
What are some examples of Clarity?
How long did it take me to fully understand this code?
Would someone else be able to understand what my code does? Are the names of my variables and functions descriptive? Have I used comments to explain each block of code and any potentially confusing lines of code? Have I used computational structures like custom functions and loops to help organize my code? Does the structure of my script mirror the structure of my song? |