<section xml:id="worksheet-solution-testing" label="section-worksheet-solutions-testing" xmlns:pi="http://pretextbook.org/2020/pretext/internal">
<title>Worksheet Solution Testing</title>
<introduction>
<p>
Solutions to projects and worksheets can both be selected independently for the auto-generated solutions divisions.
What happens when a worksheet contains a project? Here we explore the various combinations.
</p>
</introduction>
<subsection>
<title>Subsection with only exercise</title>
<exercise>
<statement>
<p>
This is an exercise's statement.
</p>
</statement>
<answer>
<p>
This is an exercise's answer.
</p>
</answer>
<solution>
<p>
This is the exercise's solution.
</p>
</solution>
</exercise>
</subsection>
<subsection>
<title>Subsection with only project</title>
<project>
<statement>
<p>
This is a project's statement.
</p>
</statement>
<answer>
<p>
This is a project's answer.
</p>
</answer>
<solution>
<p>
This is the project's solution.
</p>
</solution>
</project>
</subsection>
<subsection>
<title>Subsection with both exercise and project</title>
<exercise>
<statement>
<p>
This is an exercise's statement.
</p>
</statement>
<answer>
<p>
This is an exercise's answer.
</p>
</answer>
<solution>
<p>
This is the exercise's solution.
</p>
</solution>
</exercise>
<project>
<statement>
<p>
This is a project's statement.
</p>
</statement>
<answer>
<p>
This is a project's answer.
</p>
</answer>
<solution>
<p>
This is the project's solution.
</p>
</solution>
</project>
</subsection>
<worksheet>
<title>Worksheet with only exercise</title>
<exercise>
<statement>
<p>
This is an exercise's statement.
</p>
</statement>
<answer>
<p>
This is an exercise's answer.
</p>
</answer>
<solution>
<p>
This is the exercise's solution.
</p>
</solution>
</exercise>
</worksheet>
<worksheet>
<title>Worksheet with only project</title>
<project>
<statement>
<p>
This is a project's statement.
</p>
</statement>
<answer>
<p>
This is a project's answer.
</p>
</answer>
<solution>
<p>
This is the project's solution.
</p>
</solution>
</project>
</worksheet>
<worksheet>
<title>Worksheet with both exercise and project</title>
<exercise>
<statement>
<p>
This is an exercise's statement.
</p>
</statement>
<answer>
<p>
This is an exercise's answer.
</p>
</answer>
<solution>
<p>
This is the exercise's solution.
</p>
</solution>
</exercise>
<project>
<statement>
<p>
This is a project's statement.
</p>
</statement>
<answer>
<p>
This is a project's answer.
</p>
</answer>
<solution>
<p>
This is the project's solution.
</p>
</solution>
</project>
</worksheet>
<solutions inline="answer">
<title>Inline answers only</title>
</solutions>
<solutions project="answer">
<title>Project answers only</title>
</solutions>
<solutions worksheet="answer">
<title>Worksheet answers only</title>
</solutions>
<solutions inline="answer" project="statement">
<title>Inline answers, project statement</title>
</solutions>
<solutions inline="answer" worksheet="statement">
<title>Inline answers, worksheet statement</title>
</solutions>
<solutions project="answer" worksheet="statement">
<title>Project answers, worksheet statement</title>
</solutions>
<solutions inline="answer" project="statement" worksheet="solution">
<title>Inline answers, project statement, worksheet solution</title>
</solutions>
</section>
Print preview
Section 40 Worksheet Solution Testing
View Source for section
Solutions to projects and worksheets can both be selected independently for the auto-generated solutions divisions. What happens when a worksheet contains a project? Here we explore the various combinations.
Subsection 40.1 Subsection with only exercise
View Source for subsection
<subsection xmlns:pi="http://pretextbook.org/2020/pretext/internal">
<title>Subsection with only exercise</title>
<exercise>
<statement>
<p>
This is an exercise's statement.
</p>
</statement>
<answer>
<p>
This is an exercise's answer.
</p>
</answer>
<solution>
<p>
This is the exercise's solution.
</p>
</solution>
</exercise>
</subsection>
Checkpoint 40.1.
View Source for exercise
<exercise xmlns:pi="http://pretextbook.org/2020/pretext/internal">
<statement>
<p>
This is an exercise's statement.
</p>
</statement>
<answer>
<p>
This is an exercise's answer.
</p>
</answer>
<solution>
<p>
This is the exercise's solution.
</p>
</solution>
</exercise>
This is an exercise’s statement.
Answer.
View Source for answer
<answer xmlns:pi="http://pretextbook.org/2020/pretext/internal">
<p>
This is an exercise's answer.
</p>
</answer>
This is an exercise’s answer.
Solution.
View Source for solution
<solution xmlns:pi="http://pretextbook.org/2020/pretext/internal">
<p>
This is the exercise's solution.
</p>
</solution>
This is the exercise’s solution.
Subsection 40.2 Subsection with only project
View Source for subsection
<subsection xmlns:pi="http://pretextbook.org/2020/pretext/internal">
<title>Subsection with only project</title>
<project>
<statement>
<p>
This is a project's statement.
</p>
</statement>
<answer>
<p>
This is a project's answer.
</p>
</answer>
<solution>
<p>
This is the project's solution.
</p>
</solution>
</project>
</subsection>
Project 40.1.
View Source for project
<project xmlns:pi="http://pretextbook.org/2020/pretext/internal">
<statement>
<p>
This is a project's statement.
</p>
</statement>
<answer>
<p>
This is a project's answer.
</p>
</answer>
<solution>
<p>
This is the project's solution.
</p>
</solution>
</project>
This is a project’s statement.
Answer.
View Source for answer
<answer xmlns:pi="http://pretextbook.org/2020/pretext/internal">
<p>
This is a project's answer.
</p>
</answer>
This is a project’s answer.
Solution.
View Source for solution
<solution xmlns:pi="http://pretextbook.org/2020/pretext/internal">
<p>
This is the project's solution.
</p>
</solution>
This is the project’s solution.
Subsection 40.3 Subsection with both exercise and project
View Source for subsection
<subsection xmlns:pi="http://pretextbook.org/2020/pretext/internal">
<title>Subsection with both exercise and project</title>
<exercise>
<statement>
<p>
This is an exercise's statement.
</p>
</statement>
<answer>
<p>
This is an exercise's answer.
</p>
</answer>
<solution>
<p>
This is the exercise's solution.
</p>
</solution>
</exercise>
<project>
<statement>
<p>
This is a project's statement.
</p>
</statement>
<answer>
<p>
This is a project's answer.
</p>
</answer>
<solution>
<p>
This is the project's solution.
</p>
</solution>
</project>
</subsection>
Checkpoint 40.2.
View Source for exercise
<exercise xmlns:pi="http://pretextbook.org/2020/pretext/internal">
<statement>
<p>
This is an exercise's statement.
</p>
</statement>
<answer>
<p>
This is an exercise's answer.
</p>
</answer>
<solution>
<p>
This is the exercise's solution.
</p>
</solution>
</exercise>
This is an exercise’s statement.
Answer.
View Source for answer
<answer xmlns:pi="http://pretextbook.org/2020/pretext/internal">
<p>
This is an exercise's answer.
</p>
</answer>
This is an exercise’s answer.
Solution.
View Source for solution
<solution xmlns:pi="http://pretextbook.org/2020/pretext/internal">
<p>
This is the exercise's solution.
</p>
</solution>
This is the exercise’s solution.
Project 40.2.
View Source for project
<project xmlns:pi="http://pretextbook.org/2020/pretext/internal">
<statement>
<p>
This is a project's statement.
</p>
</statement>
<answer>
<p>
This is a project's answer.
</p>
</answer>
<solution>
<p>
This is the project's solution.
</p>
</solution>
</project>
This is a project’s statement.
Answer.
View Source for answer
<answer xmlns:pi="http://pretextbook.org/2020/pretext/internal">
<p>
This is a project's answer.
</p>
</answer>
This is a project’s answer.
Solution.
View Source for solution
<solution xmlns:pi="http://pretextbook.org/2020/pretext/internal">
<p>
This is the project's solution.
</p>
</solution>
This is the project’s solution.
Worksheet 40.4 Worksheet with only exercise
View Source for worksheet
<worksheet xmlns:pi="http://pretextbook.org/2020/pretext/internal">
<title>Worksheet with only exercise</title>
<exercise>
<statement>
<p>
This is an exercise's statement.
</p>
</statement>
<answer>
<p>
This is an exercise's answer.
</p>
</answer>
<solution>
<p>
This is the exercise's solution.
</p>
</solution>
</exercise>
</worksheet>
1.
View Source for exercise
<exercise xmlns:pi="http://pretextbook.org/2020/pretext/internal">
<statement>
<p>
This is an exercise's statement.
</p>
</statement>
<answer>
<p>
This is an exercise's answer.
</p>
</answer>
<solution>
<p>
This is the exercise's solution.
</p>
</solution>
</exercise>
This is an exercise’s statement.
Answer.
View Source for answer
<answer xmlns:pi="http://pretextbook.org/2020/pretext/internal">
<p>
This is an exercise's answer.
</p>
</answer>
This is an exercise’s answer.
Solution.
View Source for solution
<solution xmlns:pi="http://pretextbook.org/2020/pretext/internal">
<p>
This is the exercise's solution.
</p>
</solution>
This is the exercise’s solution.
Worksheet 40.5 Worksheet with only project
View Source for worksheet
<worksheet xmlns:pi="http://pretextbook.org/2020/pretext/internal">
<title>Worksheet with only project</title>
<project>
<statement>
<p>
This is a project's statement.
</p>
</statement>
<answer>
<p>
This is a project's answer.
</p>
</answer>
<solution>
<p>
This is the project's solution.
</p>
</solution>
</project>
</worksheet>
Project 40.3.
View Source for project
<project xmlns:pi="http://pretextbook.org/2020/pretext/internal">
<statement>
<p>
This is a project's statement.
</p>
</statement>
<answer>
<p>
This is a project's answer.
</p>
</answer>
<solution>
<p>
This is the project's solution.
</p>
</solution>
</project>
This is a project’s statement.
Answer.
View Source for answer
<answer xmlns:pi="http://pretextbook.org/2020/pretext/internal">
<p>
This is a project's answer.
</p>
</answer>
This is a project’s answer.
Solution.
View Source for solution
<solution xmlns:pi="http://pretextbook.org/2020/pretext/internal">
<p>
This is the project's solution.
</p>
</solution>
This is the project’s solution.
Worksheet 40.6 Worksheet with both exercise and project
View Source for worksheet
<worksheet xmlns:pi="http://pretextbook.org/2020/pretext/internal">
<title>Worksheet with both exercise and project</title>
<exercise>
<statement>
<p>
This is an exercise's statement.
</p>
</statement>
<answer>
<p>
This is an exercise's answer.
</p>
</answer>
<solution>
<p>
This is the exercise's solution.
</p>
</solution>
</exercise>
<project>
<statement>
<p>
This is a project's statement.
</p>
</statement>
<answer>
<p>
This is a project's answer.
</p>
</answer>
<solution>
<p>
This is the project's solution.
</p>
</solution>
</project>
</worksheet>
1.
View Source for exercise
<exercise xmlns:pi="http://pretextbook.org/2020/pretext/internal">
<statement>
<p>
This is an exercise's statement.
</p>
</statement>
<answer>
<p>
This is an exercise's answer.
</p>
</answer>
<solution>
<p>
This is the exercise's solution.
</p>
</solution>
</exercise>
This is an exercise’s statement.
Answer.
View Source for answer
<answer xmlns:pi="http://pretextbook.org/2020/pretext/internal">
<p>
This is an exercise's answer.
</p>
</answer>
This is an exercise’s answer.
Solution.
View Source for solution
<solution xmlns:pi="http://pretextbook.org/2020/pretext/internal">
<p>
This is the exercise's solution.
</p>
</solution>
This is the exercise’s solution.
Project 40.4.
View Source for project
<project xmlns:pi="http://pretextbook.org/2020/pretext/internal">
<statement>
<p>
This is a project's statement.
</p>
</statement>
<answer>
<p>
This is a project's answer.
</p>
</answer>
<solution>
<p>
This is the project's solution.
</p>
</solution>
</project>
This is a project’s statement.
Answer.
View Source for answer
<answer xmlns:pi="http://pretextbook.org/2020/pretext/internal">
<p>
This is a project's answer.
</p>
</answer>
This is a project’s answer.
Solution.
View Source for solution
<solution xmlns:pi="http://pretextbook.org/2020/pretext/internal">
<p>
This is the project's solution.
</p>
</solution>
This is the project’s solution.
Solutions 40.7 Inline answers only
View Source for solutions
<solutions inline="answer" xmlns:pi="http://pretextbook.org/2020/pretext/internal">
<title>Inline answers only</title>
</solutions>
40.1 Subsection with only exercise
Checkpoint 40.1.
Answer.
View Source for answer
<answer xmlns:pi="http://pretextbook.org/2020/pretext/internal">
<p>
This is an exercise's answer.
</p>
</answer>
This is an exercise’s answer.
40.3 Subsection with both exercise and project
Checkpoint 40.2.
Answer.
View Source for answer
<answer xmlns:pi="http://pretextbook.org/2020/pretext/internal">
<p>
This is an exercise's answer.
</p>
</answer>
This is an exercise’s answer.
Solutions 40.8 Project answers only
View Source for solutions
<solutions project="answer" xmlns:pi="http://pretextbook.org/2020/pretext/internal">
<title>Project answers only</title>
</solutions>
40.2 Subsection with only project
Project 40.1.
Answer.
View Source for answer
<answer xmlns:pi="http://pretextbook.org/2020/pretext/internal">
<p>
This is a project's answer.
</p>
</answer>
This is a project’s answer.
40.3 Subsection with both exercise and project
Project 40.2.
Answer.
View Source for answer
<answer xmlns:pi="http://pretextbook.org/2020/pretext/internal">
<p>
This is a project's answer.
</p>
</answer>
This is a project’s answer.
40.5 Worksheet with only project
Project 40.3.
Answer.
View Source for answer
<answer xmlns:pi="http://pretextbook.org/2020/pretext/internal">
<p>
This is a project's answer.
</p>
</answer>
This is a project’s answer.
40.6 Worksheet with both exercise and project
Project 40.4.
Answer.
View Source for answer
<answer xmlns:pi="http://pretextbook.org/2020/pretext/internal">
<p>
This is a project's answer.
</p>
</answer>
This is a project’s answer.
Solutions 40.9 Worksheet answers only
View Source for solutions
<solutions worksheet="answer" xmlns:pi="http://pretextbook.org/2020/pretext/internal">
<title>Worksheet answers only</title>
</solutions>
40.4 Worksheet with only exercise
40.4.1.
Answer.
View Source for answer
<answer xmlns:pi="http://pretextbook.org/2020/pretext/internal">
<p>
This is an exercise's answer.
</p>
</answer>
This is an exercise’s answer.
40.6 Worksheet with both exercise and project
40.6.1.
Answer.
View Source for answer
<answer xmlns:pi="http://pretextbook.org/2020/pretext/internal">
<p>
This is an exercise's answer.
</p>
</answer>
This is an exercise’s answer.
Solutions 40.10 Inline answers, project statement
View Source for solutions
<solutions inline="answer" project="statement" xmlns:pi="http://pretextbook.org/2020/pretext/internal">
<title>Inline answers, project statement</title>
</solutions>
40.1 Subsection with only exercise
Checkpoint 40.1.
Answer.
View Source for answer
<answer xmlns:pi="http://pretextbook.org/2020/pretext/internal">
<p>
This is an exercise's answer.
</p>
</answer>
This is an exercise’s answer.
40.2 Subsection with only project
Project 40.1.
This is a project’s statement.
40.3 Subsection with both exercise and project
Checkpoint 40.2.
Answer.
View Source for answer
<answer xmlns:pi="http://pretextbook.org/2020/pretext/internal">
<p>
This is an exercise's answer.
</p>
</answer>
This is an exercise’s answer.
Project 40.2.
This is a project’s statement.
40.5 Worksheet with only project
Project 40.3.
This is a project’s statement.
40.6 Worksheet with both exercise and project
Project 40.4.
This is a project’s statement.
Solutions 40.11 Inline answers, worksheet statement
View Source for solutions
<solutions inline="answer" worksheet="statement" xmlns:pi="http://pretextbook.org/2020/pretext/internal">
<title>Inline answers, worksheet statement</title>
</solutions>
40.1 Subsection with only exercise
Checkpoint 40.1.
Answer.
View Source for answer
<answer xmlns:pi="http://pretextbook.org/2020/pretext/internal">
<p>
This is an exercise's answer.
</p>
</answer>
This is an exercise’s answer.
40.3 Subsection with both exercise and project
Checkpoint 40.2.
Answer.
View Source for answer
<answer xmlns:pi="http://pretextbook.org/2020/pretext/internal">
<p>
This is an exercise's answer.
</p>
</answer>
This is an exercise’s answer.
40.4 Worksheet with only exercise
40.4.1.
This is an exercise’s statement.
40.6 Worksheet with both exercise and project
40.6.1.
This is an exercise’s statement.
Solutions 40.12 Project answers, worksheet statement
View Source for solutions
<solutions project="answer" worksheet="statement" xmlns:pi="http://pretextbook.org/2020/pretext/internal">
<title>Project answers, worksheet statement</title>
</solutions>
40.2 Subsection with only project
Project 40.1.
Answer.
View Source for answer
<answer xmlns:pi="http://pretextbook.org/2020/pretext/internal">
<p>
This is a project's answer.
</p>
</answer>
This is a project’s answer.
40.3 Subsection with both exercise and project
Project 40.2.
Answer.
View Source for answer
<answer xmlns:pi="http://pretextbook.org/2020/pretext/internal">
<p>
This is a project's answer.
</p>
</answer>
This is a project’s answer.
40.4 Worksheet with only exercise
40.4.1.
This is an exercise’s statement.
40.5 Worksheet with only project
Project 40.3.
Answer.
View Source for answer
<answer xmlns:pi="http://pretextbook.org/2020/pretext/internal">
<p>
This is a project's answer.
</p>
</answer>
This is a project’s answer.
40.6 Worksheet with both exercise and project
40.6.1.
This is an exercise’s statement.
Project 40.4.
Answer.
View Source for answer
<answer xmlns:pi="http://pretextbook.org/2020/pretext/internal">
<p>
This is a project's answer.
</p>
</answer>
This is a project’s answer.
Solutions 40.13 Inline answers, project statement, worksheet solution
View Source for solutions
<solutions inline="answer" project="statement" worksheet="solution" xmlns:pi="http://pretextbook.org/2020/pretext/internal">
<title>Inline answers, project statement, worksheet solution</title>
</solutions>
40.1 Subsection with only exercise
Checkpoint 40.1.
Answer.
View Source for answer
<answer xmlns:pi="http://pretextbook.org/2020/pretext/internal">
<p>
This is an exercise's answer.
</p>
</answer>
This is an exercise’s answer.
40.2 Subsection with only project
Project 40.1.
This is a project’s statement.
40.3 Subsection with both exercise and project
Checkpoint 40.2.
Answer.
View Source for answer
<answer xmlns:pi="http://pretextbook.org/2020/pretext/internal">
<p>
This is an exercise's answer.
</p>
</answer>
This is an exercise’s answer.
Project 40.2.
This is a project’s statement.
40.4 Worksheet with only exercise
40.4.1.
Solution.
View Source for solution
<solution xmlns:pi="http://pretextbook.org/2020/pretext/internal">
<p>
This is the exercise's solution.
</p>
</solution>
This is the exercise’s solution.
40.5 Worksheet with only project
Project 40.3.
This is a project’s statement.
40.6 Worksheet with both exercise and project
40.6.1.
Solution.
View Source for solution
<solution xmlns:pi="http://pretextbook.org/2020/pretext/internal">
<p>
This is the exercise's solution.
</p>
</solution>
This is the exercise’s solution.
Project 40.4.
This is a project’s statement.

