@Pierre I could not agree more, it would be fairly simple HTMl for them to allow the instructor to force, either Text Or Symbolic (in the same way one can force students with the Maple-Graded response type).
Posts made by mschneider
-
RE: Maple syntax and Formula entry and exponential
-
RE: Maple syntax and Formula entry and exponential
I tend to use Maple-Graded, forcing students to use the symbolic entry. I also include in the grading code a self-authored syntax checker, that automatically places *'s in for the student. So when they write "3x" it automatically gets interpreted at "3*x", "xy" automatically gets interpreted as "x*y".
-
RE: Maple syntax and Formula entry and exponential
try using "$RESPONSE" as the correct answer in a Maple-Graded (symbolic entry) and it will give you an idea on what was interpreted vs what was typed in.
-
RE: Maple syntax and Formula entry and exponential
The issue you mentioned with the symbolic editor is likely due to the missing "*" between the "x^8" and the "(". It is worth mentioning however that, by nature of differences between interpretations between symbolic and text entry, I tend to gravitate to Maple-Graded responses and force one of the entry modes.
-
RE: Access to an element
You would need to construct a list/array to pull from... Although I would recommend accomplishing what you are attempting using a single maple call (why have 2???).
To fix what you have:
$selector=range(1,5,1);
$TA=maple("
option1:=geom3d[point](P1,[5,2,1]):
option2:=geom3d[point](P2,[4,0,-4]):
option3:=geom3d[point](P3,[1,1,1]):
option4:=geom3d[plane](E1,[P1,P2,P3]):
option5:=geom3d[Equation](E1,[x,y,z]):
[option1,option2,option3,option4,option5];
");$LE=maple("$TA[$selector]");
A BETTER WAY that is more efficient (single maple call)....
$selector=range(1,5,1);
$TA=maple("
option1:=geom3d[point](P1,[5,2,1]):
option2:=geom3d[point](P2,[4,0,-4]):
option3:=geom3d[point](P3,[1,1,1]):
option4:=geom3d[plane](E1,[P1,P2,P3]):
option5:=geom3d[Equation](E1,[x,y,z]):
listOfAll:=[option1,option2,option3,option4,option5];
selected:=listOfAll[$selector];
[convert(selected,string),convert(listOfAll,string)]
");$theChosenOne=switch(0,$TA);
$theRest=switch(1,$TA); -
RE: Timed Questions
I forgot to mention, for you to see it work the question must be on an actual assignment. Also it goes without saying that the assignment will need more than one question.
-
Timed Questions
There have been some requests for a timed question as opposed to an overall timer on the entire assignment. Below you will find a question that can be used to provide a countdown timer on individual questions, that forces students to move onto the next question when the timer runs out. The question contains a script that simulates the student pushing the next button after a defined amount of time. In order to effectively utilize a timed question an instructor should disable the assignment option for "allow resubmit" (otherwise having a timed question is completely pointless, as the student could simply return to the question later).
Here is what the question and timer looks like:
Here is a link to the question, for you to import: link
To alter the time a student has on the question simply open the HTML editor and change the variable markTimer (the default value is =12 seconds).
-
RE: Randomly choose from different plots
I could be wrong, but I think you can use the HTML code associated with the plot in the switch function. Which would randomly select the HTML code for a given plot. This in effect will do what you want.
-
RE: How to use Union symbol in a response
Here is a question that uses the letter "U" to formulate a union of two intervals to specify the domain of a function:
The question(.zip) can be downloaded here: https://naitca-my.sharepoint.c...
***notes: the question ignores annoying spaces the student might add into their response
This is what the question looks like:
-
RE: How to use Union symbol in a response
Writing grading code to accommodate for the union symbol can cause problems depending on which version of maplenet your are running. I would suggest a much easier approach: Have students use the letter "U" on the keyboard. This way you can simply do a string comparison.
For a domain question, you could try the following:
**** note1: the grading code was written to accomodate for "inf" as infinity if you were to modify the question.**** note2: the grading code ignores annoying extra spaces the student might add in.
link to .zip to import: https://naitca-my.sharepoint.c...
Preview:
-
RE: Live 3D plots
I might suggest an animated 3d plot. This way the object moves on its own to show all sides. Animated plots will work with the plotmaple command.
-
RE: Integer to float conversion - prevention
I would suggest something to the effect of the following: here is a .zip of the question above that can be imported: https://naitca-my.sharepoint.c...
ALGORITHM BELOW------------------------------------------------------------------
$degreeF=range(2,5,1);
$degreeG=range(2,5,1);$randomMark=rint(100000);
$callout=maple("
with(RandomTools):
randomize($randomMark):
functionF:=Generate(polynom(nonzeroint(range=-10..10),x,degree=$degreeF)):
functionG:=Generate(polynom(nonzeroint(range=-10..10),x,degree=$degreeG)):
answer:=functionF+functionG:
generateStrings:=seq(convert([functionF,functionG,answer][i],string),i=1..3):
generateLatex:=seq(latex([functionF,functionG,answer][i],output=string),i=1..3):
[generateStrings,generateLatex];
");
$functionF=switch(0,$callout);
$functionG=switch(1,$callout);
$functionAnswer=switch(2,$callout);
$functionFlatex=switch(3,$callout);
$functionGlatex=switch(4,$callout);
$functionAnswerLatex=switch(5,$callout);---------------------------------------------------------------------------------------
Essentially this will allow you to generate random functions, and automatically convert the function to latex that can be put directly into the question. This avoids having to use the equation editor. -
RE: Möbius API
Here are two avenues of support:
- Use the HTML question type to communicate with external pages: https://teachingservices.nait....
- I believe Digital Ed might be working on a way to import LMS assessment content into Mobius.
Thanks,
Mark Schneider
NAIT -
RE: Updating Question Solutions
To the best of my understanding the ability to re-score miss-keyed responses is a feature request (https://ideas.digitaled.com/) and not part of the current release. Also, and this part is something I am not 100% sure of, if Student A attempted the original question they will see the original question in their gradebook. While if Student B attempted the "revised" question they will see the "revised" question in their gradebook. It would be far more confusing if everyone saw the revised question, even though half of them were graded with miss-keyed answer. To this end, I would recommend using the "edit question comment" field when manually correcting the miss-keyed student responses.
-
RE: Using plotmaple to return multiple plots
Hi Sarah,
4 separate calls for plots shouldn't be sluggish, I would follow up with support on that concern, however you also have the following option:
I have used this many times.. use the Plots:-display command to display multiple color plots on the same grid, with a legend indicating what choice is what line. For example redLine=choiceA blueLine=choiceB.. etc
Here is a simple to follow example that illustrates this and also uses an algorithmic answer in the multiple choice:
Link to .zip file that can be imported into your Mobius Course (it contains a single question).
Hope it works out for you,
Mark
-
RE: Student-ID dependent questions
Although the Student ID cannot be pulled into the algorithm, there are some other great options....
1) As Meta mentioned, you can use a combination of Adaptive Assignments utilizing Maple Repositories
2) You can generate a "pseudo-student" id, using a response from a prior question and then generate a number from that string.
For example: I built an assignment with the following details:
- Question 1: Asks the student to write their name in the box: "I, ___________, certify that this is my assignment".
-If a student writes a name that does not appear in the comma separated list, their first question is highlighted (as it is graded in-correct). - Question 2: Asks the student to write in an ascii-string that resembles their response to question 1 (ie. name): "take each letter in your name and convert your name to an ASCII string that is padded to a total width of 4-digits per letter: ___________________"
-we use Maple (inside a Maple-graded response) to convert all the possible student names to the same ascii-string and then check to see if the student response is correct (based on their response to the first question). - Question 3: Asks the student to (mod 5) each character in their second answer: "Take each character in the ASCII string above, find mod 5 of the character, and indicate the resulting string below: ___________"
-Again we use Maple, to check the students supplied answer against what they should have answered based on the first question.
Basically the above allows you to completely customize an assignment based upon what the student responded in the first answer box, on the first question, (I recommend you think about using a table/Matrix with the first column as student names, and each column thereafter as answers to Question#1, Question#2, etc.)
Here is a Mobius Module that demonstrates the above: Module.zip
Here is a screenshot of what is accomplished:
- Question 1: Asks the student to write their name in the box: "I, ___________, certify that this is my assignment".
-
Drag-and-Drop Template
Hi all,
I constructed a template to easily create Drag-and-Drop questions.
The steps below illustrate how to take the template file (labeling the Canadian Provinces) and adapt it to become a labeling of a velocity VS time graph (or whatever else you desire).
STEP 1) Prepare your image.
If you want to follow along, you can use the following image: forceTimeGraphAnswers.jpg
-locate, create or modify an image that contains proper labels (this will be used to show students what the correct labeling was).
-Open the image in MS Paint.
-Be sure to size your image to less than 800px X 800px.
-Save the original labeled copy, for example “forceTimeGraphAnswers.jpg”.
-Use the eraser tool to scrub the answers from the image.-Save your “scrubbed” image with a different filename, for example "forceTimeGraphBlank.jpg"
STEP 2) Open the Drag-and-Drop Temple.
-The file can be found shared on the Maple Cloud OR
-Here: Drag-and-Drop TemplateSTEP 3) Upload your images.
-Upload both images at the bottom of the question designer.STEP 4) Copy the image URL.
-Double click on each image and copy the image URL from the Image Properties page.STEP 5) Refer to the algorithm section of the question and modify Step 1 and Step 2.
-Paste each image URL into the appropriate place in the algorithm section of the question designer (Step 1 and 2 in the algorithm).STEP 6) Remove the images from the question text.
-Remove the images from the question text. They were only placed into the question temporarily in order to attain a valid URL.STEP 7) Open one of the images in MS-PAINT.
STEP 8) Refer to the Algorithm section of the question and modify Step 3 of the algorithm.
-The image size can be found at the bottom of the MS-PAINT window.If you are following along, the image size should be 478px x 257 px
STEP 9) Record the positions of each label on the image.
-From within MS-Paint place your cursor over each are you want to drop answers onto and record the (x,y) pair from the bottom of the MS-PAINT window.
RECOMMENDED: Print a copy of your image so you can easily record the locations onto the paper.STEP 10) Refer to the algorithm section of the question and modify Step 4 of the algorithm.
-record the (x,y) pairing and the name being dropped onto your image, for each and every response area.
*IMPORTANT: You must have at least 1 response area and no more than 10 total.If you are following along, you should have values close to the following (notice values are approximate) $answer1="Accelerate Quickly"; $answer1x=105; $answer1y=21; $answer2="No Acceleration"; $answer2x=208; $answer2y=70; $answer3="Slows down"; $answer3x=318; $answer3y=41; $answer4="Stopped"; $answer4x=347; $answer4y=96; $answer5="Speed Up (opposite direction)"; $answer5x=297; $answer5y=206; $answer6="Accelerate Slowly"; $answer6x=143; $answer6y=172;
STEP 11) Delete any response areas and locations from the template that are not required .
If you are following along, you should delete the rest of the algorithm up to the start of Step 5.
STEP 12) This part is optional, refer to Step 5 of the algorithm.
-You can customize the amount of white space above your image (this is the blank space above your image where the answers are initially placed).
-You can customize the height and width of the drop-areas that appear on your image.
With enough practice you should be able to simply follow the 4-steps outlined within the comments on the template's algorithm.
ENJOY :)
Mark
-
RE: Attempting to Modify Maple WS, for MathApp Quesiton
Thank-you so much, @Steen .