Difference between revisions of "Problem Techniques"
Jump to navigation
Jump to search
Anneke Bart (talk | contribs) (Created page with "<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...") |
|||
(30 intermediate revisions by 10 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/ |
+ | <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]] (<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 47: | 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 63: | 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: NumbersAndFormulas |Formatting Correct Answers: Numbers and Formulas]] |
||
* [[FormattingCorrectAnswers: Equations |Formatting Correct Answers: Equations]] |
* [[FormattingCorrectAnswers: Equations |Formatting Correct Answers: Equations]] |
||
+ | * [[FormattingCorrectAnswers: NumbersAndFormulas |Formatting Correct Answers: Numbers and Formulas]] |
||
* [[FormattingDecimals|Formatting: Decimals]] |
* [[FormattingDecimals|Formatting: Decimals]] |
||
+ | * [[AlgebraicFractions|Formatting Fractions as Student Answers]] |
||
* [[FormulaTestPoints|Formula Answer Evaluation; Limits for Evaluation]] |
* [[FormulaTestPoints|Formula Answer Evaluation; Limits for Evaluation]] |
||
* [[FormulaTestPoints|Formula Answer Evaluation; Test Points]] |
* [[FormulaTestPoints|Formula Answer Evaluation; Test Points]] |
||
* [[ProblemsWithUnits|Formulas with Units, as Answers]] |
* [[ProblemsWithUnits|Formulas with Units, as Answers]] |
||
* [[VariablesOtherThanX|Formulas with Variables Other than x]] |
* [[VariablesOtherThanX|Formulas with Variables Other than x]] |
||
+ | * [[AlgebraicFractions|Fractions (Algebraic) as Student Answers]] |
||
* [[AddingFunctions|Functions Added to the Context]] |
* [[AddingFunctions|Functions Added to the Context]] |
||
* [[FormulasToConstants|Function Answers Up To Additive Constants]] |
* [[FormulasToConstants|Function Answers Up To Additive Constants]] |
||
Line 85: | 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 94: | 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]] |
||
* [[HtmlLinks|HTML Links in Problems]] |
* [[HtmlLinks|HTML Links in Problems]] |
||
Line 108: | 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 124: | 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)]] |
||
* [[MultipleSelectProblems|Multiple Select Problems (Select All That Apply or Checkbox Multiple Choice)]] |
* [[MultipleSelectProblems|Multiple Select Problems (Select All That Apply or Checkbox Multiple Choice)]] |
||
* [[MultiAnswerProblems|MultiAnswer, Self Referential Problems]] |
* [[MultiAnswerProblems|MultiAnswer, Self Referential 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 139: | Line 156: | ||
=== 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 155: | Line 173: | ||
=== Topics Q-R === |
=== Topics Q-R === |
||
+ | * [[MultipleChoiceProblems|Radio Buttons and Multiple Choice Problems]] |
||
* [[RecursivelyDefinedFunctions|Recursively Defined Functions]] |
* [[RecursivelyDefinedFunctions|Recursively Defined Functions]] |
||
* [[DisableFunctions|Restricting Allowed Functions in Student Answers]] |
* [[DisableFunctions|Restricting Allowed Functions in Student Answers]] |
||
Line 163: | Line 182: | ||
=== 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]] |
||
Line 193: | Line 212: | ||
[[Category:Top]] |
[[Category:Top]] |
||
[[Category:Authors]] |
[[Category:Authors]] |
||
+ | [[Category:Problem Techniques]] |
Latest revision as of 08:58, 28 June 2023
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.
Contents
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.
- MathObjects documentation Written by Davide Cervone
- POD documentation (POD - Plain Old Documentation)
- PG macro files Source code for pg/macros files.
- PG library files Source code for pg/lib files.
Topics A-B
- Accuracy Required for Numerical Answers
- Adaptive Parameters in Answers
- Adding New Functions to the Context
- Adding Labels, Lines and Points to Dynamic Graphs
- Algebraic Fractions in Student Answers
- Aligned Answer Blanks
- Allowing Strings (Text) in Student Answers
- Answer Blank in the Exponent
- Answer Format Help
- Answer Hints
- Answer is a Solution to an Equation
- Any Answer Marked Correct
- Antiderivatives and Indefinite Integrals
- Applet Example: Flash
- Applet Example: GeoGebra
- Applet Example: Embedding Sage
- Applet Example: Draggable Statements
- Arrows in Dynamic Graphs
- AskSage subroutine for using Sage
Topics C-D
- Comments (for Instructors) Visible in the Problem Library
- Composition of Functions as Correct Answer
- Compound (Multi-part, sequential) Problems (see also Scaffold)
- Constants in Problems
- Constant Differences (Additive) Between Student and Correct Answers
- Constant Differences Between Student and Correct Answers
- Custom Answer Checkers
- Custom Error Messages
- Draggable Statements
- Difference Quotients as Correct Answers
- Differentiating Formulas
- Digits TolType
- Disabling Functions and Operators in Student Answers
- Domain of Function Evaluation
- Formal rubrics and advanced answer checking
Topics E-F
- Equation Answer Evaluation (Implicit)
- Equations Defining Functions (Not Implicit)
-
eval()
Versussubstitute()
- Error Message Customization
- Extracting Coordinates of a Point
- Finding the norm of a Vector
- Factoring and Expanding Polynomials
- Flash Applets (Deprecated. Browsers have stopped supporting Flash.)
- Flash Applet Point and Graph Example (Deprecated. Browsers have stopped supporting Flash.)
- Formatting Correct Answers: Equations
- Formatting Correct Answers: Numbers and Formulas
- Formatting: Decimals
- Formatting Fractions as Student Answers
- Formula Answer Evaluation; Limits for Evaluation
- Formula Answer Evaluation; Test Points
- Formulas with Units, as Answers
- Formulas with Variables Other than x
- Fractions (Algebraic) as Student Answers
- Functions Added to the Context
- Function Answers Up To Additive Constants
- Function Composition as Correct Answer
Topics G-H
- Graphic Images, Dynamically Generated
- Graphic Images, Dynamic, with Labels, Lines and Points
- Graphic Images, Dynamic, with Filled Regions
- Graphic Images, with Parametric Functions
- Graphic Images, Put Into Tables
- Graphic Images, Static
- Graphic Image, TikZ Images
- Graphing in 2D with Contour Plots
- Graphing in 2D with Contour Plots that Have a Color Gradient
- Graphing in 2D with Slope Fields
- Graphing in 2D with Vector Fields
- Graphing in 3D with Cylindrical Coordinates
- Graphing in 3D with Rectangular Coordinates
- Graphing in 3D with Parametric Curves
- Graphing in 3D with Parametric Surfaces (e.g., Spherical Coordinates)
- Graphing in 3D with Vector Fields
- Graph Tool, a way for students to input graphs as answers
- Hints in Problems
- HTML Links in Problems
Topics I-J
Topics K-L
- Knowls
- Labels on Dynamically Generated Graphs
- Limits over which Formulas are Evaluated
- Lines in Dynamically Generated Graphs
- Linked Answer Blanks
- Linking Successive Problems
- Links to Other Web Pages
- Lists as Answers
- Logarithms
Topics M-N
- Matching Problems
- Matching Problems That Have Static Graphic Images
- Matching Problems That Have Dynamic Graphic Images
- Month, Day or Year as a problem variable
- Multiple Choice Problems
- Multiple Choice Problems with Graphic Images (see example 1)
- Multiple Select Problems (Select All That Apply or Checkbox Multiple Choice)
- MultiAnswer, Self Referential Problems
- Multi-Part, Sequential Problems
- Named Answer Rules
- Named (Numerical) Constants in Problems
- Numbers with Units, as Answers
- Numerical Answer Evaluation Tolerance
- Numerical Constants in Problems
- Numerical Tolerance in Problems
Topics O-P
- Panic Button optional answer hints with penalty.
- Parameters (Adaptive) in Answers
- Parametric Equations as Answers
- Parametric Lines as Answers
- Periodic Answers
- Planes or Lines Defined Implicitly
- Plotting Parametric Equations
- Plotting Lines and Points on Dynamically Generated Graphs
- Points in Dynamically Generated Graphs
- Points in Student Answers
- Pop-up Lists
- Pop-up Lists For Many Questions With Common Answers
Topics Q-R
- Radio Buttons and Multiple Choice Problems
- Recursively Defined Functions
- Restricting Allowed Functions in Student Answers
- Restricting Allowed Operators in Student Answers
- Restricting Student Answer Formats
Topics S-T
- Scaffolded (or "sequential", or "compound") problems. Reveal parts consecutively.
- Slope Field Graphs
- Solutions for Students
- Static Graphic Images
- Step Functions in Answers
- Strings in Student Answers
- Tables in Problem Text
- Tables of Graphs
- Test Points for Formula Evaluation
- Text in Student Answers
- Textbook Specific Messages
- Tolerance in Numerical Answers
- Trig Functions in Degrees