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!
Hi, we have noticed some changes in the way Canva docs or files are able to be embedded live. Canva is integrated via LTI 1.3 in our Canvas Has Canvas recently changed how it handles unauthenticated external iframe embeds, specifically for tools like Canva? Are public Canva embed iframes (canva.com/design/.../view?embed)…
HTML lists have a sensible default, where the list numbering or bullet style changes as you indent. This is a crucial visual cue to help you understand which level of indention a list item belongs to. For example, an ordered list typically uses numbers for the first level, letters for the second level, etc. Not only is…
A colleague asked me how to reuse the questions from the 14 quizzes he has already created as a large question pool to draw questions from for a cumulative exam. Each of the 14 quizzes has multiple question groups, and none of them was linked to a question bank at the time of creation. The best thing I could find is the…
Summary:The Learning Mastery Gradebook allows drag-and-drop reordering of outcome columns, and this triggers a call to /api/v1/courses/:course_id/assign_outcome_order. The API returns 204 No Content (success), but the column order does not persist after page refresh. Steps to Reproduce: Open Learning Mastery Gradebook for…
Hi all, Quick question about the Gradebook color status for a 2-part checkpoint discussion. If a student completes the first due date (initial post) but does not complete the required replies by the second due date, is there any way for Canvas to automatically show a color (e.g., missing/late) instead of staying as…