Giter Site home page Giter Site logo

Comments (4)

hschafer avatar hschafer commented on June 12, 2024

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

from book.

hschafer avatar hschafer commented on June 12, 2024

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).
````

from book.

hschafer avatar hschafer commented on June 12, 2024

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.

from book.

debbieyuster avatar debbieyuster commented on June 12, 2024

@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.

from book.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.