Difference between revisions of "Problem Techniques"

From WeBWorK_wiki
Jump to navigation Jump to search
 
(23 intermediate revisions by 8 users not shown)
Line 1: Line 1:
  +
{{historical}}
  +
  +
<p style="font-size: 120%;font-weight:bold">[https://openwebwork.github.io/pg-docs/sample-problems/techniques.html These are now the current problem techniques]. The ones listed on this page, although still work in PG, use out of date techniques.</p>
  +
 
<div style="background-color:#ffcccc; border:blue solid 2px; padding:5px; width:35%; float:right; margin:5px">''Any additions to the indexed snippets below should use the same format. A suggested model is provided in this [[SnippetTemplate|snippet template]].''</div>
 
<div style="background-color:#ffcccc; border:blue solid 2px; padding:5px; width:35%; float:right; margin:5px">''Any additions to the indexed snippets below should use the same format. A suggested model is provided in this [[SnippetTemplate|snippet template]].''</div>
   
Line 6: Line 10:
 
<ul>
 
<ul>
 
<li>[http://webwork.maa.org/wiki/Category:MathObjects MathObjects documentation] Written by Davide Cervone</li>
 
<li>[http://webwork.maa.org/wiki/Category:MathObjects MathObjects documentation] Written by Davide Cervone</li>
<li>[http://webwork.maa.org/pod/pg_TRUNK/ POD documentation] (POD - Plain Old Documentation)</li>
+
<li>[http://webwork.maa.org/pod/pg/ POD documentation] (POD - Plain Old Documentation)</li>
 
<li>[http://webwork.maa.org/viewvc/system/trunk/pg/macros/ PG macro files] Source code for pg/macros files.</li>
 
<li>[http://webwork.maa.org/viewvc/system/trunk/pg/macros/ PG macro files] Source code for pg/macros files.</li>
 
<li>[http://webwork.maa.org/viewvc/system/trunk/pg/lib/ PG library files] Source code for pg/lib files.</li>
 
<li>[http://webwork.maa.org/viewvc/system/trunk/pg/lib/ PG library files] Source code for pg/lib files.</li>
Line 34: Line 38:
 
* [[GeoGebraApplets|Applet Example: GeoGebra]]
 
* [[GeoGebraApplets|Applet Example: GeoGebra]]
 
* [[Sage_Embedding|Applet Example: Embedding Sage]]
 
* [[Sage_Embedding|Applet Example: Embedding Sage]]
  +
* [[DraggableProofs|Applet Example: Draggable Statements]]
 
* [[DynamicImages2|Arrows in Dynamic Graphs]]
 
* [[DynamicImages2|Arrows in Dynamic Graphs]]
 
  +
* [[AskSage | AskSage subroutine for using Sage ]]
 
[[#top|top of page]]
 
[[#top|top of page]]
   
Line 42: Line 47:
 
* [[CommentsForInstructors|Comments (for Instructors) Visible in the Problem Library]]
 
* [[CommentsForInstructors|Comments (for Instructors) Visible in the Problem Library]]
 
* [[ComposingFunctions|Composition of Functions as Correct Answer]]
 
* [[ComposingFunctions|Composition of Functions as Correct Answer]]
* [[CompoundProblems|Compound (Multi-part, sequential) Problems]]
+
* [[CompoundProblems|Compound (Multi-part, sequential) Problems]] (<em>see also</em> [[Scaffold]])
 
* [[ConstantsInProblems|Constants in Problems]]
 
* [[ConstantsInProblems|Constants in Problems]]
 
* [[FormulasToConstants|Constant Differences (Additive) Between Student and Correct Answers]]
 
* [[FormulasToConstants|Constant Differences (Additive) Between Student and Correct Answers]]
Line 48: Line 53:
 
* [[CustomAnswerCheckers|Custom Answer Checkers]]
 
* [[CustomAnswerCheckers|Custom Answer Checkers]]
 
* [[ErrorMessageCustomization|Custom Error Messages]]
 
* [[ErrorMessageCustomization|Custom Error Messages]]
  +
* [[DraggableProofs|Draggable Statements]]
 
* [[DifferenceQuotients|Difference Quotients as Correct Answers]]
 
* [[DifferenceQuotients|Difference Quotients as Correct Answers]]
 
* [[DifferentiatingFormulas|Differentiating Formulas]]
 
* [[DifferentiatingFormulas|Differentiating Formulas]]
  +
* [[DigitsTolType|Digits TolType]]
 
* [[DisableFunctions|Disabling Functions and Operators in Student Answers]]
 
* [[DisableFunctions|Disabling Functions and Operators in Student Answers]]
 
* [[FormulaTestPoints|Domain of Function Evaluation]]
 
* [[FormulaTestPoints|Domain of Function Evaluation]]
  +
*[[FormalRubrics|Formal rubrics and advanced answer checking]]
   
 
[[#top|top of page]]
 
[[#top|top of page]]
Line 64: Line 72:
 
* [[ExtractingCoordinatesFromPoint|Finding the norm of a Vector]]
 
* [[ExtractingCoordinatesFromPoint|Finding the norm of a Vector]]
 
* [[FactoringAndExpanding|Factoring and Expanding Polynomials]]
 
* [[FactoringAndExpanding|Factoring and Expanding Polynomials]]
* [[FlashApplets|Flash Applets]]
+
* [[FlashApplets|Flash Applets]] (Deprecated. Browsers have stopped supporting Flash.)
* [[FlashPointAndGraph|Flash Applet Point and Graph Example]]
+
* [[FlashPointAndGraph|Flash Applet Point and Graph Example]] (Deprecated. Browsers have stopped supporting Flash.)
 
* [[FormattingCorrectAnswers: Equations |Formatting Correct Answers: Equations]]
 
* [[FormattingCorrectAnswers: Equations |Formatting Correct Answers: Equations]]
 
* [[FormattingCorrectAnswers: NumbersAndFormulas |Formatting Correct Answers: Numbers and Formulas]]
 
* [[FormattingCorrectAnswers: NumbersAndFormulas |Formatting Correct Answers: Numbers and Formulas]]
Line 89: Line 97:
 
* [[GraphsInTables|Graphic Images, Put Into Tables]]
 
* [[GraphsInTables|Graphic Images, Put Into Tables]]
 
* [[StaticImages|Graphic Images, Static]]
 
* [[StaticImages|Graphic Images, Static]]
  +
* [[TikZImages| Graphic Image, TikZ Images]]
 
* [[ContourPlots|Graphing in 2D with Contour Plots]]
 
* [[ContourPlots|Graphing in 2D with Contour Plots]]
 
* [[ContourPlot1|Graphing in 2D with Contour Plots that Have a Color Gradient]]
 
* [[ContourPlot1|Graphing in 2D with Contour Plots that Have a Color Gradient]]
Line 98: Line 107:
 
* [[3DGraphsParametricSurfaces|Graphing in 3D with Parametric Surfaces (e.g., Spherical Coordinates)]]
 
* [[3DGraphsParametricSurfaces|Graphing in 3D with Parametric Surfaces (e.g., Spherical Coordinates)]]
 
* [[3DGraphsVectorFields|Graphing in 3D with Vector Fields]]
 
* [[3DGraphsVectorFields|Graphing in 3D with Vector Fields]]
  +
* [[GraphTool|Graph Tool, a way for students to input graphs as answers]]
 
* [[AnswerHints|Hints in Problems]]
 
* [[AnswerHints|Hints in Problems]]
 
* [[HtmlLinks|HTML Links in Problems]]
 
* [[HtmlLinks|HTML Links in Problems]]
Line 113: Line 123:
 
=== Topics K-L ===
 
=== Topics K-L ===
   
  +
* [[Knowls|Knowls]]
 
* [[DynamicImages2|Labels on Dynamically Generated Graphs]]
 
* [[DynamicImages2|Labels on Dynamically Generated Graphs]]
 
* [[FormulaTestPoints|Limits over which Formulas are Evaluated]]
 
* [[FormulaTestPoints|Limits over which Formulas are Evaluated]]
Line 129: Line 140:
 
* [[MatchingStaticGraphs|Matching Problems That Have Static Graphic Images]]
 
* [[MatchingStaticGraphs|Matching Problems That Have Static Graphic Images]]
 
* [[MatchingDynamicGraphs|Matching Problems That Have Dynamic Graphic Images]]
 
* [[MatchingDynamicGraphs|Matching Problems That Have Dynamic Graphic Images]]
  +
* [[MonthDayYear|Month, Day or Year as a problem variable]]
 
* [[MultipleChoiceProblems|Multiple Choice Problems]]
 
* [[MultipleChoiceProblems|Multiple Choice Problems]]
 
* [[GraphsInTables|Multiple Choice Problems with Graphic Images (see example 1)]]
 
* [[GraphsInTables|Multiple Choice Problems with Graphic Images (see example 1)]]
Line 134: Line 146:
 
* [[MultiAnswerProblems|MultiAnswer, Self Referential Problems]]
 
* [[MultiAnswerProblems|MultiAnswer, Self Referential Problems]]
 
* [[CompoundProblems|Multi-Part, Sequential Problems]]
 
* [[CompoundProblems|Multi-Part, Sequential Problems]]
  +
* [[NamedAnswerRules|Named Answer Rules]]
 
* [[ConstantsInProblems|Named (Numerical) Constants in Problems]]
 
* [[ConstantsInProblems|Named (Numerical) Constants in Problems]]
 
* [[ProblemsWithUnits|Numbers with Units, as Answers]]
 
* [[ProblemsWithUnits|Numbers with Units, as Answers]]
Line 144: Line 157:
 
=== Topics O-P ===
 
=== Topics O-P ===
   
  +
* [[PanicButton| Panic Button optional answer hints with penalty]].
 
* [[AdaptiveParameters|Parameters (Adaptive) in Answers]]
 
* [[AdaptiveParameters|Parameters (Adaptive) in Answers]]
 
* [[ParametricEquationAnswers|Parametric Equations as Answers]]
 
* [[ParametricEquationAnswers|Parametric Equations as Answers]]
Line 169: Line 183:
   
 
=== Topics S-T ===
 
=== Topics S-T ===
 
  +
* [[Scaffold | Scaffolded (or "sequential", or "compound") problems]]. Reveal parts consecutively.
 
* [[VectorFields|Slope Field Graphs]]
 
* [[VectorFields|Slope Field Graphs]]
 
* [[PopUpLists|Solutions for Students]]
 
* [[PopUpLists|Solutions for Students]]

Latest revision as of 08:58, 28 June 2023

This article has been retained as a historical document. It is not up-to-date and the formatting may be lacking. Use the information herein with caution.

These are now the current problem techniques. The ones listed on this page, although still work in PG, use out of date techniques.

Any additions to the indexed snippets below should use the same format. A suggested model is provided in this snippet template.

Index of Problem Coding Techniques

This index links to problem code snippets that quickly show how to accomplish each effect. Each has limited explanation that assumes a basic understanding of how PG files are written. If you want more details, please see the MathObjects documentation, POD documentation, PG macro files, and PG library files.

up to Author's Guide

Topics A-B

top of page

Topics C-D

top of page

Topics E-F

top of page

Topics G-H

top of page

Topics I-J

top of page

Topics K-L

top of page

Topics M-N

top of page

Topics O-P

top of page

Topics Q-R

top of page

Topics S-T

top of page

Topics U-Z

top of page