$30
Assessment 1: Write a loop to increment a variable by 1
(15%)
Students will have to write a loop in JavaScript on an html page that will output the incremented value of a variable by 1 each iteration, up until a pre-determined value limit.
Instructions
Using an HTML file, use the <script block at the top of the page to write a loop that will increment the numeric value of a pre-defined variable by one every iteration, and then stop at a specific point, ending the loop.
Please refer to the rubric at the end of this document for evaluation details.
Requirements
• Loop can be any of the loops covered in class
• Name the variable(s) something meaningful
• Exit the loop on pre-determined value limit (such as 50)
Submission
• Upload to D2L Dropbox folder labeled “Assessment 1: Write a Loop”
Evaluation
This assessment is graded out of 16 points and will be evaluated using the following rubric.
Learners may receive partial scores or a zero for unacceptable work.
Criteria Does Not Meet Expectations
1 Partially Meets Expectations
2 Meets
Expectations
3 Exceeds Expectations
4 Max Points
Quality of Implementation Inadequate comprehension of concepts or theories presented in course materials. Partial comprehension of concepts or theories presented in course materials. Adequate comprehension of concepts or theories presented in course materials. Broad and in-depth comprehension of concepts or theories presented in course materials. 4
Required Components Work is missing/does not address required components indicated in the instructions. Work is missing/does not address some of the required components indicated in the instructions. Work includes all components and meets the requirements indicated in the instructions. Work includes and exceeds the requirements indicated in the instructions. 4
Code Quality Unclear organization. Many grammatical, spelling, or punctuation errors. Some signs of logical organization. A few grammar, spelling, or punctuation errors. Organization supports purpose. Almost no grammatical, spelling, or punctuation errors. Organization fully supports purpose. No grammatical, spelling, or punctuation errors. 4
Functionality Does not function, errors are present. Some noted requirements behave as required, however some do not. All noted requirements behave as required. All noted requirements behave as required, following best practices outlined in class. 4