[ARCHIVED] Using Formula Questions to Convert Hex to Decimal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hey All,
I'd like to think myself pretty familiar with the new style of Canvas quizzes; however, I want to see if I can further expand my knowledge.
This semester, I am teaching a digital electronics class. Part of the class is understanding number systems, such as base-2 (binary) and base-16 (hex).
My question is hopefully simple to solve; or perhaps a solution does not currently exist:
Can I write a formula question that converts hex to base 10, using variables?
Doing so with binary was straight-forward:
- Set variables `a` through `e` for a 5bit number.
- Set Min/Max to be 0/1 respectively
- Set formula definition: (a*2^4) + (b*2^3)... and so on.
- Generate solutions
With Hex, digits go from 0 to F (which represents 15); not-so-possible with variables that can only have numeric Min/Max values.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I looked into this for you and was unable to find a way to achieve this using New Quizzes.
How do I create a Formula question in New Quizzes?
This would make a great feature request.
How do I create a new idea conversation in the Instructure Community?
This discussion post is outdated and has been archived. Please use the Community question forums and official documentation for the most current and accurate information.