Parsons with choice logic

7 views
Skip to first unread message

Sean Fitzpatrick

unread,
Dec 2, 2025, 5:29:31 PM (2 days ago) Dec 2
to PreTeXt support
I somewhat recall that there is a way to make a "choose your own adventure" version of a Parsons problem.

In the Sample Book, I see most of the problems have an "Or" block, and looking at the source suggests that I can structure a block with 'choice' elements. But I don't see documentation for this in the guide:


What I was interested in doing is a Parson's problem where there are two ways of solving a problem. An example might be integration by parts of a function like exp(3x)sin(4x). It doesn't matter if you initially choose u=exp(3x) or u=sin(4x), but once that choice is made, it determines what you do next.

Can a structure a Parson's problem so that there are two possible choices for each step, but the correct choice depends on what the previous steps were?

Andrew Scholer

unread,
Dec 2, 2025, 6:46:06 PM (2 days ago) Dec 2
to pretext...@googlegroups.com
Nope.

You can have choices for a given block where only one choice is correct. And you can have partial ordering on the blocks. But you can't mix the two ideas to create something like what you describe.

--
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/946218b7-beff-4deb-b675-da3f658c4605n%40googlegroups.com.

Sean Fitzpatrick

unread,
Dec 2, 2025, 6:50:41 PM (2 days ago) Dec 2
to pretext...@googlegroups.com
Dang. But not surprising. 

What is the advantage of using "choice" versus just adding distractors? Just to give hints? 

Andrew Scholer

unread,
Dec 2, 2025, 7:02:44 PM (2 days ago) Dec 2
to pretext...@googlegroups.com
I use them as less distracting distractors. I might want a student to think carefully about which loop logic to use, but also make it clear that only one of the options should get used. Especially if there are multiple blocks with choices, the number of possible permutations can get pretty intimidating and obscure the big picture logic I want the students to follow.

Reply all
Reply to author
Forward
0 new messages