I need an algorithm for rounding whole numbers in a quiz. Is that possible to do? For example, the number is 405 and I want the student to round to the nearest hundred.
Actually, there is a helper function in formula which is "round", which should give you what you want. To round to the nearest 100, divide by 100, round and then multiply by 100: 100*round(x/100). Please test to see if it works as you expect, as I haven't used them before (especially for negative numbers, if you're using those).
For a list of helper functions, check Canvas Formula Quiz Question Helper Functions - Instructure Community - 387062.
Used in a formula question, that allows you to give them a number, say 405, and ask them to round them:405/100=4.05round(4.05)=4100*4=400
Classic Quizzes formula questions: How do I create a Formula quiz question with a sin... - Instructure Community - 920 New Quizzes formula question: How do I create a Formula question in New Quizzes? - Instructure Community - 956
If you're using a formula, you can set a precision range with \(\pm\) a given value, but not to round up or down to a value. If it's a numeric response, you can set a range of values. This would likely require a new feature that could be requested. Otherwise, if you want to have different values as in a formula but with very different answers to round to 100, using a question bank (with the numeric question type) and various values might be the solution.
Hey, you could use the floor function in formula question in a new quiz. Assuming that x is your variable name, to round to the nearest 100, you could use: floor("x"/100)*100.
Hope that helps!
a { text-decoration: none; color: #464feb; } tr th, tr td { border: 1px solid #e6e6e6; } tr th { background-color: #f5f5f5; } One of the most impactful features lost when moving from the legacy SpeedGrader to the new SpeedGrader is the preservation of file submission order for assignments that contain multiple uploaded…
The line between "skills" and "competencies" gets blurry fast, and "learning how to learn" means different things depending on who you ask. We're putting together an Educast 3000 podcast episode on all of it, and your questions will shape the conversation. Curious how to teach students to learn independently, what the…
On the new "traditional" rubrics, the scroll bar is only at the bottom. This means on a very large rubric with a lot of ratings, I have to scroll all the way to the bottom to access the scroll bar in order to see all of my ratings and/or if I need to make a comment. This is cumbersome and time consuming. On the original…
When in Speed Grader, under the "Grade by question" option, the Next Student and Previous Student buttons no longer work.
Hi everyone, I’m working through a Sherpath/Evolve LTI 1.3 setup in Canvas and would appreciate some guidance from others who have configured grade passback. Sherpath’s guidance is that the point values need to be adjusted in the Sherpath link opened through the LTI so that the grades pass back to Canvas with the intended…