Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Consider the scenario where you work as a Software Developer for Canvas and your coworker just created a new library for evaluating students named Grader108

Consider the scenario where you work as a Software Developer for Canvas and your coworker just created a new library for evaluating students named Grader108 but needs your help with documenting it. She emails you quick descriptions of three of the functions in the library. For this part of the assignment, pick two (2) of these descriptions and expand them into full documentation using the style established for our course (you do not have to do all three functions). Be sure to give the What, How, and Why. Here are the function descriptions:

  • load_student: This function takes the name of a student and their unique ID number, and then returns the latest submission they made on BlockPy as a string. It needs an internet connection and if the student doesn't have a submission, it just returns an empty string. We need this for running their code and making sure that it actually works.
  • assign_grade: This function uses the unique student ID number and a grade (we allow decimals between 0 and 1) to update the grade on the server. It returns a boolean that tells you whether it worked - I think it returns False if it DOES work, and True if it does NOT work (because the caller usually wants to know if it needs to try the function again).
  • average_grade: The function doesn't consume anything, you can just call it and it will look up the current average grade for all the students (which will be a decimal between 0 and 1). We usually use it to determine if the class is doing well overall.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Linked Data A Geographic Perspective

Authors: Glen Hart, Catherine Dolbear

1st Edition

1000218910, 9781000218916

More Books

Students also viewed these Databases questions

Question

What effects have social media had on CSR?

Answered: 1 week ago