Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Investigate better format for Quiz slides #15

Open
hschafer opened this issue Aug 26, 2021 · 4 comments
Open

Investigate better format for Quiz slides #15

hschafer opened this issue Aug 26, 2021 · 4 comments
Labels
enhancement New feature or request

Comments

@hschafer
Copy link
Collaborator

hschafer commented Aug 26, 2021

I don't completely love that we are just using plain text for question options and telling students to write their own spaces.

The challenge is I don't know how to do more complicated HTML in templating language. Can we figure out something better like:

  • Radio/check boxes for multiple choice and multiple answer
  • Short input box for short answer and numerical
  • Long input box for general

What do we do about solutions? Probably going to be too difficult for a V1, so we will likely omit since that requires more complex logic.

@hschafer
Copy link
Collaborator Author

hschafer commented Aug 27, 2021

Maybe a simpler (but more manually-intensive) task would be to convert all the quiz slides to some sort of Google Form?

@hschafer
Copy link
Collaborator Author

Another possible idea for quiz solutions is to put an expandable box with the answer:

Example:

````{admonition} Output
:class: dropdown

```text
Calling b's fun2
Ending b's fun2
Calling a's fun2
Calling a's fun1
Ending a's fun1
Ending a's fun2
```
Notice that `module_a` 's `fun2` behaves exactly the same as it was defined, even though we defined our own `fun1` and `fun2` in `module_b` (the scopes are different).
````

@hschafer hschafer assigned hschafer and unassigned hschafer Aug 28, 2021
@hschafer hschafer added the enhancement New feature or request label Aug 28, 2021
@hschafer
Copy link
Collaborator Author

Another, much more complex option is to make a custom directive for each question type and have it output HTML with the proper form element. Wouldn't save their answers, but maybe could include some JS logic to check for correct answers.

@debbieyuster
Copy link
Contributor

debbieyuster commented Aug 18, 2022

@hschafer It's not exactly what you're looking for, but WeBWorK problems can be embedded...it's a platform intended primarily for math problems, but there is some Python functionality too. And certainly multiple choice is supported.
Here's an example of embedded Calculus exercises. This book was written with PreTeXt, but the WeBWorK embedding is possible either way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants