Dynamic random coding questions?

15 views
Skip to first unread message

Zane Hutchens

unread,
Oct 8, 2025, 4:05:53 PMOct 8
to PreTeXt support
I've been reading the pretext documentation and found that random questions could be generated for fill in the blank using the <setup> tag, but I haven't been able to find if this is applicable for coding questions. Would anyone happen to know if this is possible?

Thanks!

Andrew Scholer

unread,
Oct 8, 2025, 4:17:34 PMOct 8
to pretext...@googlegroups.com
The closest analog would be to use random values in a unit test for a program. The prompt to the user would not be randomized. But the data the program was tested with could be:



On Wed, Oct 8, 2025 at 1:05 PM Zane Hutchens <zhu...@gmail.com> wrote:
I've been reading the pretext documentation and found that random questions could be generated for fill in the blank using the <setup> tag, but I haven't been able to find if this is applicable for coding questions. Would anyone happen to know if this is possible?

Thanks!

--
You received this message because you are subscribed to the Google Groups "PreTeXt support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pretext-suppo...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/pretext-support/2cd7ab40-14ed-43d3-9dd9-4cbc47a12c78n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages