Home
WebAssign User`s Manual
Contents
1. 3 Insert lt SECTION gt tags to identify breaks between modes in the question A lt eqn SR1 decform randnum 1 3 1 10 2 lt font face Symbol gt W lt font gt bulb and a lt eqn R2 decform randnum 4 9 1 10 2 gt lt font face Symbol gt W lt font gt bulb are connected in series to a lt egn SV randnum 12 18 3 gt volt power supply div class indent gt a What is the power delivered to the first bulb lt br gt lt _ gt W lt br gt b What is the power delivered to the second bulb lt br gt lt _ gt W lt SECTION gt c Which bulb is brighter lt SECTION gt d What is the total power delivered by the battery lt br gt lt _ gt W lt div gt The lt SECTION gt tag must be used in two situations First the tag is used when you change the mode of the question being asked for example from multiple choice to numerical to essay This is important because answers are entered and interpreted differently for each mode of question Second the tag must be used to separate multiple choice questions even though the mode does not change This is necessary because multiple choice answers take up more than one line Without section tags separating the two parts of the questions and the two sets of possible responses WebAssign could not interpret which responses were linked to the first part of the question and which were linked to the second 4 Express the correct answers as described in the previ
2. Mame problem solving strategy Mode File Upload Multi Made Options Muestion Prepare a Word document that explaining the value of a good problem solving strategy and upload The file should be named with a doc extension BR 7 Answer Add tab zegn sACCEPTFILETYPE doc sFILEUPLOADMAS 204600 gt You should have included all the GUAL steps Salution Display Prepare a Word document that explaining the value of a good problem solving strategy and upload The file should be named with a doc extension Browse Key You should have included all the GOAL steps 9 2007 198 WebAssign User s Manual 4 0 8 10 Poll Questions One particularly useful type of question is a poll question which is used primarily to gather information from students rather than to assess their learning directly Poll questions do not have a right or wrong answer They can be used in any number of ways e To assess students opinions e To receive feedback about an assignment e To assess students confidence in their own responses e To receive some answer from a student that can be used later in the assignment as the basis for another question 8 10 1 Creating a poll multiple choice question To create a poll question choose Create from the Questions menu and perform the following steps 1 Enter a name for the question 2 Click Multi Mode Options above the Question field Multi Mode Options Multiple C
3. 3x 1 The default alignment if no alignment attribute is given is middle Padding White space or padding can be placed around a symimage to keep it from being too close to surrounding text This style is particularly useful when symimages are used in multiple choice answers For example lt gymimage Matrix 2737X yrZr r or c y padding gt 159 9 2007 252 WebAssign User s Manual 4 0 adds 10 pixels of padding around the image as shown on the following image The image below has 10 point padding The image below has no padding rou z a be Using padding around symimages used as multiple choice answers helps spread out the answers for better readability The multiple choice answers below have 10 point padding bc y 2 j i 9 10 2 Expressions available in Math Display The following mathematical expressions can be used in the symimage tag Fractions Fraction Bevelled fraction Subscripts and Superscripts Superscript x 2 orx Subscript xod Pre Superscript MIX Uranium isotope Pre Subscript 2X Pre SuparSubsrript f x 2B Preceded by a space T itis notyet possible to have a prescript followed by both a superscript and subscript aby 9 2007 Advanced Question Writing 253 Operators and mathematical symbols Infinity Middot Cross Proportional To Approximately Equal Mot Approximately Equal Union Intersect Perpendicular Less than or equal to Greater than o
4. is a registered service mark of North Carolina State University under license to Advanced Instructional Systems Inc ISBN 1 928550 30 4 9 2007 vi WebAssign User s Manual 4 0 8 CREATING QUESTIONS 161 S T OuestioB Ed OE oec tod On E Ete Mond ends sees ec asad dax ueste fio tes E talented eu tato 161 5 2 NIuliiplesChotce QUESEPTOTIS 25 sia ecsestacc tote din Patet Ese ERE Aste eE E Ee iat i N 165 6 2 1 Creating a multiple choice questiOTIu aoo iore n te VE eee oe aed iae o Vt ea UN o eU ER UO UE Rd 165 8 2 2 Ordered multiple choice questions ccccccccccececcceceasseeeseeeeeeceeeeeeeseceaaaaaeseseeeseeeeeeeeeeeeeaaas 167 5 2 5 Truc Ot Talse Ue StIOTS oer tuit n oe to aspi Ro aut Meta ceca ecohe easier anak sleet adecuhauneitaadscehioes 168 8 2 4 Multiple choice pulldown MeNuB ccccccccccecccccceceeeceeassesseseeeeceeceeceeeeeesaaaassssseseseeeeeeeeeess 169 8 2 5 Controlling the position of radio buttons 0 0 eceseeeesseeseeeeecccceeeeeeeeeaaaaaesssseeeeeeeseeeeeeeaaas 171 5 5 vlIultiplesseleet QU SUODS 2 o oun db eod duci e um eit Su Ur tes DE ME du a eed d S UE 171 8 3 1 Creating a multiple select question ds ouest ota ocio haces Seana aas tae Metus odios feuusehie seo atra feecauos 172 5 5 2 Ordered iiultiple select questiofis senrose ee eoa a a E TEE E E 173 8 3 3 Controlling the position of check boxes eeeeseseesssssssssseseeeeeee ee nnne nenne eene nnne 174 8 3 4 Random number of correct answers
5. 1 000 1 005 1 010 1 015 1 500 9 3 4 The pickone and picksame functions You can randomly select one word phrase or other selection of text from a list you specify by using the pickone function The function uses this general form 9 2007 Advanced Question Writing 223 pickone iteml item2 item3 where pickone selects one item from a comma delimited list you provide iteml item2 item3 is the list of possible selections Note Items that include a space must be placed inside single or double quotes Items that contain an apostrophe must be placed inside double quotes Items that contain variables or HTML code must be placed inside double quotes Often it is useful to randomize other words formulas or other items in the question based on the first one randomized in a pickone function The picksame function allows you to do this Suppose you begin with this original question What is the nuclide symbol for a nucleus that contains 38 protons and 50 neutrons You might want to randomize the number of protons to add additional versions of the question To do that you could use a pickone function to randomly select a number from several alternatives segn So pickone 38 17 14 3 protons This statement would randomly select 38 17 14 or 3 as the number of protons The number of neutrons must be changed to agree with the choice of number of protons You can write a corresponding picksame f
6. EUN animator xStr y3tr document zEQM zanimator setbefault document lt EQN zanimator setTimeInterval n l 8 document lt EQN ganimator gt setPixFerUnit 751 document lt EQN ganimator gt setGridunitio li document EQN Sanimator gt shiftPixOrigin 75 751 id document lt EQW s animator add bject rectangle w l5n0 h l x 1 7 RE Ez e document lt EQN zanimator setRGBiid 0 0 255 7 id document lt E ON sanimator add bject circle r l0 document z EQN sanimator sertTrajectorvyv id l 5 t step l 7454 t rastep 63888 t i Z 41 9 t t steni t l 63888 5 4zz it 0 638388 1 9 t 0 63888 t 0 63888 111 1 document zEUN animator setBGB id 255 0 0 document zcEUMNM animator setTrail id 3001 document EQN animator setCaption Demo 1 document EQN animator forward il z Sscript zapplet code animatnord nimatnor claaszs codebase zEUN PHYSLETPATH gt archive Animatord jar S5Taaols4 jar name zEUM animator 1d lt EQN Saninator gt width 400 height 300 hapace 0 yspace 0 align Middle lt param name FPS value z l1 0 param name Show Controls value true gt param name dt vyalue 0 01 gt param name PixPerUnit value LOU gt lt param name GridUnit value 1 0 gt z applet 12 Copy the code from your editor into the Question field of a new WebAssign question At the end of the code you can add any qu
7. Help Hintz Key Salutian F 5 a E Test Preview Show new Randomization Reload from Editor EF Details A 0 30 2 bulb and a 0 70 3 bulb are connected in series to a 15 nlt power supply 2 What is the power delivered to the first bulb M Dj What is the power delivered to the second bulb AM c Which bulb is brighter Both are equally bright C Bulb 2 C Bulb 1 di What is the total power delivered by the battery My submit for Testing 9 2007 Advanced Question Writing 237 b Examine your question to make sure all elements are included and randomization is working properly 6 Save your question Click Save to save your question to the database 9 6 Using JavaScript in Questions 9 6 1 Using JavaScript alone It is possible to include JavaScript in WebAssign questions using the HTML standard tag lt SCRIPT LANGUAGE JavaScript gt JavaScript also can be written to interact with a Java Applet One important difference from writing JavaScript for other applications is that a WebAssign tag EON numAnim should be included in the name of every function and object created by the JavaScript When WebAssign processes a question to be sent to the user this will be replaced by a number This mechanism ensures that different problems or different instances of the same problem do not address the same functions or objects The very first time this tag is used in a problem it should be incremented t
8. V td width in pixels Width Percent td width gt percentage of table Table Header lt th gt lt th gt same as data except bold centered Alignment lt th align left right center valign top middle bottom gt No Linebreaks lt th nowrap gt Columns to Span lt th colspan gt Rows to Span lt th rowspan gt Desired Width lt th width J V in pixels Width Percent th width gt percentage of table Table Caption lt caption gt lt caption gt Alignment lt caption align top bottom gt above below table B 6 HTML Special Characters Symbol HTML code Comments amp middot i amp deg H amp micro Nonbreaking amp nbsp space amp ltj gt amp gt amp amp amp 9 2007 330 WebAssign User s Manual 4 0 i amp quot amp reg amp copy B WebAssign Classes want centered goes here div Class HTML code Comments indent div class indent The text you want Used to indent part of your question indented goes here div or something in your announcement or in the description or instructions of your assignments Center div class center The text or image you Used to center part of your question or something in your announcement or in the description or instructions of your
9. d What is the total power delivered by the battery Editthe question so that the parts are easily distinguished add the HTML tags and identify and randomize selected elements as before A eqn R1 decform randnum 1 3 1 10 2 font face Symbol gt W lt font gt bulb and a lt eqn R2 decform randnum 4 9 1 10 2 gt lt font face Symbol gt W lt font gt bulb are connected in series to a lt eqn V pickone 1 5 3 6 12 gt volt power supply lt div class indent a What is the power delivered to the first bulb b What is the power delivered to the second bulb c Which bulb is brighter d What is the total power delivered by the battery lt div gt 2 Determine each question mode and format appropriately Parts a and b are numerical Part c could be a fill in the blank essay or multiple choice question We will make it multiple choice Part d is numerical Click Multi Mode Options 9 2007 Advanced Question Writing 235 Multi Mode Options Multiple Choice Multiple Select Essay Numerical Fill ir Blank Matching Symbolic Image Map File Upload Java Fall Clear all Modes Click Numerical Multiple Choice and Numerical in turn from the Multi Mode Options window The Mode menu will now display the various modes of your question in order NCN where N stands for Numerical and C stands for Multiple choice Close the Multi Mode Options window
10. lt eqn gt tags are assumed to be in the Question field of a WebAssign question Advanced Question Writing 217 Text in Question field Displays to student eqn a randnum 2 4 1 gt pears 2 pears 3 pears or 4 pears lt eqn a randnum 2 4 1 b a a 4 9 or 16 ean fa lt 0 2 right left right if the variable a is less than zero left if the variable a is not less than zero sega a sum 5b 0 9d 9e e s rt laal T gt The variables a and e are assigned but nothing is printed In summary the entire lt eqn gt statement is replaced by the result of the last Perl statement In the question the replacement value is shown in red It is possible to make the display black or any other color using Options on the Course Edit page see section 4 1 2 Some of the eqn tags above take up more than one line but there should never be a line return in an eqn tag in the Answer field The text will wrap but never enter a line return 9 1 1 Using multiple Perl statements in lt eqn gt tags The answer to a numerical question often requires calculation of intermediate results which are then used to produce the final answer WebAssign allows you to calculate these intermediate results automatically using Perl code in a series of statements Several intermediate calculations can be made separated by semicolons with only the final calculation used as the answer This often makes i
11. 12 2 Mathie Witt D3b6l95 coca tios 8900 EIER EITHER aas F1 E 205 515 PLACES QUECS HOD auc uoa eive sete t balades e ue o tod fonfis Stt ba estote ene io sroadentaaoaed ava bo saei Seu noL oS fonte ecue du 206 o I4 JavaxQuestions XdyVaneed aseo re eat tomp PAN Dia e ute temas ote Neat tuU pU DIE 207 S5 Malti mode Queso Sou ose ons iuis a US re ceu pus UCET Ce gee 208 5 T6 Question Editor Peatures 255 o ete dei rte ses reet tates we tote robe hod ixi apes A oceans 208 Salo Testine and pre View 1S GUESSON S 550259 dE n PED LRU medie EE 208 8 16 2 My Files or using figures and other files in QUESTIONS cccccccccecceeeeeeeeeeeseeeeeeeseeeeeeeeess 210 Sl Ors HOURS S a sarees Ch eats wat Gba pida eaten alata tuii ob sudit uotis c ctetu Caine ob suco Sept Sudan 213 9 ADVANCED QUESTION WRITING 215 9 1 Introduction to the lt e qn gt and the lt EQN gt Tags 216 9 1 1 Using multiple Perl statements in lt qn gt tags esses 217 9 1 2 Variable ames In the lt eC ta osito doceo eade tice Nansen sade de be d fatta E t UE MEG 217 Od 3 Bscobthe SEO S TIT ea are N C OMUEE 218 0 2 Inclucino MES dii OUCS TOMS S ient ike Soporta OR tote eee dk d aded uec rt deo e aas Mcd ded dud 218 0 2 T Hanttfor ac simple questlOL codec mu NEE tuse an bo Besliset ap diese abu lup toas REO RA Ud aU TOS 218 922 Controllineplacermentot the BT on venti eoi VOD tence taints Fe bn EE Eu 02S Edo Se pe ELM 219 02 5 The DEALING Wald al Esia daedaaiecn
12. 300 kg are mowing at the same speed 15 m s when they have an inelastic collision In what direction does the wreckage move if one car was driving north and one south lt BR gt lt _ gt m s xP ALIGM CENTER cIMG SRC2 hewitt 5 15 gif BORDER 0 gt lt BR gt Figure Answer Add tab eqn SET POSITION 1 gt no direction Display Two automobiles each of mass S00 ka are moving at the same speed 15 m s when they have an inelastic collision In what direction does the wreckage move if one car was driving north and one south C north C northeast C east C 0 no direction m s Figure 5 15 8 3 Multiple Select Questions A multiple select question presents a list of choices Any number of the choices can be correct responses All of the options can be correct or none of them Students must select 9 2007 172 WebAssign User s Manual 4 0 all of the correct choices and none of the incorrect choices to receive credit for a multiple select question We do not recommend making all the answers incorrect because a student will get such a question correct without reading or considering it 8 3 1 Creating a multiple select question To write a multiple select question choose Create from the Questions menu and perform the following steps 1 Enter a name for the question and select Multiple select as the Mode of the question 2 Enter the question text in the Question field 3 Enter the correct answers to you
13. 8 6 4 for information about changing the domain 9 2007 188 WebAssign User s Manual 4 0 Question Editor Editing 1 D kinematics 291318 Last Saved Aug 15 2003 06 09 PM EDT Page Tools Redisplay My Files Content Name i D kinematics Made symbolic Multi Mada Options Question The acceleration of a motorcycle is given by aft BtcSUP Z2 SUP where A 1 50 m s sup 3 sup and B m sczSUP 2z S2UP It is at rest at the origin at time t a Find its position as a function of time t lt ps lt gt lt p gt ib Find its velocity as a function of time t cp z gt Answer Add tab t 0 25t 3 D n01t 4 Epi 5t 2 0 D04t 3 Display The acceleration of a motorcycle is green by aft At Bt where A 1 50 m s and B 0 120 m s It is at rest at the origin at time t a Find its position as a function of time t 0 25 3 0 01 t 4 b Find its velocity as a function of time t 0 75 2 0 04 Ju embolie formatting help 4 Click Redisplay to update the display as it will appear to the students The students will not see the answer in brackets unless they are viewing the key 5 When editing is complete click Save to insert the new question into the database and assign a question ID number to the question The recommended procedure for developing a question is to click Redisplay or Test Preview check that the question redisplays properly and then click Save Always click
14. 82 125 89 120 82 113 80 105 66 103 51 112 84 121 62 122 74 or poly 101 40 111 49 105 55 89 53 66 50 92 41 90 31 103 29 16 When editing is complete click Save to insert the new question into the database and assign a question ID number to the question The recommended procedure for developing a question is to click Redisplay or Test Preview check that the question redisplays properly and then click Save Always click Redisplay or Test Preview right before you click Save 8 12 Matching Questions A matching question allows students to select answers matching one column of answers with another column To view an example search for a question with the name template matching and authored by webassign To create a matching question choose Create from the Questions menu and perform the following steps Enter a name for the question and select Matching as the Mode of the question 2 Enter the question text in the Question field 3 Enter the pairs of answers in the Answer field separated by tab e g Paris tab France London tab Great Britain Madrid tab Spain Moscow tab Russia Athens tab Greece 9 2007 204 WebAssign User s Manual 4 0 Please note that the second element in each pair cannot contain HTML code If you need HTML you can use the label explained in the next section 4 Click Redisplay to update the display as it will appear to the students The students will not see th
15. 9 7 2 Preserving one answer to evaluate another 9 2007 You may find situations when you would like to preserve an initial student response for use in later parts of the same question This feature is especially useful when you ask your students to enter data from a lab experiment and then check to see if they analyze the data correctly In this case the value of the thisresponse variable is simply copied into another named variable that can be used in subsequent calculations Advanced Question Writing 245 Example To demonstrate how to use post processing to preserve an initial student response for use in later questions consider this question Determine how fast your lab partner can walk between two pieces of tape on the floor using a stopwatch lt br gt What is the distance between the two tapes lt br gt lt _ gt m lt br gt How long does it take lt br gt lt _ gt s lt br gt Based on your data what is your lab partner s walking speed lt br gt lt _ gt m s Whatever response the student enters to the first two questions will be counted correct and will then be used to generate the correct answer to the last question This is done by storing the value of tnisresponse to new variables a and st and using these new variables to determine the answer to the third question The answers will contain the following eqn tags lt eqn Sd Sthisresponse gt eqn St length Sthisresponse S thisresponse 1 gt lt eqn s
16. Example sin cos tan sec csc cot asin acos atan functions angle x expressed in radians sini 2x sari for square root of an expression Sarthe x t1 n for the nt root 9001 3 or x of a number 3r 1 5 pi for 3 14153 zn e for scientific 1e3 1000 notation Ini for natural log expt for e to the power of By default an icon Misumbalic Formatting help with a link to the above information is displayed for symbolic questions This link can be suppressed at the assignment level by using the Assignment Options in the Assignment Editor or at the class level using Class Options The position of the help link can be controlled with the lt SYMBOLIC gt tag By placing the lt SYMBOLIC gt tag within the symbolic mode of the question you can specify where the symbolic formatting help link is placed rather than at the end of the question 8 6 1 Creating a symbolic question To create a symbolic question choose Create from the Questions menu and perform the following steps 1 Enter a name for the question and select Symbolic from the pulldown Mode menu 2 Enter the question text in the Question field as you would a numeric question Be sure to specify which letter variable s the students are to use Enter an answer box lt _ gt in the appropriate place for students to record their answer The keystroke combination is less than underscore greater than 3 Inthe Answer field enter t
17. Manual 4 0 2 3 4 5 6 Determine the question mode and format appropriately Identify and randomize selected elements of the question Express the correct answers using the solution formulas Preview your question Save your question For example to demonstrate how to write a question with several parts consider this question from physics 3 4 9 2007 A 0 20 ohm bulb and a 0 40 ohm bulb are connected in series to a 12 volt power supply What is the power delivered to the first bulb b What is the power delivered to the second bulb c What is the total power delivered by the battery Format the question with HTML tags Complete basic formatting as described in the previous example Use HTML to divide subsections of the question Our convention is to use lt div class indent around the subsections and breaks lt br gt between successive parts of the question Determine the question mode and format appropriately As described in the previous example choose numerical from the pulldown mode menu and enter the answer box lt _ gt followed by the units A 0 20 font face Symbol gt W lt font gt bulb and a 0 40 font face Symbol gt W lt font gt bulb are connected in series to a 12 volt power supply div class indent gt a What is the power delivered to the first bulb BR W br b What is the power delivered to the second bulb br W br c What is the total po
18. NumberCruncher gt where Math NumberCruncher is an example of a Perl module From there all methods listed in the documentation for the Perl module are available For example you can calculate the mean of an array since NumberCruncher includes this function eqn mean Math NumberCruncher Mean x gt where x is an array Similarly you can calculate the mean of a set of numbers lt eqn Smean Math NumberCruncher Mean x1 Xx2 X3 XNn gt 9 8 2 Writing your own functions If you need a function that you cannot find in a Perl module at http www cpan org you can write your own subroutine and then include it in your question Here are the steps for including your own functions 1 Create or find a subroutine that defines the function s you need Let s assume the name of the file with the subroutine is myfunction pl Make sure that the last statement in the file is the null string so that nothing prints when you include the file 2 Copy your subroutine file must be a text file to your WebAssign file space using Folders or My Files in the Question Editor 3 Create your question in the Question Editor 4 Enter eqn include ID of myfunction pl somewhere in the question The ID of the file is available from My Files when you paste the file ID only into the question 5 Use the functions defined in the subroutine 9 9 Creating Java Type Questions 9 2007 The WebAssign question
19. Redisplay or Test Preview right before you click Save 8 6 2 Using randomized variables To incorporate variables into your symbolic questions for example to use randomized numbers from the question use the following format in the answer field In this example the density D is a randomized variable and the student is asked to write a formula for the mass of a rectangular block of height H width W and length L H W Li eqn SD gt H W L 9 2007 Creating Questions 189 8 6 3 Displaying a student symbolic response Students often have difficulty interpreting their response when written in calculator notation To overcome this difficulty when writing complex formulas it is recommended that you offer your students a symbolic preview feature for displaying symbolic formulas This feature will allow your students to view the question properly using standard mathematical symbols and formatting Previewing is especially important for built up fractions and expressions containing square roots To implement the preview feature enter the following in the answer box next to the appropriate answer lt eqn Symbolic addPreviewer gt This code must be added for each symbolic answer box In the following example the student is asked to write the formula for the distance between two points in Cartesian coordinates The Question box contains What is the formula for the distance between the two points x lt sub gt 1 lt
20. Sd St When WebAssign evaluates the answer it sets the student s first answer equal to a for the distance and the second answer equal to st for the time The speed is determined by evaluating s d st Because WebAssign will evaluate the speed when it first shows the question to the student a divide by zero error is reported if all variables are initially zero To prevent this error the Perl expression for t is set to 1 when thisresponse is initially zero If you want to check the values your students enter in the first two parts for reasonableness you could use an if then statement For example if you were willing to accept answers to the distance question that are between 2 meters and 4 meters you would make the answer field for that question the following lt eqn Sthisresponse 2 lt Sthisresponse amp amp Sthisresponse lt 4 3 Sthisresponse 3 gt 9 8 Using Perl Modules and Functions 9 8 1 Using functions from a Perl module WebAssign has the following Perl modules installed and ready to use Math NumberCruncher Steti stress Drstribucrons Math MatrixReal Statistics binerit Statistics Descriptive If you find a Perl module with functions you need let us know support webassign net We will review and install the module for everyone s use To make use of the methods in a Perl module add the following expression to your question 9 2007 246 WebAssign User s Manual 4 0 lt egn use Math
21. Select i third millennium 7 Click Redisplay to update the display as it will appear to the students Note that the choices now appear in the order you have listed them in a pulldown menu and the choice that you have indicated as correct is shown in green The students will not see the word s in green unless they are viewing the key Creating Questions 171 8 When you have finished editing click Save to add the new question to the database and assign a question ID number to the question The recommended procedure for developing a question is to click Redisplay or Test Preview check that the question redisplays properly and then click Save Always click Redisplay or Test Preview right before you click Save 8 2 5 Controlling the position of radio buttons When you need to specify the position of multiple choice radio buttons so you can include an image or footnote below the choices use SET POSITION Set the SET_POSITION flag to 1 in the Answer field at the start of the set of answers for which you need to specify the position In the Question field insert an answer box where you want these radio buttons to appear In the following example the author wanted the image below the choices Without the sET PosrTroN flag the image would have been between the question and the choices Content Mame inelastic collisions Mode Multiple Choice hMulti Made Options Question Two automobiles each of mass
22. can be displayed within a question as well as in the Answer field You just need to point to the correct file in a lt A HREF gt tag Some examples of what can go into a WebAssign question follow 1 Straight text Creating Questions 163 When did Columbus arrive in the Am ricas 2 Simple text with HTML If y is proportional to x lt SUP gt 2 lt SUP gt and if y 12 when x 2 what is the value of y when x 5 It y is proportional to x and ity 12 when x 2 what is the value of y when x 57 3 Tables The variablescsLx Ls SINWVelS WXIoLb el5 anc crlssgs ls have the units shown in the table below TABLE lt TR gt lt TD gt Variable lt TD gt lt TD gt Units lt TD gt lt TR gt lt TR gt lt TD gt lt I gt x lt I gt lt TD gt lt TD gt meters m lt TD gt lt TR gt lt TR gt lt TD gt iyo Le lt TDS lt TD gt meters per second m s lt TD gt lt TR gt lt TR gt lt TD gt lt I gt t lt I gt lt TD gt lt TD gt sec nds 8 lt TD gt lt TR gt lt TR gt lt TDS lt 1 gt ax 1 gt lt TD gt lt TD gt meters per second squared m S lt SUP gt 2 lt SUP gt lt TD gt lt TR gt lt TABLE gt Is it possible for lt I gt x lt I gt lt sup gt 2 lt sup gt lt I gt v lt I gt to be dimensionless The variables x v and a have the units shown in the table below Variable Units x meters m y meters per second m s seconds s a meters per se
23. for multiple select questions eseesseesee 175 5 4 Fill in the B lank OuestiOns ovii eoe t euro UE oaa EIE resa Eo VR Oo EL eeu dale i Qoa c El reped PUE DOE CE eser te Donc io dU 176 8 4 1 Creating a fill in the blank question ccccccccccccccceccceeaeseeseessseeececececeeeeeeaaaaasssseeeeeeeeeseeeees 176 8 4 2 Controlling case and space sensitivity seseesseessssseessesseseeeeeeeeee nennen nennen enne essen nnns 177 8 4 3 Rank order questions Gto t Ao letto cesta Nite d tes di abies dita iamt v bitte Loops oto iei 178 5 9 NUMICO ONS aa sven bm ie RE tum OS o a emu es TUN Ente t DE E oe M EM LET 179 8 5 Creaune a numerical questIOTb cose cadence el n beso N odio lao idu Moor enia ness 179 8 5 2 Changing the tolerance in a numerical question sess 180 8 5 3 Significant figures using SIGFIGS cunnessione e E E E enn rsen 181 8 5 4 Significant figures using DECFIGS sssssesssssseeeeeeeenee nennen nennen eene 182 5 5 Numerical questrons volt THIS etea Poeta pe vase ETE edu PC RdEO pea teta eun 183 5 0 5 VOC OUESEOTS ao Ed vts rtt Ceuta eee Prod Fase ee aha corn cd e Feud ene D Duda isa 185 SOl Creatine a Symbole GUCSHON a o oscobec ondes cehsadust a dob sdiudewx tem E 186 9 6 2 Lsimb randorized variable suo se nione nexa uita rte iiie le edo e auci m Lio ud mie ON pi USE 188 5 6 3 Displaying a student symbolic response 2 4 eiie tate k oe cRe dads via due Rae eek Oe ua
24. iteml item2 item3 xa picksame itemla item2a item3a gt lt eqn Sy pickone item4 item5 item6 S ya picksame item4a itemba item6a gt lt eqn z pickone item7 item8 item9 za picksame item7a item8a item9a gt Then when you need to use an item in one of the lists you can use the variables x xa Sy Sya z and za If your randomization needs become more complex you may want to use a 2 dimensional array of data An example of this technique can be found in the question named template array 9 3 5 The scinot function The function scinot n1 n2 takes a number n1 and returns an HTML string for nl in scientific notation with n2 significant digits For example Segn SsScrnot 23108 3 displays as 2 31 x 10 It is important to notice that result of scinot is not a number but a string of text 9 3 6 The sigform function The function sigform n1 n2 takes a number nl and returns a number rounded to n2 significant digits If it can display the number without e notation it does If the number cannot be displayed without e notation then e notation is used For example lt eqn sigform 23108 2 displays as 23000 eqn sigform 23000 3 displays as 2 30e 04 9 3 7 Writing a simple question with random values To create a simple randomized question follow these basic steps 1 Format your question with HTML tags Some basic HTML tags for formatting questions are provided in Appendix B 2 Dete
25. mode Java allows you to use not only Java applets in the Question field but also other web based simulations The simulation does not have to be a Java applet It could be Flash or other type of simulation The answer can be coded just like fill in the blank or the simulation can grade itself If you fill in the answer field for a Java mode question the student will have to match the text you enter You can use CASE and SPACE as explained in section 8 4 2 to control whether the case of the answer and spaces in the answer are used when the response is compared to the correct answer You can also use SREDUCE in the same way This flag replaces all duplicate spaces with one space in the student response before comparing with the correct answer If you leave the answer field for the Java mode part of the question blank the simulation must have the following methods Advanced Question Writing 247 Method Explanation isCorrect must return a O or 1 getResponse returns the value of the student s response in a format that setResponse understands cannot contain tabs or line breaks setResponse returns the value that is necessary to send to the simulation to reproduce the student s answers computeFeedback future use If you are using someone else s simulation it must have similar methods but they may be named differently You can then define the WebAssign variables isCorrect computeFeedback getResponse an
26. o bsku Un Opa dudeveanestaous 189 8 6 4 Changing the domain with SDEFAULTVALS advanced essen 189 8 6 5 Changing the tolerance with SMAXERR advanced cccccccccccccecccceeeeeeeeesssseeeeeeeeseeeeeeenaas 190 5 7 AOC hal CUES Ul ONS areca I i cina cts caso Eos sconti sancti anual a eat eben es one end 190 5 7 1 Creatine an albebrdic GQUeSUION asa codd cendi rene tut o bo d i homie Aenea 191 AEE EE A C op 192 5 1 9 JXCCEDUDP equattoris ds dn ANGW Cl sesta etui quia edito E EURO on dd 193 S o BSSa ONES ONS uet ttai dtd d itd rt de adeo ten 194 5 9 Ee Upload OU SONS daririna Neue ue dorotto iR feodo dese a e arrra 196 5 9 LS peciryrne TNC METYE esses reese ccepit Pese need en Eo us oae Pateat ta es d Ue NN 196 6 02 Specifying the maximum Tile SIZE sc iode toe e et o eee v ERE eee e ead ae ee 197 Ss 10 Poll COUeStONSoo scii Sei po E M tI MIU ED EL LEE IDEA 198 8 10 1 Creating a poll multiple choice question 2 rrr e ctore tenuerat t eo Errores eats 198 8 10 2 Creating other types of poll questions eeeeseeeeeeeesesseeeeeeeeeeeeeen n nnnm enne nns 199 SOL Tape Via DOUG SUON S oet sone oso abutere delebo Mentosa e iab alt Beto coo fot bu fesfis ae i abut dodo Dd ebd enda ados 200 5 12 MaC Ins Qes ON uoscoeubepdcsaedisaepcipetLomdoV e Duet Lou dua esa AE imo e snp OUS 203 9 2007 Contents vii EM Rel US FAC LOLS ago sasha E A E creole sli tile atte hala 205 5
27. of east for 3 10 km How far would she have to walk due north and due east to arrive at the same location lt br gt lt _ gt due north lt br gt lt _ gt due east Answer Add tab 1 31 km 2 81 km Display A person walks 25 0 degrees north of east for 3 10 km How far would she have to walk due north and due east to arrive at the same location 1 31 km due north 2 81 km due east 4 Click Redisplay to update the display as it will appear to the students The students will not see the answer in brackets unless they are viewing the key 5 When editing is complete click Save to insert the new question into the database and assign a question ID number to the question The recommended procedure for developing a question is to click Redisplay or Test Preview check that the question redisplays properly and then click Save Always click Redisplay or Test Preview right before you click Save If the answer is expressed as a variable the answer box might look like this lt eqn Sans gt m s Any equivalent answer is scored correct For example for the question above vectors with units the student will receive full credit for entering 1 31 km or 1 31 kilometers Additionally 0 814 mi or 1310 m or 0 271 leagues would also receive full credit Try this out using the Test Preview window Question Previewer I Previewer Tools vectors with units 546464 S
28. or otherwise violate any local state Federal or international law or regulation including but not limited to export control laws and regulations 2 upload post e mail or otherwise transmit any unlawful threatening libelous harassing defamatory vulgar obscene pornographic profane or otherwise objectionable content 3 disrupt the normal flow of communication or otherwise act in a manner that negatively affects other users ability to engage in real time exchanges or 4 interfere with or disrupt the service or servers or networks connected to the services or disobey any requirements procedures policies or regulations of networks connected to the Service Warranty Limitations WEBASSIGN IS NOT RESPONSIBLE FOR ANY INFORMATION OR CONTENT CONTAINED WITHIN WEBASSIGN AND MAKES NO REPRESENTATIONS ABOUT THE SUITABILITY OF THE INFORMATION CONTAINED IN WEBASSIGN FOR ANY PURPOSE OR AUDIENCE OR ABOUT ITS LEGITIMACY LEGALITY VALIDITY ACCURACY CORRECTNESS RELIABILITY QUALITY STABILITY COMPLETENESS OR CURRENTNESS YOU AGREE THAT YOUR ACCESS TO WEBASSIGN AND YOUR USE OF THE SERVICES IS AT YOUR OWN RISK NEITHER WEBASSIGN NOR ITS OFFICERS DIRECTORS EMPLOYEES AFFILIATES OR AGENTS WARRANT THAT THE SERVICES WILL BE UNINTERRUPTED OR ERROR FREE NOR DO THEY MAKE ANY WARRANTY AS TO THE RESULTS THAT MAY BE OBTAINED FROM THE USE OF THE SERVICES OR AS TO THE ACCURACY RELIABILITY SUITABILITY OR CONTENT OF THE SERVICES WEB
29. s leftrtarrow gt lt img src images dblarrow gif alt double headed arrow arrow title double headed arrow gt Partial B5 lt s partial gt lt img src images partial gif alt partial differential derivative title partial derivative gt Cents lt s cents gt lt img src images cents gif alt cents title cents gt 9 2007 APPENDIX D TAGS FUNCTIONS AND VARIABLES D 1 Special WebAssign Tags D 1 1 The lt eqn gt and lt EQN gt tags The lt eqn gt and lt EQN gt tags are special tags developed for WebAssign They take the form lt egn Perl code or eqn Perl code lt eqn gt see section 9 1 for more detail The list of functions available for the Perl code in an eqn tag has been extended beyond just Perl Examples of some commonly used expressions are listed in the following table The result of an eqn tag in a question displays in red The result of an lt EQN gt tag in a question displays in black The key for a numerical question that uses an eqn tag displays at most three significant figures The key for a numerical question that uses an lt EQN gt tag in the answer displays in machine precision You can control the precision of the key by using the EoN tag in combination with the decform function see section 9 3 D 1 2 Functions used in eqn and EON tags Note For all the trigonometric functions avoid generating values of zero except of 0 radians The computer w
30. sub gt y lt sub gt 1 lt sub gt and x sub A2 subo y sub 2 sub 7 Use x L for lt sub gt 1 lt subs y 1 for y lt sub gt 1 lt sub gt etc BR and the Answer box has lt eqn Symbolic addPreviewer x loy lx 2 y 21 5grt tx Z2 x l ztiy 2 y 1 2 The eqn tags above take up more than one line but there should never be a line return in an eqn tag in the Answer field The text will wrap but never enter a line return The following screen shows the question with a correct response Question Previewer distance between two points 291319 Display What is the formula for the distance between the two points 21 711 and xa yo Use x_1 for x _1 for yj etc Eira 22 p1 aa bes eymbolic formatting help Clicking the previewer icon will show the entry displayed in proper mathematical style V 11 T y y y 8 6 4 Changing the domain with DEFAULTVALS advanced The formula the student enters is compared numerically at preset values the domain against the formula saved in the Answer field of the question The default domain 1s 0 123456789012 0 345678901234 0 890123456789 To change the domain set SDEFAULTVALS domain to use using one of the following two methods 9 2007 190 WebAssign User s Manual 4 0 List the values of the domain SHONCSDEFAULTVALS DO1 042 043 2x x7 x 3 Enter a range of integers to use EQN SDEFAULTVALS 6 9 x x x 3
31. the blank or all essay If all the parts are numerical the answer to the first part should be placed on one line with the answer to subsequent parts in their original order on subsequent lines If all the parts are fill in the blank the same is true If all the parts are essay the same is true These are simple multi part questions However if all the parts are multiple choice WebAssign cannot determine where the parts begin and end either in the Question field or in the Answer field The question part does not have an answer box the answer part is on multiple lines If all the parts are multiple select the same is true For this reason when you write a question with multi parts and only one mode but the mode is either multiple choice or multiple select you must treat it as multi mode Multi mode questions are very powerful It is common in many textbooks for example to provide one scenario and then ask as many as three or four questions some with numerical answers some requiring a multiple choice response and even a brief essay to make sure the student understands the concept being taught WebAssign allows you to ask these questions and calls them multi mode questions 9 5 1 Writing a simple multi part question To create a question with several parts but all parts are the same mode and not multiple choice or multiple select follow these basic steps 1 Format your question with HTML tags 9 2007 232 WebAssign User s
32. to end the answer box tag For example change amp 666 7 to lt srce 22 gt 8 Click Redisplay The display now shows the question and a link to the Coordinates tool Display The image below is a model of guanine Please click the center of one of the nitrogen atoms 9 Click the Coordinates link 10 Select rectangle circle or polygon depending on the shape needed for the target area for a correct answer a For a rectangle click the upper left corner then the lower right corner of the rectangle b For a circle click the center of the circle then a point for the radius of the circle c For a polygon click in order the vertices of the polygon The vertices will be connected by a straight line 9 2007 202 WebAssign User s Manual 4 0 Coordinates 138 100 C rectangle upper left point lower right point Click the image once to define the upper lett corner and once again to define the lower right corner circle center point 33 4 radius Click the image ance ta define the center and ance again to define the radius C polygon paints 7 Click the image as needed to define the vertices of the polygon 11 Click Draw Key to view the target area as it will appear in the answer key The target will be listed along with its coordinates 12 Define additional correct areas as in steps 7 and 8 13 Check the boxes next to the shapes and click Add Selected Key to Answ
33. type and WebAssign will automatically expand this to tab for you or you may use the Tab link which is directly above the Answer field 4 Click Redisplay to update the display as it will appear to the students The students will not see the various correct answers in brackets unless they are viewing the key 9 2007 Creating Questions 177 Question Editor Editing American presidents 241312 Last Saved Aug 15 2003 07 24 PM EDT Page Tools Content Name American presidents Mode Fillamcthe Blank Multi Mode Options iauestian My purpose is to be in my action just and constitutional and yet practical in performing the important duty with which I am charged of maintaining the unity and the free principles of our common country lt P gt Who said that c gt Answer Add tab jabrahar Lincoln tab Lincoln tah Abe Lincoln anlutian Display Ivy purpose is to be m my action just and constitutional and yet practical in performing the important duty with which I am charged of maintaining the urity and the free principles of our common country Who said that Abraham Lincoln Lincoln Abe Lincoln 5 When editing is complete click Save to insert the new question into the database and assign a question ID number to the question The recommended procedure for developing a question is to click Redisplay or Test Preview check that the question redisplays properly and then click Save
34. variable s the students are to use if it is not obvious Enter an answer box lt _ gt in the appropriate place for students to record their answer The keystroke combination is less than underscore greater than For example Differentiate the following function lt br gt lt br gt f x 5xsin 3x lt br gt lt br gt f x lt _ gt In the Answer field enter your variable s and the formula that is the answer to the question For the example above x diff 5 x sin 3 x x command syntax for derivatives is diff x x where f x is a function The comma x to take the derivative with respect to x For single variable answers the variable declaration is not necessary Also notice that multiplication must be explicit in the answer key The student does not need to enter the but Variable names have the same rules as for symbolic questions 9 2007 192 WebAssign User s Manual 4 0 Question Editor Editing My First Algebraic Question 711655 Last Saved Jun 11 2007 04 17 PM EDT De Content Name My First Algebraic Question Mode Algebraic beta Multi Mode Options Question Differentiate the following function Display Differentiate the following function fix Sxsin 3x E S e eSa 8 7 2 Use of evalb 9 2007 There are many important cases where you do want to evaluate the response of the student You can accomplish this by entering a tab evalb expression
35. write a better question A major example would be to randomize values in a question which is described in the next section Variables are initialized in special eqn tags There are differences between lt eqn gt and lt EQN gt see section 9 1 3 Both tags take the same general form lt eqn Perl cod gt Code Comment e defines the beginning of the statement egn indicates that a string of Perl code to be executed will follow A space must follow to separate eqn from the code to be executed Perl code is one or more Perl statements separated by semicolons gt defines the end of the tag The Perl code contained within an lt eqn gt tag cannot include a greater than sign because that sign is interpreted as the end of the lt eqn gt statement If you would like to use a greater than logical symbol you can invert your logic to avoid using this sign For example Sheight gt 12 is equivalent to 12 height Or you can use the alternate form of the eqn tag The alternate form of the eqn tag takes the general form lt eqn gt Perl code egn If you need to include HTML code in your Perl code you must use this alternate form If the last statement inside an lt eqn gt tag is two quotes called a NULL string all the statements are executed but nothing is printed The following examples show what happens to lt eqn gt tags when the question is displayed to the students The
36. you are creating an assignment later you will be able to easily identify your questions and add them to your assignment Then decide what kind of question you are going to write and select the appropriate mode from the pulldown Mode menu Notice that the entry boxes for the question answer and solution are sizeable You can click the triangles and decrease or increase the size of the editor boxes The size remains with the question when you save When you choose Create from the Questions menu the sizes of the question answer and solution box return to their default size Next in the Question field you will enter the text of the question you are writing You may either type in this text directly or cut and paste it from another program For most questions plain text is all that is required If you want to use special characters or formatting such as superscripts or subscripts italics or boldface you can use HTML Any valid HTML can be used in a WebAssign question including tables images and animations Tables are entered using the HTML TABLE tag Fonts can be changed using the lt FONT gt tag Figures can be uploaded into WebAssign using the My Files Page Tool and easily displayed in the question with the options in My Files If you want to include a simulation such as a Java applet or a Shockwave file WebAssign supports it The application file can reside on your server or we can mount it on WebAssign Sound as well as movies
37. 2 Multi Mode questions and S ECTI ON tags wo ccc cccessecceesseeceesseeccessseeeeesseeceesseeeeesnes 233 9 5 3 Write amuli modegu sti oM acu dese rca e E E ee chavnceus numer 234 OG sine Java Sempre I O Ue SHODSS s o ooo irte onde oven Se twhade natstounas ie pre A 237 DO sits Java Settp d IOf GL 353 EE ES E E E E E E A ETE E E E EE EE ERA 231 9 6 2 Using JavaScript with applets in WebAssign sse mener 238 9 7 Post Processing Student RESPONSES xo ttu mL td het esto E P ut uote dnt ax bt res a E udo 244 9 7 1 Forcing two or more correct answers into one for grading eessssssssseeeeeeeeeeeeenen 244 9 7 2 Preserving one answer to evaluate another otec a N 244 oS Usine Perl Modules and Pulictofissosuiad een mata onmot orca qat er samo na ve Leap reu rt aan a oe Ca acras 245 2 5 1 Usme runetr ns From a Perl mod le stupet oae loge Samoa cu ap contrate aue hob dadas vea tires obo due 245 0525 WINS VOUT OW FUHe HOS c coi aos pea ELE dep I pxot IU rau ale Cea bunte pea Boc Edo TOM Led 20 Lb twreatinds 246 oo Creaune Java Type QUESLHOfIS cit cddoets editt esie ta c tud ao aides tut etis ebotud ao eduoetutdi ut uut eed eed uds 246 9 2007 viii WebAssign User s Manual 4 0 OD MOE TAU Hy TOUS ONAN undo due mvexton ettet cc bester E Raro Mete deo da midst nores dus nudes 249 LN FOSSE MiND is pa T 240 9 10 2 Expressions avaiablean Math Display 1 ostii tes euin Se
38. 3 gt in the first line of the Answer field The SoRDERED variable is not necessary for a pulldown menu but it can be used if you want to control the order of the choices rather than let WebAssign randomize the order within the pulldown menu 5 Type the first answer choice followed by a return On the next line type the next choice and so forth In this example and in the following figure the correct answer is on line 3 Continue entering as many choices as you wish one per line 6 The first choice that is displayed to the student in the pulldown menu is Select If you want to use something else for this initial text use Select Option new text For example lt eqn SPULLDOWN 1 SORDERED 3 Select Option Use pulldown menu M Ww gt This can be handy for example 1f you are using a pulldown menu in the middle of a sentence with choices of lt and gt and do not want the box to be very large In this case use something similar to or as the initial text to be displayed The eqn tags above take up more than one line but there should never be a line return in an eqn tag in the Answer field The text will wrap but never enter a line return Content Mame millennium Mlode Multiple Choice Multi Mode Options Question The year 2001 belongs to the lt _ gt millennium Answer Add tab lt eqn PULLDOWN 1 O0RDERED 3 first Display The year 2001 belongs to the
39. 4 POINTS POINTS 1 5 makes the value of a question 1 5 times more until 24 hours before the due date when the value returns to its assigned weight Can also be used with arguments of days or minutes amp beforeDue days amp beforeDue minutes t WebAssign only not a Perl function D 1 3 Additional WebAssign tags WebAssign Tags Description SECTION The SECTION tag is used to mark a change in the mode of a multi mode question It marks the change in both the question part and the answer part see section 9 5 for more detail SECTION NOBR gt If NOBR is added to SECTION tag SECTION NOBR in the question no lt br gt tag will be printed between modes lt lt The answer box lt _ gt tag is used in the Question field to indicate where the entry box for the student response should be placed see section 8 4 lt SYMBOLIC gt The position of the symbolic formatting help link can be controlled with the SYMBOLIC tag By placing the SYMBOLIC tag within the symbolic mode of the question you can specify the exact placement of the link rather than the default at the end of the question 9 2007 340 WebAssign User s Manual 4 0 MARK The position of the correct and wrong marks can be controlled with the MARK tag By placing the MARK tag you can specify the exact placement of the marks rather than the default position HINT The p
40. 4 animator d efault html The code to be deleted from steps 3 and 4 is highlighted Christian Wolfgang and Belloni Mario Physlets Teaching Physics with Interactive Curricular Material Prentice Hall 2001 9 2007 240 WebAssign User s Manual 4 0 9 2007 Script Llangquage Javascript gt e qms wc ges function init ppleti xStr vS5tr document animator setDefaulti l document animator serTimelIntervali 0 1 8 document animator setPixPerUnit 75 document animator setb5ridUnit U l document animator shiftPix rigini 75 75 id document animator add bjecti rectangle Ww l150 hzl 0 x21 32 0 15 document animator setRGBiid n 0 255 id daocument animator add bjecti circle r l10 1 7 document animator setTrajectoryiid l 5 rt steprl 7454d t istep 63888 t iZ 4 9 t t c stepit 53888 5 422 it 0 63888 1 9 t n 63888 t l 53888 1 1 1 document animator setBEbBiid z55 0 01 document animator setTrailiid 3 001 document animator setlaption Demo 1 document animator forwardi lt script gt AAA 2 7 JJ 2 zapplet code animatord nimator clazsz cadebasez applets classes archive Animatord jar STaools4 jar name animator width 400 heiught 300 hspace 0 vspace n aliuyn Middle param name FPS value 10 param nane Shov Controls value true gt param name dt value 0 01 gt param name PixPerUnit
41. 45 5 returns 2 345 eqn round 2 345 returns 2 35 scinot nl n2 Takes a number n1 and returns an HTML string for n1 in scientific notation with n2 significant digits Example eqn scinot 23108 3 gt displays 2 31 X 104 commas n1 Takes a number n1 and returns a text string for n1 with commas Example lt eqn x 1e5 randnum 20 70 1 commas x returns something like 2 000 000 Spaces n1 Takes a number n1 and returns a text string for n1 with spaces instead of commas Example eqn spaces 990342 returns 990 342 Spell number integer Returns the number written in words Example lt eqn spell number 45 retums forty five eqn spell number 3180 retumrns negative three thousand one hundred eighty sciform n1 n2 Takes a number n1 and returns a number in E notation with n2 significant digits after the decimal point Example lt eqn a sciform 0 0002346789999 3 returns 2 347e 04 9 2007 338 WebAssign User s Manual 4 0 sigform nl n2 Takes a number n1 and returns a number for n1 with n2 significant digits using E notation if necessary Example sigform 23108 3 displays 23100 sigform 23000 3 displays 2 30e 04 sqrt expr Returns the square root of expr Example sqrt 25 returns 5 stdev n1 n2 n3 Computes the standard deviation of a list of numbers Sum 12st Returns the sum of a list of numbers or of a ran
42. 56 returns 0 001 9 2007 Appendix D Tags Functions and Variables 339 combination n m Returns the number of different sets of m items that can be picked from a domain of n items Example combination 4 2 returns 6 permutation n m Returns the number of unique sets of m items that can be picked from a domain of n items ab is different from ba Example permutation 4 2 returns 12 lt eqn distr cdf normal mu 16 s 4 x 10 gt or eqn distr pdf binomial nel p 0 5 23 Returns the P value corresponding to P x lt 2 on N 16 4 cdf is the cummulative density function and pdf is the probabilty density function cdf and pdf can be binomial pareto weibull nbinomial chi2 bernoulli nbinomial snedecorf gamma studentt exponential normal chi2 geometric beta poisson cauchy uniform lognormal snormal The parameters needed for any distribution can be determined by redisplaying a question with eqn distr cdf name of distribution entered in it The error messages will inform you what is needed normd u variance nn Returns a random point from a normal distribution with user defined parameters as long as you use nn gt 30 or so tactoraalutn Returns the factorial of the number n Example eqn factorial 5 returns 120 amp beforeDue Returns the number of hours before the due date an assignment is submitted Example lt eqn amp beforeDue 2
43. ASSIGN AND THE SERVICES ARE PROVIDED ON AN AS IS AS AVAILABLE BASIS WITHOUT REPRESENTATIONS OR WARRANTIES OF ANY KIND EITHER EXPRESS OR IMPLIED INCLUDING BUT NOT LIMITED TO IMPLIED WARRANTIES OF MERCHANTABILITY FITNESS FOR A PARTICULAR PURPOSE OR AUDIENCE AND NON INFRINGEMENT IN NO EVENT WILL WEBASSIGN OR ITS DIRECTORS OFFICERS EMPLOYEES AFFILIATES OR AGENTS BE LIABLE TO YOU OR ANY THIRD PARTY FOR ANY INCIDENTAL INDIRECT SPECIAL OR CONSEQUENTIAL DAMAGES EVEN IF WEBASSIGN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES ARISING OUT OF YOUR USE OF OR INABILITY TO ACCESS WEBASSIGN OR USE THE SERVICES INCLUDING WITHOUT LIMITATION LOSS OF REVENUE OR ANTICIPATED PROFITS LOSS OF GOODWILL LOST BUSINESS LOST DATA COMPUTER FAILURE OR MALFUNCTION OR ANY AND ALL OTHER DAMAGES OR LOSSES THAT RESULT FROM MISTAKES OMISSIONS INTERRUPTIONS DELETIONS OF FILES ERRORS DEFECTS VIRUSES DELAYS IN OPERATION OR TRANSMISSION OR ANY FAILURE OF PERFORMANCE WHETHER OR NOT LIMITED TO ACTS OF GOD COMMUNICATIONS FAILURE THEFT DESTRUCTION OR UNAUTHORIZED ACCESS TO WEBASSIGN S RECORDS PROGRAMS OR SERVICES BECAUSE SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES IN SUCH STATES WEBASSIGN S LIABILITY IS LIMITED TO THE GREATEST EXTENT PERMITTED BY LAW Indemnification You agree to indemnify and hold WebAssign and its affiliates officers agents partners and employees ha
44. Always click Redisplay or Test Preview right before you click Save 8 4 2 Controlling case and space sensitivity Fill in the blank questions are by default case and space insensitive In the above example asking who said the quote abe lincoln lincoln and Abelincoln would all be counted as correct To make fill in the blank questions case sensitive set the SCASE flag to 1 To make questions space sensitive set the SSPACE flag to 1 9 2007 178 WebAssign User s Manual 4 0 Question Editor Editing American presidents 291312 Last Saved Aug 15 2003 07 24 PM EDT Page Tools Content Name American presidents Mode Fill in e Blank Mutti Mode Optians auestian My purpose is to be in my action just and constitutional and yet practical in performing the important duty with which I am charged of maintaining the unity and the free principles of our cormmon country lt P gt Who said that lt gt Answer Add tab anlutian Display Why purpose is to be m rey action just and constitutional and yet practical m performing the important duty wath which I am charged of maintaining the urit and the free principles of our common country Who said that Abraham Lincoln Lincoln Abe Lincoln In the example above an entry of lincoln or Abelincoln would be graded incorrect The eqn tags above take up more than one line but there should never be a line return in an eqn tag in t
45. Click Redisplay to update the display as it will appear to the students The students will not see the answer in brackets unless they are viewing the key 5 When editing is complete click Save to insert the new question into the database and assign a question ID number to the question The recommended procedure for developing a question is to click Redisplay or Test Preview check that the question redisplays properly and then click Save Always click Redisplay or Test Preview right before you click Save 8 5 2 Changing the tolerance in a numerical question 9 2007 By default a student s answer must be within 296 of the correct answer We publish in the student guide that the tolerance is 1 so that there will be less arguments about close answers However you can change this tolerance for each question For example to allow a tolerance of 5 for an answer of 90 enter the following into the Answer field 90 tab 5 You may type and WebAssign will expand this to tab for you or you may use the Tab link which is located directly above the Answer field To allow a tolerance of 15 for an answer assign the answer to a variable for example a and then make the tolerance a fraction of that variable For example enter the following into the Answer field Creating Questions 181 lt egn Sa Sx Sy gt tab lt eqn 0 15 Sa It is also possible to change the tolerance for particular questions on an assignment
46. For example if the answer includes a square root will need to evaluate this in order to understand it In the example below the student is asked for the 2 roots of a quadratic equation The answer will include a square root The evalb statement will runa evaluation on thisresponse and compare it to the key Creating Questions 193 TestiPreview die T Show Mew Randomization Reload From Editor Question solve the equation by the method of your choice cor lt br 2x lt sup 2 lt 7 sup 13x 12 lt br gt lt br gt x lt _ gt larger value lt br gt x lt _ gt smaller value Answer 13 sqrt 13 2 4 2 12 2 2 tab evalb key response 13 sqrt 13 x2 4 x2 x12 2 2 tab evalb key response Display Solve the equation by the method of your choice ne 13x 12 20 X 13 4 1 4 7 3 1 2 larger value xz 13 4 1 4 7 3 1 2 smaller value 8 3 Accepting equations as an answer Another use for evalb is to be able to accept any form of an equation In symbolic mode the only way to ask for an equation is to give the student the y part and ask them to fill in the rest This forces a certain form of the equation for example slope intercept Using algebraic mode can check that the answer key equation and the student s input are equivalent The entire equation is given as the key and the evalb statement solves both the answer key equation and the student s response equatio
47. Note that 6 9 is equivalent to 6 7 8 9 It is recommended that you keep the domain to four or fewer values in order to avoid long computation times It is also possible to provide different domains for each variable in a multi variable symbolic question To do this specify SDEFAULTVALS in one of the following ways To override all variables with the same values RON SDERAUBTVALS 3S4 5 x vs 25t1 0x2 1 1932 To override one variable but leave the other alone lt EON SDEFAULTVALSe I3 4 5 1 g UV x vi 2p174 x 22 y2 To override each variable with different values ZsRON SDERAUhTVALS S 3S24514 D6 9 5 5x ve 2p x 1 0 2 Or EON SDEFAULTVALSS 0 T17 092 0 9 52 165 9 5x vy 2pi x Td yep The eqn tags above take up more than one line but there should never be a line return in an eqn tag in the Answer field The text will wrap but never enter a line return 8 6 5 Changing the tolerance with SMAXERR advanced The formula the student enters will be compared against the answer formula at each element of the domain to determine if the formulae are equivalent The default maximum error that will be accepted for any range element for the two formulae to be considered equivalent is 1E 3 To change this tolerance use EON SMAXERR value gt var formula where value is the maximum error to be allowed For example you could set SMAXERR 1E 2 to allow 0 333 to be considered equivalent to 1 3 You ca
48. Question Editor Editing weight vs mass 242868 Last Saved Jun 27 2004 Page Tools Duplicate Redisplay My Files Content Marne weight WE mass Mode Multiple Choice Multi Mode Options Question Does a z kg solid iron brick have twice as much weight as a 1l kg solid iron brick Answer Add tab eqn ORDERED 3 syes no maybe Display Does a 2 kg solid iron brick have twice as much weight as a 1 kg solid iran Brick C yes Ci jna C o maybe 9 When you have finished editing click Save to add the new question to the database This will also assign a unique question ID number to the question The recommended procedure for developing a question is to click Redisplay or Test Preview check that the question redisplays properly and then click Save Always click Redisplay or Test Preview right before you click Save 8 2 3 True or false questions A true or false question is a simple form of a multiple choice question Just enter the correct answer True or False first followed by the incorrect answer It is also possible to keep the choices in the same order by entering either of the following expressions on the first line of the Answer field lt eqn SORDERED 1 gt lt eqn SORDERED 2 gt where the value of the SORDERED variable is the position of the correct answer and the choices are not rearranged in the student view of the question See section 8 2 2 for more information ab
49. Right angle rangle Right arrow Long right arrow Left arrow Long left arrow Left Right arrow Right harpoon Left harpoon LetFight harpoon Double right arrow Double left arrow eltelt Titi L Double left right arrow Ellipsis Vertical ellipsis Diagonal ellipsis Bold 9 10 3 Defining a variable for a Math Display image When you use a symimage or Symbolic Image WebAssign creates the Math Display image on our servers and the image can be accessed at a URL This leads to the ability to reference the image by using a variable name If the following expression is in a question RON Svar Symbolic image x 2Z y 2 W nothing prints due to the last statement the empty string However later in the question you can use var wherever you want the Math Display image to appear You could also use var in hints or solutions 9 2007 256 WoebAssign User s Manual 4 0 9 11 Images and HTML Shortcuts 9 11 1 Creating images with the s tag We have added a new tag to make including symbols in your questions easier Rather than entering a long img tag or the amp notation of HTML entities we have provided a simpler means to access our large collection of symbols and images found on our servers and in HTML The notation s symbo1 will produce the named symbol when the question is displayed The symbol may be displayed using an image or an HTML entity the linking is done in the background on our server da
50. Show New Randomization Reload From Editor 6 FEBRE Iii 43 4 Code Show New Randomization Reload From Editor Touchdown on the Moon A lunar lander is making its descent to Moon Base Fig 2 36 The lander descends slowly under the retro thrust of its descent engine The engine is cut off when the lander is h 5 5 m above the surface and has a downward speed of 0 8 Question m s With the engine off the lander is in free fall What is the speed of the lander just before lt b gt Touchdown on thf it touches the surface The acceleration due to gravity on the moon is 1 6 m s to Moon Base I Fi m s retro thrust of it lander is lt i gt h lt i gt the surface and ha 5 9 1 10 1 mis What is the speed The acceleration d m s lt sup gt 2 lt sup gt lt b 3lalt git border Mode Numerical Answer Add tab lt eqn v2 sqrt v 1 Figure 2 36 From the Question Previewer window you can submit just as a student would You can click to show or hide the Score Mark Help Hints Key and Solution If you want to see what another randomization would look you can click Show another Randomization If you go back to the Question Editor window change something and then click the Previewer window you can click Reload from Editor You can get to the Previewer window from the View link next to any question on an assignment in High Detail of Class View or in the results of a search Clas
51. Sides does a circle have cBR lt _ gt lt BR gt lt i HREF Javaicript GiveHint lt EQN j numdnim gt gt Hint lt A gt Answer Add tab Solution A circle has 2 sides inside and outside Question Previewer JavaScript hints 414911 EIET a eile DM YEY Hide All Hidden Wark Help Hinte Key Solution TestPreview Show new Randomization Reload from Editor G8 Details 9 6 2 Using JavaScript with applets in WebAssign Some WebAssign instructors are using Java applets in WebAssign questions Here are the steps for putting an applet into a WebAssign question 9 2007 Advanced Question Writing 239 1 Find the applet that you want to copy Right click somewhere on the page and go to View Source This will pop up a text box of code This is the code you will need to use 2 Copy the source into a text editor or even Microsoft Word This is where you will do much of the preliminary editing of the code Switch to a font such as Courier that will evenly space each character 3 Delete the lt htmi gt and lt body gt tags at the beginning and the lt htmi gt and body tags at the end of the code WebAssign takes care of formatting the page for you 4 Delete the lt head gt lt head gt tags and the text between except for the lt script language JavaScript part Here is an example of code copied from Wolfgang Christian s Physlet site http webphysics davidson edu physletprob ch1
52. WebAssign User s Manual WebAssign Support Notice This document contains only chapters and appendices of the User s Manual that relate to question coding Original chapter and page numbers were retained for your convenience Please use the Bookmarks that display on the left to navigate to a specific chapter number while you are viewing the PDF online Some of the material contained in this document is outdated An update to the original User s Manual is in progress Please refer to the WebAssign Essentials Guide for instructions regarding commonly performed WebAssign tasks 9 2007 WebAssign User s Manual Version 4 0 is published by Advanced Instructional Systems Inc 2003 2007 by Advanced Instructional Systems Inc All rights reserved Printed in the United States of America 09252007 Under the copyright laws neither this documentation nor the software may be copied in whole or in part without the written consent of Advanced Instructional Systems except in the normal use of the software Questions in the database that are identified with a specific textbook have been used with the permission of the publisher who owns the copyright Order the WebAssign service from WebAssign Centennial Campus 1730 Varsity Drive Suite 200 Raleigh NC 27606 Web http webassign net Tel 800 955 8275 or 919 829 8181 Fax 919 829 1516 E mail info webassign net User s listserv listserv webassign net WebAssign
53. an image using the saved attributes Add File to Question Paste location af file selected below E Image Attributes use saved attributes Destination Field Question My Folders Modify Selected tems zy EF New Folder e Import File Hame Size Type Last Modified C chem 1 item Folder Sep 27 2005 12 32 PM EDT C chem Il 8 items Folder Sep 27 2005 12 32 PM EDT ce Organic 0 items Folder Sep 27 2005 12 33 PM EDT detailed scure gif 2 43K File Feb B 2005 07 44 PM EST hydrocarbon 2 gif 1 23 K File Sep 27 2005 03 42 PM EDT svllabus htrmi TUSK File Jan 29 2005 04 07 PM EST Modify Selected Items The paste puts the following image tag into the question the id number will be different for you lt userimage 24324 The position of the image in your question depends on where you put the image tag You can center your image on the screen if you like To do this put your image tag inside a paragraph tag e g lt P ALIGN CENTER gt lt userimage 24324 gt lt P gt Note that you do not need to re upload an image to use it in other questions and you do not need to enter the properties Just use the My Files Page Tool and paste the image as described in steps 8 and 9 above If you would like to change the size of your image you can edit the lt userimage 24324 gt to be lt userimage 24324 width gt 200 height gt 200 gt Any attributes that would norma
54. assignment 9 2007 APPENDIX C GREEK LETTERS AND SYMBOLS Symbol Symbol Namespace Method Image Location and Filename Tag Name Alpha a lt s alpha gt lt img src images alpha gif alt alpha title alpha gt Capital A lt img src images alphacap gif alt capital alpha Alpha title capital alpha gt Beta B lt s beta gt lt img src images beta gif alt beta title beta gt Chi X Sero img src images chi gif alt chi title chi gt Delta s delta lt img src images delta gif alt delta title delta gt Capital Delta A lt s Delta gt lt img src images deltacap gif alt capital delta title capital delta Epsilon lt s epsilon gt lt img src images epsilon gif alt epsilon title epsilon gt Eta lt s eta gt lt img src images eta gif alt eta title eta gt Gamma Y lt s gamma gt lt img src images gamma gif alt gamma title gamma gt Capital D lt s Gamma gt lt img src images gammacap gif alt capital gamma Gamma title capital gamma gt lota L lt s iota gt lt img src images iota gif alt iota title iota gt Kappa K lt s kappa gt lt img src images kappa gif alt kappa title kappa gt Lambda X s lambda img src images lambda gif alt lambda title lambda Capital A lt s Lambda gt lt img src images lambdacap gif alt capital lambda Lambda title capita
55. atform in which to assign and grade homework in order to assess student performance and comprehension The Service can also be used for quizzes and testing depending on the instructor s application of the system The Service enables instructors to post of online class discussion internal communications grades schedule of class events class notes and syllabi We may offer other features in the future or change or eliminate current features at any time All of the features of the Service are subject to these TOU Use of Account To use the Service you will need a username institution and password Student usernames are provided to WebAssign by an instructor the institution name is determined by WebAssign and the initial password is provided by the instructor You should change your password before starting to use the Service to prevent unauthorized access to your assignments To facilitate communication and for retrieval of a new password we use email addresses You are solely responsible for maintaining the confidentiality of your username and password Furthermore you are responsible for all activities charges and liabilities associated with your account You must immediately notify WebAssign of any unauthorized use of your account In the event that you are a minor WebAssign reserves the right to provide access to your account to your parents guardian or other authorized adult upon such adult s request Content Any conte
56. atives format randomized numbers and otherwise control the process of creating any question with random elements Functions used to create randomized questions include Function Explanation randnum Selects a random number according to ranges you specify in the syntax of your statement The range and increments must be integers decform Specifies the decimal format of any number to be displayed for example to preserve significant digits or monetary units pickone Selects one item from a list that you specify picksame Provides another item corresponding to each value specified in a pickone function sum Calculates a sum of the numbers you specify scinot Formats a number in scientific notation for display in a browser sciform Formats a number to a specified number of significant digits using E notation if necessary Other functions are described in Appendix D In addition to these functions any normal Perl function can be used to create calculate and manipulate values in randomized questions Some basic Perl operators and functions are provided in Appendix D as a brief reference More information is available in any Perl user s manual for example Learning Perl 2nd Ed by Randal L Schwartz 1997 CGI Programming on the World Wide Web by Shishir Gundavaram 1996 Programming Perl 2nd Ed by Larry Wall and Tom Christiansen 1996 and Perl 5 Desktop Reference by Johan Vromans 1996 All ti
57. b are connected in series ta a 3 volt power supply 2 What is the power delivered ta the first bulb WW DB What is the power delivered to the second bulb Wi r1 What is the total power delivered by the battery AW submit for Testing b Examine your question to make sure all elements are included and randomization is working properly 6 Save your question Click Save to save your question to the database 9 5 2 Multi Mode questions and SECTION tags SECTION tags are used to mark the change from one mode to another in a multi mode question both in the question and in the answer If you want to change modes and have a numerical part followed by a fill in the blank part WebAssign needs to know where the mode changes in the question and in the answer lt SECTION gt tags mark the division between modes When you want to create a multi mode question do not select from the pulldown menu Instead click Multi Mode Options and in the popup window that opens click the modes in the sequence they will be used The label in the pulldown menu will reflect this sequence with abbreviations C for multiple choice S for multiple select E for essay N for numerical B for fill in the blank M for matching Q for symbolic I for image map F for file upload J for Java and P for poll The following example shows a question with one or more numerical N parts followed by one or more fill in the blank B parts followed by a
58. blank ones with an answer box for the student s response The grading of numerical answers is according to numerical closeness and not the exact form of the number For example 2 2 0 2 01 and even 1 1 are considered matches for a numerical answer of 2 8 5 1 Creating a numerical question To create a numerical question choose Create from the Questions menu and perform the following steps L 2 Enter a name for the question and select Numerical as the Mode of the question Enter the question text in the Question field Enter an answer box lt gt in the appropriate place for students to record their answer The keystroke combination is less than underscore greater than Enter the correct answer to your question in the Answer field 9 2007 180 WebAssign User s Manual 4 0 Question Editor Editing vectors 291315 Last Saved Aug 15 2003 07 20 PM EDT Page Tools Duplicate Redisplay My Files Content Mame vectors Mode Numerical Mutti hdode Options Guestion person walks 25 0 degrees north of east for 3 10 Em How far would she have to walk due north and due east to arrive at the same location lt br gt z gt km due north lt hr gt z gt km due east Answer Add tab anlutian Display A person walks 25 0 degrees north of east for 3 10 kr How far would she have to walk due north and due east to arme at the same location 1 31 km due north 3 51 km due east 4
59. cdet obese dome derbi mtr iee deor us etica ree o tee dU o obtuso itn ceudbatos 339 12 2 WebAssion Reserved VarrableS ouis iiio e 409 1200 RIT YT ERRUE ESI BPCO PI QUU o IRR eedeanesoreaaa yale 340 1 5 WEDASSIOTI EOS eaan osoretent botes ie tiae ced out teen d c oO oto sen oo ove an iesu ab cedo aos enfdos 342 12 4 WebASsIen Internal ValueSasiudsioeoa uten iin esbq E cune be tutu Udo anim ub taU adul oesud Bep Osu deo dis 342 DSM Mere Le PerbExpresstODlS o assvi oet petes oC ut os swpa i nant 2a sls nee esie ME ES D QU ratea eons 344 TERMS OF USE 345 9 2007 8 CREATING QUESTIONS You can create your own questions in WebAssign The exact method for creating a new question depends upon the mode of your question Multiple choice questions for example are entered a bit differently than questions with a numerical answer The difference most frequently lies in the way answers are entered into WebAssign 8 1 Question Editor To write new questions select Create from the Questions Menu or click Question on the Quick Create tool 162 WebAssign User s Manual 4 0 9 2007 Question Editor New Question Not saved Save TestPreview ueIcai Redisnay Ren tes eee Content Name Mode Multiple Choice Y Multi Mode Options Question The Questions Editor appears This is where all questions are created and modified First decide what name you will give your question and enter it That way when
60. ckly Of course this could become cumbersome for students for example if a long scenario appears in several questions or if students wonder if some element has been changed from one question to another Making thoughtful judgments and providing specific instructions in class might help resolve any difficulty that could arise when using this alternative method When considering how to create questions also consider how to name each one Because each question whether it was originally a single question or part of a question is entered into the database as a separate entity it 1s important that each question be able to stand alone without any missing information or explanation 8 16 Question Editor Features 8 16 1 Testing and previewing questions 9 2007 Testing questions before students try them is important Students will complain if their correct answer is marked wrong WebAssign provides an opportunity for you to try out the question to check the answer algorithm and to see if the randomized values make sense After you have entered a question you can test or preview it Click the Test Preview link at the top or bottom of the Question Editor This test uses the information you have entered in the Question Editor it is not necessary to save the question first Creating Questions 209 Question Previewer Question Editor Previewer Tools Show All In View Hide All Hidden Mark Help Hints Key Solution
61. cond squared m s Is tt possible for xlv to be dimensionless 4 Fonts What is tan lt FONT FACE SYMBOL gt q lt FONT gt if lt FONT FACE SYMBOL gt q lt FONT gt 30 amp deg What 1s tano 1 6 3077 5 Figures 9 2007 164 WebAssign User s Manual 4 0 9 2007 What kinds of intermolecular attractive forces are present in lt IMG SRC brh3 pli1 94a gif alt acetic acid gt What kinds of intermolecular attractive forces are present in Java applet lt applet archive classes mass_spring wileyapplets jar code Sim8 class name sim8 width 508 height 400 VIEWASTEXT gt lt param name background value ffffff gt lt PARAM NAME filel VALUE pictures s8 bg jpg lt PARAM NAME file2 VALUE pictures ball40x40 gif lt PARAM NAME file3 VALUE pictures n slider gif lt PARAM NAME file4 VALUE pictures n play gif lt PARAM NAME file5 VALUE pictures n reset gif lt PARAM NAME file6 VALUE pictures n pause gif lt PARAM NAME file7 VALUE pictures n stforw gif lt PARAM NAME file8 VALUE pictures n stback gif lt PARAM NAME file9 VALUE pictures n check gif lt PARAM NAME filel10 VALUE pictures n cleartrace gif lt PARAM NAME mediabase VALUE classes mass_spring gt lt applet gt lt P gt Experiment with the spring mass system See what happens when you choose different values for the mass and initial velocity To change a value click reset fir
62. d setResponse to be the methods the simulation uses For example if the simulation has a method named isTrue you would enter the following in the Question field lt eqr SisCorrecty astrue p T gt If you override the setResponse method you must make sure that the argument to your method is thisresponse For example if your simulation has a method named mySet you would enter the following in the Question field lt eqn SsetResponse mySet thisresponse gt To write a Java mode question using a Java applet 1 Write or find a Java applet 2 Enter the applet information in the question box For example if the required methods were in the Diagrammer applet the Question field would have the following lt APPLET ARCHIVE VectorDiagrammer jar CODEBASE userimages username institution CODE wassps vectorDiagrammer VectorDiagrammer class NAME Diagrammer EQN numAnim WIDTH 400 HEIGHT 300 HSPACE 0 VSPACE 0 ALIGN middle gt lt PARAM gt lt PARAM gt lt APPLET gt 3 Enter the text of what you want the student to do if necessary For example You are dragging a 20 kg box across a level floor by means of a rope attached to the box The rope is at a 30 lt sup gt o lt sup gt angle from the horizontal and you are exerting a force of 100 N as you walk at a constant pace towards the right Below draw the free body diagram for this situation 4 Do not enter a
63. e 1 2 picksame yellow white light Answer lt eqn gt Sa 1 SORDERED 2 3 SORDERED 2 3 4 eqn magenta red green blue purple The eqn tags above take up more than one line but there should never be a line return in an eqn tag in the Answer field The text will wrap but never enter a line return See Appendix D section D 5 for an explanation of the if then else structure above 8 4 Fill in the Blank Questions A fill in the blank question presents a question or statement with an answer box into which the answer can be typed By default the answer and response are compared in a case insensitive manner and white spaces are ignored For example Abraham Lincoln abraham lincoln and AbrahamLincoln would all be considered equivalent answers 8 4 1 Creating a fill in the blank question To write a fill in the blank question choose Create from the Questions menu and perform the following steps 1 Enter a name for the question and select Fill in the blank as the Mode of the question 2 Enter the question text in the Question field Enter an answer box in the appropriate place for students to record their answer The keystroke combination is less than underscore greater than 3 Enter the correct answer to your question in the Answer field If there are several acceptable answers enter all of them on the same line separated only by the characters tab You may simply
64. e essay questions choose Create from the Questions menu and perform the following steps 1 Enter a name for the question and select Essay as the Mode of the question 2 Enter the question text in the Question field Enter an answer box in the appropriate place for students to record their answer The keystroke combination is less than underscore greater than 3 Enter an exemplar answer to your question in the Answer field If you do not want to provide an exemplar answer you can simply type Essay or any text in the Answer field This text is not displayed to your students until they see the key 4 Click Redisplay to update the display as it will appear to the students The students will not see the Key unless they are viewing the answer key 9 2007 Creating Questions 195 Question Editor Editing importance of math to Last Saved Aug 18 2003 10 35 AM science 291610 E Page Toals Content Mame importance of math to science Mode Essay F Multi Made Options auestian Why is mathematics important to science z lt BRe lt gt Answer Add tab Mathematics is the international clear language of science Solution E Display Why ig mathematics important to science Key Mathematics is the international clear language of science 5 When editing is complete click Save to insert the new question into the database and assign a question ID number to the question The recommended procedure
65. e should never be a line return in an eqn tag in the Answer field The text will wrap but never enter a line return 9 2 2 Controlling placement of the hint In the above example the hint displays between the answer box and the unit If you want the hint to display after the units you can use the lt HINT gt tag Wherever you place the HINT tag the hint will display Content Name Simple question with hint Mode Numerical Question Multi Made Options What is the acceleration due to gravity Assume the positive direction is upward lt BR gt gt m s lt SUP gt 2 lt SUP gt lt HINT gt Answer Add tab eqn HINT O lt thisresponse Check the sign of your answer 0 8 Question Previewer gt F Previewer Tools Simple question with hint 71114 peq Show Al Me Hide All In Views Mark HelpiHintz Hidden Key Solution Show new Randomization Reload from Editor amp Details What is the acceleration due to gravity Assume the positive direction is upward a s X m s Check the sign af your answer Test Preview submit for Testing 9 2007 220 WebAssign User s Manual 4 0 9 2 3 The HINT variable The WebAssign variable HINT can only have one value in each section of a question Since SHINT is initialized between sections you can give one hint per section For example the following image shows a question with two numerical parts B
66. e to the location of your image hydrocarbon12 gif Click Open 9 2007 212 WebAssign User s Manual 4 0 J http www webassign net My Files Mozilla Firefox Import File Choose a file to Import C hpdrocarbont 2 git El a Import File Type Last Modified javascript checkFilet A YP Folder Sep 27 2005 12 32 PM EDT C chem II a items Folder Sep 27 2005 12 32 PM EDT c Organic items Folder aep 27 2005 12 33 PM EDT detailed score gif 2 43 K File Feb 5 2005 07 44 PM EST 1 syllabus html TURK File Jan 28 2005 04 07 Ph EST Modify Selected Items aj 3 With hydrocarbon12 gif in the box click Go Your My Files page will show that you have the file stored in your WebAssign directory The Import File window will stay open in case you want to import additional files 4 Close the Import File window 5 Click the name of the file to bring up the Properties window 6 Enter an alt and title for the image Properties Mame hydrocarbon 2 git Replace File Browse Show File Info Image Attributes alt tag hydrocarbon title hydrocarbon longdesc File name hydrocarbon 2 willbe used if no values are specified 7 Save and close the Properties window 8 Check the box next to the hydrocarbon12 gif file 9 2007 Creating Questions 213 9 Assuming you want this image to show up in the question box click Go to paste the selected file into the question as
67. e various correct answers in brackets unless they are viewing the key Question Editor Editing template matching 373606 Last Saved Aug 16 2004 06 51 Page Tools Content Mama template matching Mode Matching Multi Made Options Question Match the city with the country Great Britain Spain Russia Greece Display Match the city with the country Paris BH France Athens rz Greece London rz Great Britain Madid gt Hi Spain Moscow H Russia 5 When editing is complete click Save to insert the question into the database and assign a question ID number to the question The recommended procedure for developing a question is to click Redisplay or Test Preview check that the question redisplays properly and then click Save Always click Redisplay or Test Preview right before you click Save 9 2007 Creating Questions 205 8 12 1 Extra distracters If you would like to include extra distracters enter them at the end of the Answer box list e g Paris tab France London tab Great Britain Madrid tab Spain Moscow tab Russia Athens tab Greece Turkey Italy Belgium 8 12 2 Matching with labels To change the display of the matching question type you can set the LABEL flag The options for the label flag are as follows SLABEL AA LABEL a LABEL 1 Using the LABEL flag is particularly useful if you want to have the students match some
68. earance of a question and to guard against randomized questions that are trivial impossible or implausible Including several parts in one question so that you can use the same example to ask several questions Using multimedia elements in a question so that you can include sound movies JavaScript and Java applets to ask questions Post processing student responses so that two or more variations of the answer can be considered correct answers for scoring or preserve one answer to evaluate another WebAssign s Math Display so you can display mathematical functions as images This feature is useful for displaying built up fractions radicals integrals summations partial derivatives and matrices The full power of randomizing variables and numbers is retained in generating the mathematical function Functions are entered as plain text 216 WebAssign User s Manual 4 0 e Math previewer so students can preview their answer to symbolic questions no other application or plug in required e Arrays so unique versions of a question can be pulled efficiently from a table of values The WebAssign authored questions have been formatted to take full advantage of these advanced features 9 1 Introduction to the eqn and the lt EQN gt Tags 9 2007 Most questions can be written simply as described in the previous chapter There are many situations however in which using variables in the question and the answers will help you
69. ecause a SECTION tag is used the two parts are in different sections and the hints can be different Content Name Multimode question with hints Mode Multi Mode NN Multi Mode Options question What is the length in millimeters of a 1 25 ft rod lt br gt lt gt mm lt HINT gt lt SECTION gt What is the volume in milliliters of a 1 cup measuring cup lt br gt lt gt wh cHINT Answer Add tab lt eqn ansl 1 25 12 399 37 1000 HINT abs 1000 thisresponse fansl lt O 02 ansl Did you remember to convert from meters to millimeters ansl lt SECTION gt lt eqn fans 1 4 1 1 0567 1000 SHINT abs 1U0DU0 3thisresponse anszj U U 2 ansz Did you remember to convert from liters to milliliters 2ansz T Question Previewer Multimode question with Previewer Tools hints 420592 Show All In view Mark Help Hints Hide All Hidden Key Solution Show new Randomization Reload from Editor amp Test Preview Detail What is the length in millimeters af a 1 25 ft rad 381 X mm Did you remember to convert fram meters to millimeters What is the volume in milliliters af a 1 cup measuring cup 237 X mL Did you remember to convert from liters to milliliters submit for Testing It is also possible to concatenate the HINT variable from separately defined messages For example msg1 msg2 msg3 etc could be defined in the Question or Answer field I
70. epends largely upon the specific question you are writing but here are some issues to consider 9 2007 Advanced Question Writing 227 Choosing numbers to randomize Not all numbers in a problem need to be randomized the best strategy is to randomize the most important numbers in any question The goal is for most students or most groups of students working together to receive a uniquely randomized question For example if you were to randomize two numbers in an original question one number with three possible random values and another with four possible random values there would be 12 versions of the question This would probably be adequate for a small class of students working individually or a larger class with students working in small groups Preserving the appearance of numbers It is a good idea to preserve the original appearance of numbers so we use this as our convention for questions in WebAssign If the original number is 1 5 we do not randomize using three significant figures such as 1 51 1 67 etc This is important for problems involving money for example so that the computer will not display 1 20 as 1 2 An appropriate appearance of the numbers can be preserved using the decform function Avoiding trivial impossible or impractical answers When randomizing numbers select numerical ranges carefully so questions are neither trivially easy nor impossible to solve To reduce the chance of a trivial or impossible q
71. er Coordinates 136 100 Keys M circle 33 40 14 Ive poly 2200 22 08 oo 06 42 bo 2 eo 4 34 eb seo joe S da Ive poly 73 55 B1 59 95 0 1 69 4105 B5 rT 91 59 B89 Ive poly a 62 123 64 120 02 113 99 103 86 103 81 112 b4 121 62 1252 14 Iv poly 101 40 111 48 105 55 88 53 86 50 92 41 90 31 103 29 Remove Selected Add Selected Key to Answer 14 The coordinates of all target areas will be displayed in the Answer field 9 2007 Creating Questions 203 Content Mame Identifying atoms in molecules Mode Image Map Multi Made Options Question The image below is a model of q uanine Please click the center of one of the nitrogen atoms SCC 2a 2 Answer Add tab circle 33 40 14 tab poly 22 83 22 77 35 66 42 65 52 85 44 93 44 66 39 81 32 79 27 82 tab poly 73 66 61 65 93 81 69 91 80 95 71 91 55 85 tab poly 131 82 125 89 120 82 113 80 103 86 103 81 112 64 121 62 122 74 tab poly 101 40 111 49 105 55 69 55 66 50 92 41 90 31 103 29 15 Click Redisplay to update the display as it will appear to the students The target areas will be displayed to a student if the answer key is available Display he image below is a model of guanine Please click the center of one of the nitrogen atoms oordinates circle 33 40 14 or poly 22 53 22 77 35 66 42 65 52 85 44 95 44 86 HU 81 32 70 27 82 or poly 73 66 61 65 03 81 69 91 80 95 71 91 65 65 or poly 131
72. er you would put in the Answer field of the Question Editor lt eqn size 20 gt My name is Marie Srows Overrides the default row length 6 of essay boxes Example lt eqn Srows 25 gt Essay answer Scols Overrides the default column length 65 of essay boxes Example eqn Scols 55 gt SHINT Holds the text you want displayed as a hint see section 9 2 SORDERED Orders multiple choice or multiple select options as specified and sets the correct answer to SORDERED Allowed for multiple choice and multiple select questions only see section 8 2 2 and 8 3 2 SSelect Option Overrides first option in multiple choice pulldown questions Allowed for multiple choice questions only default text is Select see section 8 2 4 SACCEPTFILETYPE Limits file upload questions to a particular extension Allowed for file upload questions only see section 8 8 SFILEUPLOADMAX Overrides WebAssign s maximum file size Allowed for file upload questions only size in bytes see section 8 8 SMAXERR Override default error accepted and steps for evaluation symbolic functions Allowed for SDEFAULTVALS symbolic questions only You must use EQN rather than eqn in the Answer field of symbolic questions see section 8 6 STHIS SCORE Overrides question scores STOLERANCE Can be used in a question to change the tolerance for the numerical parts of the question Example eqn TOLERANCE 0 10 gt i
73. ere Qarray1 and array2 have been previously defined t WebAssign only not a Perl function 9 2007 Appendix D Tags Functions and Variables 337 pickone list Randomly picks one item from a comma delimited list Example pickone Earth s Saturn s Jupiter s or pickone over the hill over the mountain up the canyon The items in the list require single or double quotes if the list item is not a number double quotes if there are apostrophes If something in the list must be evaluated like a variable or HTML tag you must use double quotes picksame list Picks the same position item as the previous pickone from a comma delimited list Example picksame 1 95 1 318 The items in the list require single or double quotes if there are spaces in a list item double quotes if there are apostrophes If something in the list must be evaluated like a variable or HTML tag you must use double quotes radi expr Returns radians where expr is in degrees Example eqn rad 180 returns 3 14159265358979 randnum x y s Takes integers and returns a random integer Example lt egn randnum 10 20 2 Returns a number between 10 and 20 in possible increments of 2 round ni n2 Returns the number n1 to a specified number of decimal places n2 Trailing zeros are removed If n2 is not included 2 is assumed Example eqn round 2 34567 3 returns 2 346 eqn round 2 3
74. ersion of your question Click Show new Randomization to see alternate versions produced by the randomization process Question Previewer Prewiewer Tools Show All In wiew Acceleration 358186 Hide All Hidden Mark Help Hintz Key Solution F Show new Randomization Open in Editor a Details Test Preview A 1200 kg car is accelerating at 4 0 m s What is the force an the car M submit for Testing b Examine your question to make sure all elements are included the answer produced is correct and randomization is working properly It is important to review your question using the Redisplay or Test Preview function before saving your question to the database In some unusual circumstances saving a question that is not properly formatted could make the question impossible to see in the Question Editor 6 Save your question Click Save to save your question to the database Changing the range of random numbers after a question has been included on a scheduled assignment will give a different set of numbers to those who have already responded their answers will then be graded as wrong even if they were right before 9 3 8 Additional considerations when randomizing numbers Randomizing numbers in a question is an extremely useful feature and one that is used quite frequently It is important to format numbers carefully so that you can avoid some potential problems How you choose to format numbers d
75. erwise close to the correct answer lt eqn SHINT 0 lt Sthisresponse Check the sign of your answer yes 9 55 Another example would be to suggest that the student s answer looks as if they have used the wrong formula lt eqn Sarea Spi Sr Sr SHINT abs 4 S area Sthisresponse lt 0 02 Sarea Did you remember to use the radius and not the diameter Sarea gt These statements check a condition about the student response is it positive or is it close to 4 times the correct answer If the condition is true the HINT variable is assigned a value the hint If the condition is false the SHINT variable is assigned the empty string wt For example if the student answers the question What is the acceleration due to gravity Assume the positive direction is upward with a positive number they could receive a hint as follows if the answer has lt eqn SHINT 0 lt Sthisresponse Check the sign of your answer So ts Advanced Question Writing 219 Question Previewer z Previewer Tools Simple question with hint 71114 Jis Show All S Hide ll In view Mark Help Hintz Hidden Key Solution Show new Randomization Reload from Editor 22 Test Preview Details What is the acceleration due ta gravity Assume the positive direction is upward a8 x Check the sign of your answer m s submit for Testing The eqn tags above take up more than one line but ther
76. estions you want to ask about the applet and fill in the Answer field as usual Be careful not to add line breaks and spaces to the applet code as you make the necessary changes One extra space or line break can prevent the applet from working properly WebAssign has copies of the Physlets on our server For the Physlets you can use PHYSLETPATH That is CODEBASE EQN SPHYSLETPATH gt The following table lists the applets available from our servers If you would like us to include an applet please contact us at support webassign net 9 2007 244 WebAssign User s Manual 4 0 APPLET CODEBASE and other information Animator Bar BField Blackbody Circuit DataGraph PHYSLETPATH DataTable Doppler Efield EMWave http webphysics davidson edu applets EnergyEignevalue Faraday Filters Hydrogenic E pny Pp applets html Molecular Optics Pipes Poisson QTime Reflection Ripple Slider SPlotter STools Superposition JME APPLETPATH Molecular Editor from Novartis AG 9 7 Post Processing Student Responses There are situations in which you may want to use a student s response after it is submitted This is particularly helpful in two cases 1 You want to accept two or more correct versions of an answer as correct and 2 You want to preserve the answer from one question in an assignment to evaluate the answer of a later question in the same assignment Post pr
77. for developing a question is to click Redisplay or Test Preview check that the question redisplays properly and then click Save Always click Redisplay or Test Preview right before you click Save Note Do not put more than one hard return in your answer to an essay question WebAssign assumes that every time there is a hard return there is a new answer to another question If you did not write a second question then you should not put in the hard return If you wish to format the answer with line returns just use the HTML code lt BR gt to make the new line 9 2007 196 WebAssign User s Manual 4 0 Since WebAssign does not automatically grade essay questions it does not actually matter what answer you provide However when you grade an essay assignment the answer you type will be visible to help you compare an exemplary response with the students answers See 10 3 Scoring Essays and File Uploads The soft wrap feature for the question editor allows you to enter longer answers while easily viewing the entire entry However the exemplar cannot contain any line breaks don t press the Return or Enter key 8 9 File Upload Questions If you would like your students to hand in an electronic file you can use the file upload question type This question type is similar to an essay question You must enter a tag for an answer box Acceptable files have a preset limit of 100 K To write file upload questions cho
78. ge expression inside an eqn tag The symimage tag is the newer way to display properly formatted mathematical expressions However Symbolic Image still works 9 2007 250 WebAssign User s Manual 4 0 9 2007 Display b i dac 2 b i sqrtib 2 4acY 2a Math Display automatically enters the plain text in the alt and title attribute of the image tag and most browsers will display the text when the mouse rolls over the image Randomized variables can be used in a question with Math Display For example suppose you ask a symbolic question for the inverse of the function fix dx I J 2x 3 and you wish to randomize the coefficients of x in the function Enter the following into the question box Find a formula for the inverse of the function lt p gt lt eqn gt Sa randnum 4 10 2 Sb Sa 1 lt egn gt lt symimage f x Sa x 1 2xt 9b lt 1 gt E lt 1 gt lt sup gt l lt sup gt lt 15 gt x lt 1 gt lt _ gt And enter the following in the answer box x egn Sb gt x 1 lt eqn a 2x The following screen shows how the question and answer display Display Find a formula tor the imverse of the function 102 1 2x 9 Ta oo S9 41 xenya0 23 Text f z Math Display considers alphanumeric characters as variables and renders them in italics For example lt symimage answer int O0 x x 2 1 x dx gt produces e answer dr Jo x If yo
79. ge of numbers Example sum 1 3 5 and sum 1 5 Returns 9 in the first case and 15 in the second max list Returns the maximum of a list of numbers min list Returns the minimum of a list of numbers gcd list Greatest Common Divisor Example eqn gcd 55 595 10 gt returns 5 lom list Least Common Multiple Example eqn lcm 3 7 2 14 returns 42 ceil n1 Returns the least integer greater than or equal to n1 Example 4 9 gt returns 5 4 9 returns 4 341 returns 341 23 1 returns 24 egn ceil lt egn ceil lt egn ceil egn ceil floor nl Returns the largest integer less than or equal to n1 Example lt eqn floor 4 9 gt returns 4 lt eqn floor 4 9 returns 5 lt eqn floor 341 returns 341 lt egn floor 23 1 gt returns 23 word count string Returns the number of words in a string Example word count SV gives the number of words in the string V Gontarns expr exprz contains expr expr2 Returns the number of times an expression expr is in the second expression expr2 If there is no second expression the value in thisresponse will be used Returns the number of times the list of expressions are found in thisresponse sigfigs n1 Returns the number of significant digits in a number n1 Example eqn sigfigs 34 5700 returns 4 decfigs n1 Example eqn decfigs 3 4
80. gfig question displays with an icon E i indicating that the answer will be judged based on the proper number of significant figures The icon is also a link to the rules WebAssign uses for significant figures 9 2007 182 WebAssign User s Manual 4 0 Using Significant Figures in WebAssign Wv Significant figures are one way of expressing uncertainty in measurement The rules VWebAssign uses to determine the number of significant figures in a number are shown in the examples below 1234 4significant figures 5 0e2 2 significant figures 500 1 significant figure 140E 001 2 significant figures 500 3 significant figures 8 20000e3 6 Significant figures 13000 2 significant figures 101 001 6 significant figures 2 000 4significant figures 41003 45 significant figures As you can see most numbers are fairly straightforward To express a number like 1000 to 2 or 3 significant figures you must use scientific notation When you multiply or divide numbers the result of your calculation has the same number of significant digits as the operand with the fewest number of significant figures For example 1530 x 4 0 6100 1530 3 significant figures x 4 0 2 significant figures 6100 2 significant figures When you add or subtract numbers keep the fewest number of decimal places that are in all of the numbers For example 246 6 1743 8 63 2 46 to the hundredths place 6 1743 to the ten thousandth
81. ghted lt script language JIavaScript ce batro ve ls function initd ppletixstr ySotri document Setbefault document SetTimeIntervali l 81 document SetPixPerlmniti751 document setGridunitio li document shiftPix rigini 75 75 id document add bject rectangle w 1l50 h 10 x 1 0 15 document setRGBi id 0 0 255 id document add bject i circle r zl 1 document zEQM sanimator setTrajectoryriid l 5 t step l 7454 C step 0 63886 t 2 4 9 C t 3tep t O 635866 5 442 t 0 635888 1 9 r 0 63888 t 0 63888 1 17 document SBEtR5DBIld Z255 0 0 document serTraili id 3 00 document serLaprioni Demo 1 document Lorwardt lt script gt zapplet code animatord nimator class codebasez 5 archive Animator4d jar sTools4 jar name rr width 400 height 300 hapace 0 vapace 0 aliqn Middle gt param name FPS value 10 gt zparam name Showlontrols value true param name dt value 0 01 gt param name PixPerUnit value 1LO gt paran name 5ridUnit value 1 0 gt lt r apple t gt 8 At the very beginning of the code add a line such as the following EON Sanimator animator SOUESTION ID 5numphysletTi gt This defines the name of the applet for WebAssign and allows WebAssign to recognize it It also ensures that if you have more than one copy of this applet on a page t
82. h HTML tags 9 2007 228 WebAssign User s Manual 4 0 Replace ohm with its symbol a capital omega A 0 20 font face Symbol W font bulb and a 0 40 font face Symbol W font bulb are connected in series to a l2 volt power supply What is the power delivered to the first bulb Students using Unix or Linux workstations might not have symbol fonts available An alternate solution is to use a gif file for commonly used symbols An alternate form of the question using this method might replace the symbol with an existing gif file called omegacap gif WebAssign has Greek and other symbol gifs stored in the images directory see the Appendix C for the names A 0 20 img src images omegacap gif ALT capital omega gt bulb and a 0 40 img src images omegacap gif ALT capital omega gt bulb are connected in series to a 12 volt power supply What is the power delivered to the first bulb It is important when using single or double quotes to use them in pairs Unpaired quotes can cause unpredictable behavior in browsers 2 Determine the question mode and format the question appropriately a Identify the question as Numerical and select that option b Place the answer box in the appropriate location within the question A 0 20 font face Symbol gt W lt font gt bulb and a 0 40 font face Symbol gt W lt font gt bulb are connected in series to a 12 volt power supply What is the
83. hat expression becomes the value of the entire expression Otherwise only the ELSE expression is evaluated and its value becomes the value of the entire expression Example Suppose you wish to set y equal to five 5 if x is equal to or larger than zero but equal to zero if x is negative There are three ways you can do this Case 1 expanded lt eqn gt if Sx gt 0 Sy 5 else Sy 0 lt eqn gt Case 2 shorter embedded in an lt eqn gt tag reverse logic lt eqn if x lt 0 Sy 0 else Sy 5 gt Case 3 compact lt eqm sy sk lt 0 2075 gt TERMS OF USE Introduction Welcome to WebAssign We hope our assessment service helps you meet your educational goals and objectives WebAssign is used by students to enter their answers to class assignments and receive a score and by instructors to provide assignments and communications with their students We provide this service to you subject to the following Terms of Use TOU By accessing and using our service you are agreeing to your acceptance without limitation or qualification these TOU If you do not agree with these TOU you may not access or use WebAssign The WebAssign Service WebAssign the Service is an online homework delivery grading and assessment service available to instructors through paid subscription for specified classes and time durations The purpose of the Service is to provide instructors with a secure accessible pl
84. he Answer field The text will wrap but never enter a line return 8 4 3 Rank order questions You can use a fill in the blank question to administer a rank order question In that case you should add instructions in the Question field indicating what answer format is acceptable For example you might want your students to list the options largest to smallest and you may require them to use only the characters gt and between the numbers or letters representing the various choices Since a rank order question uses a fill in the blank format the answer must be exact For example a b c or 126 9 is not the same as b a c or 9 6 1 The following screen gives an example of how you can instruct your students 9 2007 Creating Questions 179 Question Editor Editing Weights 281313 Last Saved Aug 15 2003 07 04 PM EDT Page Tools Content Mama weights Made Fill in the Blank Multi Made Options Question Object B weighs 5 0 M objects and C weigh 2 5 NMN Rank the arrangements according to their weight with the heaviest first use the notation gt or for example B C gt A lt BR gt oo Answer Add tab B C tab Bech Display Object B weighs 3 0 H objects A and C weigh 2 5 M Rank the arrangements according to their weight with the heaviest first use the notation gt or for example B C gt A B ASC B gt CA 8 5 Numerical Questions Numerical questions are similar to fill in the
85. he question Solution Display Why does a spontaneous chemical process occur x To lower the energy of the system L To raise the energy of the system Not enough information is available to answer the question To confuse us Choose all correct responses in each case Without the sET PosITION flag the text Choose all correct responses in each case would have been between the question and the set of choices Why does a spontaneous chemical process occur Choose all correct responses in each case C E To raise the energy of the system C To confuse us x To lower the energy of the system Not enough information is available to answer the question 8 3 4 Random number of correct answers for multiple select questions WebAssign allows you to make a variable number of correct answers in a multiple select question This feature allows you to offer even more randomization within an assignment For example for one randomization a student may find two 2 answers are correct while another may find three 3 answers are correct 9 2007 176 WebAssign User s Manual 4 0 The following question will randomly choose between yellow and white light The answer for yellow light is red and green items 2 and 3 The answer for white light is red green and blue items 2 3 and 4 Question What primary colors of light can be combined to make eqn Sa pickon
86. he variable to use followed by a colon and the formula that is the answer to the question For example x 2sin x pi t 9 8 2t 2 ee s uL os ques Notice that the carat is a legal character in a symbolic answer Since the answer key displays what is entered in the formula part of the answer using the carat makes the answer key look closer to the notation that the students are used to However you cannot use the carat in an eqn tag 9 2007 Creating Questions 187 Also notice that multiplication is implicit You can enter 2sin x or 2 sin x They will be interpreted the same Variable names must start with a letter and may contain any alphanumeric character and underscore a z A Z 0 9 _ A single letter followed by an underscore and a single alphanumeric character will preview properly as a subscripted variable in the student previewer So for example r_1 previews as r lambda previews as 2 and v m previews as V r 1 lambda and v m are all valid variable names but 4d and x are not Note that variable names are case sensitive To use two or more variables in the formula use the following format varl VarZ s varn formula For example x y Sin s y sp1 Note It is recommended that you keep the number of variables to four or fewer in order to avoid long computation times If you must use more than four variables reducing the number of elements in the domain to two will help See section
87. hey won t interfere with each other If you have more than one applet in a question for instance an animator and a datagraph this first line will need to define a couple of names 9 2007 242 WebAssign User s Manual 4 0 10 11 lt EQN animator animator_ SQUESTION_ID _ Snumphyslet t SdataGraph dataGrapti SQUESTION ID Snumphyslbletrit T t Change the names of the functions so that they include the name of the applet This ensures that if you have more than one copy of these functions on a page they won t interfere with each other Usually we change the function name so that it has the form name EQN Sappletname gt Add a line of code after the applet that gives a way of beginning the applet lt a href JavaScript initApplet EON Sanimator gt gt Click here fo stattoc a Add a line of code at the very beginning of your code that gives credit to the site where you found the applet Put the credit in the form credit where the surrounding brackets dashes and exclamation marks comment the credit out For instance your credits could be S ce http webphysics davidson edu physletprob ch14 animator d efault html gt Your code should resemble the following code with the changes in steps 7 10 highlighted 9 2007 Advanced Question Writing 243 Atp webyhysics davidson edu physletprob eld ania lt script language JIavaScript xz B5 ph rns yop function init pplet
88. his TOU and any posted guidelines or rules applicable to certain services within the Service constitutes the entire understanding between the parties pertaining to the subject matter hereof and any prior written or oral agreements between the parties are expressly canceled If you have any questions about this Agreement you may contact WebAssign 1730 Varsity Drive Suite 200 Raleigh NC 27606
89. hoice Multiple Select Essay Numerical Fillam Blank Matching Symbolic Image Map File Upload Java Fall Clear all Modes 3 Click Poll Notice that this changes the pulldown Mode menu to Multi Mode P 4 Decide what kind of poll question you want to write For this example we will choose a multiple choice question 5 Click the Multiple Choice link in the Multi Mode Options 6 Click OK The Mode menu shows Multi Mode PC 7 Enter the question text in the Question field 8 Enter the possible responses in the Answer field as you did for Multiple choice questions 9 Click Redisplay to update the display as it will appear to the students 9 2007 Creating Questions 199 Question Editor Editing MPEX 70 250176 5 98V8 Ald Te Ta Page Tools Content Mame MPEX r Mode Multi Made PC Multi Mode Options Question Rate your ability for expressing yourself clearly in writing Answer Add tab Excellent Good Average Weak Poor Can t say solution Display Rate your ability for expressing yourself clearly in writing C Excellent C Good C Average C Weak C Poor C Can t say 10 When you have finished editing click Save to add the new question to the database and assign a question ID number to the question The recommended procedure for developing a question is to click Redisplay or Test Preview check that the question redisplays properly and then click Save Alwa
90. how All In View Mark Help Hints Solution Hide All Hidden Key ola me Code Show New Randomization Reload From Editor amp P A person walks 25 0 degrees north of east for 3 10 km How far would she have to walk due north and due eastto arrive at the same location 0 271 league iv due north 0 582 league V due east Submit for Testing Creating Questions 185 Question Previewer Previewer Tools vectors with units 546464 Show All n View Mark Help Hints Solution Hide All Hidden Key aoe Code Show New Randomization Reload From Editor amp P A person walks 25 0 degrees north of east for 3 10 km How far would she have to walk due north and due east to arrive at the same location 0814mi V due north 1 75 mi v due east Submit for Testing If a student does not enter units they receive the message Units are required for this answer Question Previewer Previewer Tools vectors with units 546464 Show All In View Mark Help Hints Solution Hide All Hidden Key aoe code Show New Randomization Reload From Editor amp A person walks 25 0 degrees north of east for 3 10 km How far would she have to walk due north and due east to arrive at the same location 1 31 X Units are required for this answer due north 2 81 X Units are required for this answer due east Submit for Testing It is possible to give partial c
91. iaepsemeceivieaabgohsaaadodeantwapsecansecaeexs 220 9 3 Using Functions to Randomize and Format sse eene 220 0 5 I bunctions to randomize numbers dnd exXEo aos edu Na edd vas dee boc es ova te encanto 221 9 9 2 Me PANG NU Ty TUDCUODG s e ead Deseo ede i inue mue Ex Eie ou imer tede eue ANI A 222 95 5 2 he deetortmobilbc HOBG sss cur apeho adum Pani att asta Fd t cef estan ib tu idu e ertet ooo Sn io aad itte OP uda 222 9 3 4 The pickone and picksame functions Asisi a a nnne nennen nennen nnns 227 95 5 TMG SCIMOL PUDCLIOTI cio ed odi eoe rede co pb tio oe o ORE eb cota a v dac edo ER RU o coda beu uu tea et 224 9 9 6 he SIEEOLTH TUTIC ELOTIS reote Qro ot t eed Vates su une onusta ease T use due tell suse M E es TUE IS 224 9 3 7 Writing a simple question with random values ccccccccccceeeecceceeeseeeeeeeeseeeeeeeeeeeeeeeeeenaaas 224 9 3 8 Additional considerations when randomizing numbers cccccccccsssssseeeeeeeeeeeeeeeeeeseeeeeeeaaas 226 9 3 9 Questions with randomized numbers and answers with intermediate steps 227 9 4 Checking Significant Figures and Scientific Notation with sprintf cccccceececceeeeeeeeesseeeeees 230 9 5 Simple Multi part and Multi Mode Questions cccccssseeeceeeecceeeeeaeeseeessseeeeeceeeeeeeeeeeauaaaaeeneees 231 9 5 1 Writing a simple multi part questIOED ocius aero ELI eo WERTE E Ned eR Feo te EcL edo De nb WEE HRS a aE enni 231 9 5
92. igures and Scientific Notation with sprintf 9 2007 Often a question will require that students perform a mathematical operation to the correct number of significant figures and or give a number in scientific notation For such a question entering too many significant figures should be counted as incorrect To grade this type of question properly you can use either the SSIGFIGS function described in 8 5 3 or a fill in the blank answer box with the following sprintf function Suppose you have defined the variable a 5900 and you want the answer to be given in scientific notation as 5 9E3 your answer tag would be lt eqn SA sprintf 3 1E 5 a S A s 0 SA gt The 3 1 indicates that you will require three 3 spaces one space each for the number 5 the decimal point and the number 9 with one number appearing after the decimal point Advanced Question Writing 231 The letter e indicates that you require the number to be entered in exponential notation For integer notation use the letter instead of e and for floating point notation use the letter The designation a indicates the number upon which you wish to perform the operation in this case 5900 The last A is not necessary but can be added for clarity so that a quick glance shows what the answer is Since lt eqn SA sprintf 3 1E a gives 5 9E 03 you must strip out the characters 0 and print the answer as 5 9E3 This is accomplished by the second par
93. ill calculate machine precision values of 109 For example sin O is O but sin z will return 1075 Mathematical function Description sin expr Returns the sine of expr where expr is in radians cos expr Returns the cosine of expr where expr is in radians tan expr Returns the tangent of expr where expr is in radians csc expr Returns the cosecant of expr where expr is in radians cot expr Returns the cotangent of expr where expr is in radians sec expr Returns the secant of expr where expr is in radians asin expr Returns the arcsine of expr where expr is a number in the domain 1 to 1 and the range acos expr is 1 2 to n 2 atan expr Similarly for the other inverse trig functions acsc expr acot expr asec expr 336 WebAssign User s Manual 4 0 atan2 y x Returns the arctangent of y x in the range 7 to z Raises one number to the power of another Ex 5 3 2 125 a 3 SVO rri ma ete Computes the average of a list of numbers canonicaldeg n1l Changes angles to a value between 180 and 180 Example canonicaldeg 206 and canonicaldeg 566 both return 154 decform n1 n2 Specifies exactly how many decimal places to display rounding if necessary Example decform 20 2 returns 20 00 decform 3 2256 3 returns 3 23 deg expr Returns the degrees where expr is in radians Example deg pi returns 180 exp expr Returns e to the
94. it Holds the unit part of the student s response to a numerical with units question See section 8 5 5 and the template units question Sthiskey Holds the randomized position of the correct choice for a multiple choice question The first position is zero Example If a multiple choice question has the following choices v O O CQ and a is the correct answer thiskey will equal 3 Sthrsanswern Holds the position of the multiple choice answer chosen by the student Allows you to give hints that depend on the choice the student makes See the template question named template MChints2 SCORRECT Boolean it is true if the student s response is correct false otherwise SINCORRECT Does not hold an internal value You can set the value of S INCORRECT and if a student s response is incorrect the student will receive the points that INCORRECT is set to SPOINTS Holds the number of points a particular question part is worth Spi Returns the value of pi SQUESTION_ID Holds the current question ID SQUESTION_NUM Holds the question number on the current assignment Each answer box is counted in order as it appears on the assignment SSTUDENT Holds the current student s username Most often used to give an individualized part of a question to a student SFULLNAME Holds the current student s full name SEMAIL Holds the email address of the current user See template question tem
95. l eo uade sette dba MERI REL ide tubaduadesianasetseentons 252 9 10 3 Defining a variable for a Math Display image cccccccccccceccccceeeeeeeeeeessseseeceeeeeeseseeeaaas 255 OW iia eS atid EEENIE SDOFUGULS 4 oso eats att RR n oe bene is a duum Ea in even nu E vae api Id O E does 256 OTI Creatine mages wilh tle S OD ein ied deem epa heces Dum rp io up out ode Sec concesse e ten vts 256 9 11 2 Creatine AT MIL Code with te 139 aee retta ot eain ecu aea Hae eet ea a HE LOU Equo ee RUE e 256 9 2007 Contents ix APPENDIX B HTML TAGS 327 MESH e EEE E nau tae veten E E E E E E E 327 PEON enaena Cor T eaaemness 328 D Emksdnad PTAC Sa sta esses cat dep deret oet retento ode o tatit e edu tec ye tues 328 jn dei c Creer 328 TD ADI CS PH E HH 328 BORME Spec aL Naraci tS ucabosiosfesesed amano too alae nt em etel cual ade tu uto dat ekosast usentet aua in tue fatus d obo Seeds 329 Bid WebASSIeIm C 38S Su cedente onam edt ptm ERU MIR A uS e Fnt ES bene S dUUMIEA FRI US uS E 330 9 2007 x WebAssign User s Manual 4 0 APPENDIX C GREEK LETTERS AND SYMBOLS 331 APPENDIX D TAGS FUNCTIONS AND VARIABLES 335 Dl Special WebASSIEI Da9Ss ausis Sa EIL EDI eet CIN eI e DL A acetals sas ad 335 DilliThesecon and ON TAS deve ede ett rte te da eer e edt det o DEM ten MER Ip pct 335 I23 1 2 Functions used iti lt eqn gt and EON tagsc iie pe etate teo ibo uias ue ee Pe eta 335 D 1 5 Additional WebASSISEHGPS ueee
96. l lambda gt Mu H s mu lt img src images mu gif alt mu title mu gt 332 WebAssign User s Manual 4 0 Nu v lt s nu gt lt img src images nu gif alt nu title nu gt Omega to lt s omega gt lt img src images omega gif alt omega title omega gt Capital G2 lt s Omega gt lt img src images omegacap gif alt capital omega Omega title capital omega gt Omegabold oo lt s omegabold gt lt img src images omegabold gif alt bold omega title bold omega gt Omicron O lt s omicron gt lt img src images omicron gif alt omicron title omicron gt Phi g s phi img src images phi gif alt phi title phi gt Capital Phi gt lt s Phi gt lt img src images phicap gif alt capital phi title capital phi gt Pi A SsiDI img src images pi gif alt pi title pi gt Capital Pi IT lt s Pi gt lt img src images picap gif alt capital pi title capital pi Psi V lt sipsi gt lt img src images psi gif alt psi title psi gt Capital Psi yr lt s Psi gt img src images psicap gif alt capital psi title capital psi gt Rho lt s rho gt lt img src images rho gif alt rho title rho gt Sigma C lt s sigma gt lt img src images sigma gif alt sigma title sigma gt Capital lt s Sigma gt lt img src images sigmacap gif alt capita
97. l sigma Sigma title capital sigma gt Tau T lt s tau gt img src images tau gif alt tau title tau gt Theta e s theta lt img src images theta gif alt theta title theta gt Capital a s Theta img src images thetacap gif alt capital theta Theta title capital theta gt Upsilon T lt s upsilon gt img src images upsilon gif alt upsilon title upsilon gt Capital T lt s Upsilon gt img src images upsiloncap gif alt capital Upsilon upsilon title capital upsilon gt Xi SEXTO img src images xi gif alt xi title xi gt Capital Xi T lt 5 5 Xi gt lt img src images xicap gif alt capital xi title capital xi Zeta lt s zeta gt lt img src images zeta gif alt zeta title zeta gt A bar a lt s abar gt lt img src images abar gif alt line over a title line over a gt H bar h lt s hbar gt lt img src images hbar gif alt h bar title h bar 9 2007 Appendix C Greek Letters and Symbols 333 D bar c lt s dbar gt lt img src images dbar gif alt line over d title line over d gt N bar ti lt s nbar gt lt img src images nbar gif alt line over n title line over n gt P bar t lt s pbar gt lt img src images pbar gif alt line over p title line over p gt S bar 5 lt e7cbar gt lt img src images sbar gif alt line over s title line ove
98. lick the Practice link a window with access to practice questions pops up 9 2007 Creating Questions 207 Practice Question 1 of3 What relative uncertainty is implied in the value d 45 m Assume this result was found by rounding off the final answer QU 395 Q 295 Q 0 596 Q 195 Q 0 296 Grade This chew Solution Try Again Ww You can make any of your questions contain a Practice link What you need first is a set of question IDs or textbook question names that you want to show up as practice for the given question To add practice questions to one of your questions perform the following Steps 1 Open one of your questions in the Question Editor 2 Determine the question IDs or the textbook question names of the questions you want to show up as practice questions 3 Enter the following to the Question field lt PRACTICE gt gid comma delimited list of question IDs PRACTICE or lt PRACTICE gt qid textbook question name textbook question name textbook question name textbook question name lt PRACTICE gt QE lt PRACTICE gt gid part of textbook question name lt PRACTICE gt 4 Click Duplicate then Save or just Save depending if you want your original question changed Additional options for this technique can be found in the question named template practice and template practice textbook 8 14 Java Questions Advanced Many teachers want to use simulations to illust
99. ligible and the boat that completes the round trip first wins hlockquote a Which boat wins Or is it a tie SSECTION By how much cbr2c gt kmcbr2ib What is the average velocity of the winning boat lt br gt lt _ gt km hz blockquote Answer lt eqn SORDERED 1 gt hoat A boat B it s a tie lt SECTION gt lt eqn vBr vB If a question has an array the Previewer will also have a tab for the Array view Question Previewer ZumCheme 2 E 060 200214 T ENSE zw AT n view Key Hide All Hidden Mark Help Hints Solution TestPreview Code Show new Randomization Open in Editor EP Details Randomization Array dat 1 mercury l oxide irantlll bromide cobalt ll sulfide titaniurn I chloride cobaltill oxide irantll chloride chramiumrll oxide chramiumtlv chloride Question 8 16 2 My Files or using figures and other files in questions If you have a gif or jpeg image that you want to show up in a question you can include the HTML code for this image in the question text For example if you have a picture on the web at http myschool edu myfolder classes images hydrocarboni2 Zglr you would put the following text into the question 9 2007 Creating Questions 211 lt img sre http myschool edu myfolder classes images hydrocarbonl2 gif alt hydrocarbon title hvdrocarbon If you have an image but it is not available on the web you can upload the image to your
100. lly be used in an img tag can be set or changed this way 8 16 3 Hot keys You can use hot keys to Save Redisplay or Preview a question without having to reach for the mouse In Firefox you would just type the following combinations In Internet Explorer you would type the combination then hit Enter On the Macintosh you would use the Control key instead of the Alt key Alt S Save Alt P Preview Alt R Redisplay 9 2007 9 ADVANCED QUESTION WAITING Because WebAssign includes thousands of questions already published in many major textbooks and formatted for your use most teachers and casual users will never need to write their own questions However for those who do write their own questions there are many features for writing intricate questions that make WebAssign a very powerful assessment tool One of the strengths of WebAssign includes its ability to handle a variety of question types Additionally any question can include many different question types all within the same question Several WebAssign features are particularly important for advanced questions Variables in questions and answers Random values or text in a question so students in a class may have different versions of the same original question Creating answers with intermediate steps such as intermediate values that need to be calculated before they are combined into a final formula Advanced number formatting to preserve the original app
101. lon is displayed or used as the answer Also this example uses a common programmer s convention of multiplying a number by itself rather than using the power operation xx ST ST is equivalent to 1 2 but the computer calculates the first faster Note Perl and WebAssign require that you use two asterisks not a caret for a power in eqn tags However it is possible to use the carat in a symbolic answer see section 8 6 for more information 5 Preview your question a Click Redisplay to see the current version of your question 9 2007 230 WebAssign User s Manual 4 0 Content Name Bulbs in series Mode Numerical Multi Mode Options 4uestion lt eqn R1 dectorm randnum 1 3 1 10 2 gt lt FONT FACE Symbol gt W lt FONT gt bulb and a segn R2 decform randnum 43 9 1 10 2 lt FONT FACE SymboltU lt FONT gt bulb are connected in series to a segn V pickone 1 5 3 5 12 volt power supply What is the power delivered to the first bulb zBE gt W Answer Add tab lt eqn I v R1i R2j P 1 1 Ri gt Display AO 20 2 bulb and a 0 60 2 bulb are connected in series to a 1 5 volt power supply What is the power delivered to the first bulb 0 703 W b Examine your question to make sure all elements are included and randomization is working properly 6 Save your question Click Save to save your question to the database 9 4 Checking Significant F
102. lp you score the students files See 10 3 Scoring Essays and File Uploads 8 9 1 Specifying the file type 9 2007 If you wish you can limit the type and size of the file your students are trying to upload These limits are set using SACCEPTFILETYPE for the file type and F TLEUPLOADMAX for the maximum number of bytes These limits will help you when you try to grade the submission If you do not know the file type that your students have used you may have trouble viewing it from your browser You may have to modify your browser s preferences by specifying the helper application for the file type you are expecting your student to submit Common file types are gif jpg doc xls pdf After your students submit their files you will be able to grade their submissions just as you would essay questions Creating Questions 197 To accept only Word files you would place the following code in the Answer field lt eqn SACCEPTETLETYPE dog Ts If you would like to accept only Word pdfs or ps files you would place the following code in the Answer field lt eqrm SACCEPTETBETYPE doc lpdft tigoe st ts 8 9 2 Specifying the maximum file size To change the default limit of the file from 100 K to 200 K 200 K 200 1024 bytes K 204800 bytes use the code eqn SFILEUPLOADMAX 204800 Question Editor Editing problem solving Last Saved Aug 18 2003 10 57 AM strategy 291630 EDT Page Tools Content
103. ls My Files OO Content Mame Function of Leaves Made Multiple Choice Multi Made Options Question What is the primary function of leaves Answer Add tab trap light energy for photosynthesis provide protection for the plant provide water for the plant enable the plant to grow taller Display What is the primary function of leaves o to trap light energy for photosynthesis C to enable the plant to grow taller C to provide water for the plant C to provide protection for the plant 7 When you have finished editing click Save to add the new question to the database This will also assign a unique question ID number to the question 9 2007 Creating Questions 167 The recommended procedure for developing a question is to click Redisplay or Test Preview check that the question redisplays properly and then click Save Always click Redisplay or Test Preview right before you click Save 8 2 2 Ordered multiple choice questions WebAssign scrambles the order of the choices in a multiple choice question by default If you do not want WebAssign to randomize the placement of multiple choice options you need to tell WebAssign this When creating this type of multiple choice question enter the choices in the order you wish them to appear Then you will tell WebAssign which answer is correct by setting the variable SORDERED equal to the location of the correct answer in your list of choices For exa
104. lt h determinant gt hsdeterminant The above was entered to make the code look as much like a determinant as possible itis not necessary You can enter the statements on a single line also lt h determinant gt Sa b c d lt h determinant gt Displays as LN c gd lt h sore Displays a radical sign stretching over the argument lt h sqrt gt x 6 lt h sqrt gt Displays as Vxtse hslongduiv Displays a long division problem properly lt h longdiv gt x 5 lt h longdiv gt x 2 6x 5 Displays as x 5 x 6x45 lt h chemical gt Displays the superscripts and subscripts in chemical names properly lt h chemical gt H 280 4 lt h chemical gt Displays as Ha504 lt h reaction gt Extends the chemical display to include treatment for states of matter and reaction arrows lt h reaction gt zn s 2HC1 aq gt ZnC1l 2 aq H 329 lt h reaction gt Displays as Anis HGe zZnClerag Hate lt h e config gt Displays the numbers after the orbitals as superscripts and italicizes the orbitals h e configo 182 2582 2p3 h e config gt Displays as ls 224 2p6 9 2007 APPENDIX B HTML TAGS This list is designed to be as concise as possible for use with WebAssign It only contains those tags most often used to style a question B 1 General Style HTML code C
105. mage Map File Upload Java Full b Place the answer box lt _ gt in the appropriate location within the question A 1200 kg car is accelerating at 5 m s lt sup gt 2 lt sup gt What is the force on the car lt br gt lt _ gt Our stylistic convention is to place a br tag before the answer box so that boxes will be aligned on the left margin This is done so students can find the boxes easily and see whether they have answered all the questions at a glance c Place proper units for the correct answer after the box A 1200 kg car is accelerating at 5 m s lt sup gt 2 lt sup gt What is the force on the car br N 3 Identify and randomize selected elements of the question using lt eqn gt tags 9 2007 226 WebAssign User s Manual 4 0 Apply conventional variable names and reasonable value ranges A eqn m randnum 800 1500 100 kg car is accelerating at eqn a decform randnum 30 80 5 10 1 m s lt sup gt 2 lt sup gt What is the force on the car br gt N 4 Express the correct answer using the solution formula Force equals mass times acceleration If there are several parts to a question list correct answers in order one on each line This will be demonstrated in a later example lt eqn SF Sm Sa gt The answer could also be recorded as lt eqn m a without the result being assigned a variable name 5 Preview your question a Click Test Preview to see the current v
106. mple if the third choice in your list 1s correct you will set SORDERED 3 To write an ordered multiple choice question with the third answer as the correct choice choose Create from the Questions menu and perform the following steps 1 Enter a name for the question 2 Select Multiple choice as the Mode of the question 3 Enter the question text in the Question field 4 Type the following into the Answer field lt eqn SORDERED 3 gt followed by the first distracter The question editor contains a soft wrap feature for your convenience WebAssign will not read any text moved to another line without a carriage return as starting a separate line This allows you to enter longer answers or distracters while easily viewing the entire entry The correct answer and the distracters for a multiple choice question each need to occupy a single line in the answer field Do not enter any line returns within an answer Continue entering a distracter on the second line Enter the correct answer on the third line Continue entering distracters if there are more qb d n Click Redisplay to update the display as it will appear to the students Note that the choices now appear in the order you have listed them and the choice that you have indicated as correct is marked with the green circle 0 The students will not see the green circle 0 unless they are viewing the key 9 2007 168 WebAssign User s Manual 4 0
107. multiple choice C part Made Multi Mode NBC Multi Mode Options Remember that multi part multiple choice and multiple select questions are multi mode questions WebAssign cannot determine where the parts begin and end either in the Question field or in the Answer field For this reason when you write a multi part question with only multiple choice parts you will need lt SECTION gt tags separating the parts and an entry in the Mode pulldown menu for each part and similarly for multiple select 9 2007 234 WoebAssign User s Manual 4 0 Mlode Mult Mode CCL Multi Mode Optians 9 5 3 Writing a multi mode question To create a question with several parts follow these basic steps 1 Edit the question so that the parts are easily distinguished add the HTML tags and identify and randomize selected elements as before 2 Determine each question mode and format appropriately 3 Insert lt SECTION gt tags to identify changes between modes in the question 4 Enter the correct answers with SECTION tags to identify changes between modes 5 Preview your question 6 Save your question For example to demonstrate how to write a question with several parts consider this question from physics A 0 20 ohm bulb and a 0 40 ohm bulb are connected in series to a 12 volt power supply a What is the power delivered to the first bulb b What is the power delivered to the second bulb c Which bulb is brighter
108. n a new window name lt a gt Display Image lt img src url title text describing image alt text describing image gt Image Alignment lt img src url align top bottom middle left right title text describing image alt text describing image gt Dimensions lt img src url width x height y in pixels title text describing image alt text describing image gt B 4 Lists Type HTML code Comments Unordered bulleted List lt ul gt lt li gt lt ul gt use lt li gt before each list item Ordered numbered List lt ol gt lt li gt lt ol gt use lt li gt before each list item B 5 Tables Item HTML code Comments Define Table lt tablas lt tables Table Border lt table border gt lt table gt 9 2007 Appendix B HTML Tags 329 Cell Spacing lt table cellspacing gt Cell Padding lt table cellpadding gt Desired Width lt table width gt in pixels Width Percent lt table width gt percentage of page Table Row GaP pp Alignment tr align left right center valign top middle bottom gt Table Cell lt td gt lt td gt must appear within table rows Alignment lt td align left right center valign top middle bottom gt No linebreaks lt td nowrap gt Columns to Span lt td colspan 2 gt Rows to Span lt td rowspan gt Desired Width V
109. n also set the maximum error equal to a percent of the answer formula lt EON SMAXERR 1 3 gt var formula being careful to enclose the percentage in single quotes 8 Algebraic Questions 9 2007 Algebraic question format like symbolic questions allows students to enter a formula as a response to a question The benefit to the question writer is that you can use syntax to produce the answer key and you can prevent the equivalent but unsimplified or unfactored answers as being scored correct Students will not see the difference between symbolic and algebraic question types They may enter implicit multiplication or explicit with an asterisk The same calculator notation is used as for symbolic questions Creating Questions 191 For algebraic questions students will be given credit for any input that is equivalent to the answer key Their input will not be automatically evaluated as in symbolic If you want the evaluation of their input compared with the answer you will add a tab evalb key response This statement will run a evaluation on thisresponse and then compare to the key 8 7 1 Creating an algebraic question To create an algebraic question choose Create from the Questions menu and perform the following steps L Enter a name for the question and select Algebraic from the pulldown Mode menu Enter the question text in the Question field as you would a symbolic question Be sure to specify which letter
110. n each section of the answer you can include code similar to the following lt eqn SHINT Smsgl msg2 Smsg3 Sans gt 9 3 Using Functions to Randomize and Format 9 2007 You may randomize numbers and text in any question so that students in your class may receive different versions of the original question This is particularly helpful for numerical questions where answers are generated by a formula In this case the logic and method for solving the problem remain the same But students cannot share answers because their calculations are based on different numbers For example in the following original question three items could be randomized to produce different versions of the original question Advanced Question Writing 221 tax rate price of the item purchased kind of item purchased Original Question If the sales tax rate is 7 5 and you purchase a 5 item what is the sales tax paid Possible Alternate Forms If the sales tax rate is 4 0 and you purchase a 3 card what is the sales tax paid If the sales tax rate is 6 5 and you purchase an 8 book what is the sales tax paid If the sales tax rate is 8 0 and you purchase a 6 sandwich what is the sales tax paid 9 3 1 Functions to randomize numbers and text Random numbers or text can be added to a question with several functions unique to WebAssign These functions may be used to choose a random number select a replacement word from among altern
111. n for y and then compares the result TestiPreview Mebi Question Consider the following function um T fix 2x sup 2 amp sup 3x lt br gt lt br gt Find an equation of line tangent to the graph of f x at x 4 long T amp Answer Loc xc aEgxc es SS ce Pie ee ee le m x 4 tab evalhi simplify solve key y saolve response v Display Consider the following function fb Be 3x Find an equation of line tangent to the graph of f x at x 4 y 44 19 x 6 The answer key expressions are explained in the table below Expression Explanation f x gt 2 x 2 3 x Defines the function f x m fe Subs x 4 ditrf f x x Defines the slope of the tangent at x 4 9 2007 194 WebAssign User s Manual 4 0 y 4 m x 4 Defines the point slope form of the tangent line as the answer key evalb simplify solve key y Solves the answer key and student response solve response y 0 equations for y takes the difference simplifies and asks if this difference is zero 8 8 Essay Questions Writing an essay question is similar to writing the other modes except that WebAssign creates a window for students to provide a written response rather than a small answer box It is necessary to place at least one character in the Answer field if not a complete exemplar This text 1s not displayed to your students until they see the key To writ
112. n in Figure 165 22 are convex or Converging lenses lt P gt lt img src gphys i amp 8 22 QGif gt lt BR gt Figure 18 22 lt P gt Answer Add tab lt eqn ORDERED 1 3 lens a lens b lens c lens d none of these Display hich of the lenses whose cross sections are shown in Figure 18 22 are convex ar onverging lenses x lens a liensh x lens c Jlensd l J none of these 8 3 3 Controlling the position of check boxes 9 2007 When you need to specify the position of multiple select check boxes so you can include an image footnote or text below the choices you can use SET_ POSITION in the same way it can be used for multiple choice questions Set the SET PosriTrION flag to 1 in the Answer field at the start of the set of answers for which you need to specify the position In the Question field insert an answer box lt _ gt where you want these radio buttons to appear In the following example the author wanted the image below the choices Creating Questions 175 Content Marne spontaneous chemical process Mode Multiple Select Multi Made Options Lj uestian Why does a spontaneous chemical process occur lt br gt lt gt lt hr gt Choose all correct responses in each case Answer Add tab eqn SET POSITION 1 gt To lower the energy of the system ZxINCORRECT To raise the energy of the system Io confuse us Not enough information is available to answer t
113. n the question field of a question will change the tolerance for any numerical parts to 10 SSIGFIGS Displays an answer to the number of specified significant figures and checks the student response for the correct number of significant figures If the student response is within the tolerance but the number of significant figures is incorrect the answer is marked incorrect and the message Check the number of significant figures is displayed Example EQN SIGFIGS 2 Sans gt See section 8 5 3 SDECFIGS Displays an answer to the specified precision and checks the student response for the correct number of decimal places If the student response is within the tolerance but the number of decimal places is incorrect the answer is marked incorrect and the message Check the number of significant figures is displayed Example eqn S DECFIGS 0 001 Sans gt See section 8 5 4 9 2007 342 WebAssign User s Manual 4 0 SSIGFIGS PARTIAL Defines within a question the partial credit given for answers within 2 of correct answer but entered with an incorrect number of significant figures The following example would give 25 credit if a student entered something like 1 234 Example lt eqn SIGFIGS 2 SSIGFIGS PARTIAL 25 1 2 SCORRECTMARK Holds the text or image used for marking a question correct Can be used in a question only SWRONGMARK l Holds the text or image used for marking a ques
114. name for the question 2 Select Multiple choice as the Mode of the question 3 Enter the question text in the Question field 4 Enter the correct answer to your question on the first line of the box marked Answer and press return 5 Enter distracters incorrect answers that you would like to include as choices on the lines below the correct answer with one on each line 9 2007 166 WebAssign User s Manual 4 0 The question editor contains a soft wrap feature for your convenience WebAssign will not read any text moved to another line without a carriage return as starting a separate line This allows you to enter longer answers or distracters while easily viewing the entire entry The correct answer and the distracters for a multiple choice question each need to occupy a single line in the answer field Do not enter any line returns within an answer 6 Click Redisplay to update the display as it will appear to the students You may continue to make changes and click Redisplay at any point to see an updated display of your question Note that the order of the choices has been scrambled in this display Multiple choice answers are by default scrambled in WebAssign so that each student receives a different ordering of choices The students will not see the green circle 0 marking the correct answer unless they are viewing the key Question Editor Editing Function of Leaves 243867 Last Saved Jun 27 3 Page Too
115. nly see section 8 4 2 Controlling case and space sensitivity SSPACE Makes fill in the blank questions white space sensitive Allowed for fill in the blank and Java questions only see section 8 4 2 Controlling case and space sensitivity SREDUCE Removes multiple preceding and trailing spaces in a student s response Allowed for fill in the blank and Java questions only FGLR ML AVPPCAR Any available Hints will be displayed even if the question is correct D 4 WebAssign Internal Values There are variables inside WebAssign that contain values that may be useful to you For example pi contains the number 3 14159265358979 sstuDENT contains the username of the currently logged in student The following table lists many of these internal values Internal Value Description 9 2007 Appendix D Tags Functions and Variables 343 Sthisresponse Holds the student s response on the associated answer box see section 9 7 Example In the Answer field of the Question Editor the following changes the student response to a positive number and compares that to the answer Thus the question will accept either a positive or negative answer lt eqn Sxl S thisresponse Sthisresponse abs Sthisresponse Sans Sd Sh gt Sthisnum Holds the numerical part of the student s response to a numerical with units question See section 8 5 5 and the template units question Sthisun
116. nt that you upload or otherwise make available in the Service remains your sole property or the property of your licensors If you mark any of your content public domain Public Domain Content in the Service you automatically grant and or warrant that the owner has granted WebAssign the perpetual royalty free non exclusive right and license to use reproduce modify publish distribute perform display and transmit the Public Domain Content through the Service You also permit any other user of the Service subject to your restrictions to access view store and reproduce the Public Domain Content to the same extent permitted herein Copyright You acknowledge that the Service any underlying technology used in connection with the Service and all software material information communications text graphics links electronic art animations audio video photos and other data collectively the Content available within the Service are provided by WebAssign or third party providers and are protected by copyright You may not store any significant portion of any Content owned by or licensed to WebAssign in any form whether archival files computer readable files or any other medium We encourage you to download and print a reasonable number of copies of Content for noncommercial personal or educational use only You acknowledge that WebAssign and or third party providers remain the owners of the Content and that you do not acqui
117. nything in the answer field 9 2007 248 WebAssign User s Manual 4 0 Question Editor Editing BON 6 2 1435 72 Last Saved Jun 18 200 Content Name BON b 2 Made Java Multi Mode Options Question lt EQN Sappletname Diagrammer QUESTION ID numdnim gt You are dragging a 20 kg box across a level floor by means of a rope attached to the box The rope is at a 30 lt supso lt sup gt angle from the horizontal and you are exerting a force of 100 N as you walk at a constant pace towards the right Below draw the free hody diagram for this situation lt p gt APPLET ARCHIVE Vectorbiagrammer ar CODEBASE userimages swbonhamlincasu CODE wassps vectorDbiagrammer VectorDiagrammer class NAME EQN appletname Answer Add tab Display You are dragging a 20 kg box across a level floor by means of a rope attached to the box The rope is at a 30 ay honzontal and you are exerting a force of 100 H as you walk at a constant pace towards the right Below dra chagrarn for this situation Edit Layout Tools Ready to go If you want to use a Flash simulation step 2 would look something like this 2 Enter the Flash information in the question box For example 9 2007 Advanced Question Writing 249 OBJECT CLASSID2 clsid D27CDB6E AE6D 11cf 96B8 444553540000 ID mapcontrols WIDTH 100 HEIGHT 100 CODEBASE http active macromedia com flash2 cabs swflash cabive r
118. o get a new number for the particular question by using lt EQN SnumAnim gt Here is an example of a question that uses JavaScript to provide a hint lt SCRIPT LANGUAGE JavaScript gt var hintnumber EQN SnumAnim gt 0 function GiveHint EQN SnumAnim gt if thintnumber_ lt EQON SnumAnim gt 1 alert Hint Thank outside the box else if hintnumber EQN SnumAnim gt 2 alert Hint Does a side have to be a straight line else alert Enough hints already lt SCRIPT gt The Sphinx asks How many sides does a circle have lt BR gt lt _ gt lt BR gt lt A HREF JavaScript GiveHint_ lt EQN SnumAnim gt gt Hint lt A gt This example pops up an alert window that says Hint Think outside the box the first time Hint is clicked Hint Does a side have to be a straight line the second and Enough hints already after this 9 2007 238 WebAssign User s Manual 4 0 Content Name JavaScript hints Made Numerical Multi Mode Options auestian lt SCRIPT LANGUAGE TavaScript War hintnumber cEGN numinim 0 function GiveHint cEGN numi nim ji 1f t hintnumber cEGN num nim 1 Aalerti Hint Think outside the box j elsetif hintnumber lt EQN num nim 2 A Alerti Hint Does a side have to be a straight line I else alert Enough Hints already t H lt SCRIPT gt The Sphinx asks How many
119. ocessing is performed by using the thisresponse variable which holds the most recent response provided by the student 9 7 1 Forcing two or more correct answers into one for grading Accepting two or more responses as a correct answer is most often needed in numerical questions For example you may want to accept both positive and negative versions of the answer Because WebAssign will accept only one answer you can convert the student s answer to the absolute value of what was entered and compare this to the absolute value of the calculated answer Example To demonstrate how to use post processing to force several potential correct answers into one that can be graded consider this question James had a mutual fund worth 1 000 which lost 20 of its value How much was his loss in dollars Although the question asks for the loss which already implies the negative sign some students may try to express the answer as 200 If you do not intend to teach the concept that loss means negative anyway you may choose to accept either a negative or positive value Using post processing the absolute value function can be applied to the student s answer so that both 200 and 200 will be transformed into one answer 200 for grading lt eqn Sthisresponse abs S thisresponse 200 This eqn tag does two things First it replaces the student s original answer with the absolute value and second it states the correct answer
120. omments Bold b b Italic 15 35 Underline Suecus Subscript sub sub Superscript lt sup gt lt sup gt Line Break lt br gt a single carriage return Paragraph lt p gt Or lt po lt p gt Align Text lt p align left center right gt lt p gt Div lt div class indent gt lt div gt used to indent parts of questions preferred way to indent blocks of text as it is accessibility compliant and thus more understandable to screen readers Block Quote lt blockquote gt lt blockquote gt used to indent parts of a question Horizontal Rule lt hr gt Heading lt hn gt lt hn gt levels n 1to 6 Align Heading lt hn align left center right gt lt hn gt Hide comment lt text of comment gt 328 WebAssign User s Manual 4 0 B 2 Fonts Style HTML code Comments Fonts tont face arial verdana gt lt font gt The first font in the list that is present on the user s system is used Font Size font size n gt lt font gt n ranges from 1 7 Change Font Size lt font size n gt lt font gt Font Color lt font color ff0000 gt lt font gt color takes one of 16 named colors or the color hex value Examples color black color FF0000 B 3 Links and Images Action HTML code Comments Display a link to a web lt a href url gt link name lt a gt address Display a link that will open lt a href url target blank link i
121. or an entire assignment without changing the question You do this with the Assignment Options in the Assignment Editor You can change the tolerance of all numerical questions you schedule for a class in the Options for that class see section 4 1 3 8 5 3 Significant figures using SIGFIGS WebAssign allows you to set the number of significant figures that are displayed in the answer key and to mark student responses incorrect that do not include the correct number of significant figures To display a specified number of significant figures and compare the student s response with this number use the following code in the Answer box lt eqn SSIGFIGS n number gt where n is the number of significant figures and number is the numerical answer to the question For example suppose you are asked to calculate the area of a rectangle that is 1 28 m long by 240 m wide The answer is 310 m The maximum number of significant figures is two 2 so the code is the following lt eqn SSIGFIGS 2 310 The tolerance will be automatically adjusted to correspond to the correct number of significant figures For example if the answer is 310 to 2 significant digits the tolerance is 10 If a student s response agrees with the correct answer but contains either too few or too many significant figures the question will be marked incorrect and the following hint will be displayed Check the number of significant figures By default a si
122. ose Create from the Questions menu and perform the following steps 1 Enter a name for the question and select File upload as the Mode of the question 2 Enter the question text in the Question field Enter an answer box where you want students to see a file upload entry box with a browse button The keystroke combination is less than underscore greater than 3 Enter text at least one character in the Answer field This text is not displayed to your students until they see the key 4 Click Redisplay on the left toolbar to update the display as it will appear to the students The students will not see the Key unless they are viewing the answer key 5 When editing is complete click Save to insert the new question into the database and assign a question ID number to the question The recommended procedure for developing a question is to click Redisplay or Test Preview check that the question redisplays properly and then click Save Always click Redisplay or Test Preview right before you click Save Test Preview for a file upload question does not allow you to actually upload a file To test that functionality you should add the question to an assignment and schedule for your practice class Since WebAssign does not automatically grade file upload questions it does not actually matter what answer you provide for the key However when you grade a file upload assignment the answer you type will be visible to he
123. osition of a hint can be controlled with the HINT tag By placing the HINT tag within any section of a question you can specify where the hint will appear See section 9 2 lt SIGFIGS gt If the lt SIGFIGS gt tag appears anywhere within a Numerical part of a question WebAssign will only place sigfigs icons wherever you have lt SIGFIGS gt You can use more than one lt SIGFIGS gt tag in a question lt userimage reference number gt Notation used by My Files to reference an image from an instructor s space in WebAssign The My Files tool enters the proper reference number See section 8 15 2 lt userfile reference number gt Notation used by My Files to reference a link to a file from an instructor s space in WebAssign The My Files tool enters the proper reference number See section 8 15 2 lt symimage expression gt The tag used by Math Display to make it simple to include properly formatted mathematical notation as well as other technical symbols See section 9 10 SINCORBBECI The tag used in multi select question type answers to indicate when the incorrect distracters begin See section 8 3 SUBMIT The tag used if you want to add a submit button to the parts of a multi part question If the question is on an assignment that requires submission by entire assignment the button moves the focus to the real submit buttons at the end of the assignment otherwise the button submits
124. ou need to specify one or more correct target areas on the image To view an example search for a question with the Name template image map and authored by webassign To create an image map question choose Create from the Questions menu and perform the following steps Enter a name for the question and select Image Map as the Mode of the question Enter the text for the question in the Question field and the text src Click My Files page tool Check the box next to the image Eu ue XM 9 Select ID Only from the pulldown menu Creating Questions 201 Question Editor Eciting Identifying atoms in My Files molecules 342783 Add File to Question Duplicate Redisplay m Paste location of file selected below as Attributes use saved attributes Content ination Field Question i ID Only Mame Identifying atoms in molecules NEN Huestion ied The image below is a model of guanine Please click the Modify Selected Items center of one of the nitrogen atoms lt br gt Name srcz C3 labs abscisic acid jpg bullvalene small gif carbon dioxide gif ibuprafen gif methyl bromide jpg M moleculei jpg nicotine gif nitric acid gif syllabus htmi 6 Click Go The image must be left justified i e the default placement Do not use any alignment tags or indentation 7 Place the ID of the image after the quotation mark and finish the text with gt
125. ould not be used for your variable names They are listed in Appendix D 9 1 3 Use of the EON tag The lt EQN gt tag used in the Question field is the same as the lower case lt eqn gt tag except the result of the Perl code is written in black instead of red When using the lower case eqn tag in the Answer field the answer is displayed with at most three significant figures but the exact unrounded machine value is compared with the student response for grading If the capital lt EQN gt tag is used in the Answer field of a question the answer key will be displayed to machine precision The number used as the correct response will be the same value that is displayed in the key You may use a decform function with an lt EQN gt tag to round the value used as the correct response to a certain number of decimal places For example suppose the result of your calculation a is 1 59154943091895 If you use EQN decform a 1 the answer to this question will now be 1 6 and 1 6 will be displayed in the key 9 2 Including Hints in Questions You can include hints in a question you are coding The hints are entered in the Answer field and can give comments based on the answer the student has submitted 9 2 1 Hint for a simple question 9 2007 You can warn students of a likely mistake within their answer if you define the hint in the answer field For example to suggest that their answer is not the correct sign when it is oth
126. ous example and place SECTION tags to identify breaks between modes in the answer egn SI SV SR1 S R2 SP1 SISI ORL egn SI V R1 R2 P2 SI SI SR2 gt lt SECTION gt Bulb 1 Bulb 2 9 2007 236 WebAssign User s Manual 4 0 Both are equally bright SECTION eqn P1 SP2 gt There is no space after the SECTION tag and the next character Content Name Bulbs in series Mode Multi Made NCM hulti hMade Options Question lt eqn R1 dectormi randnum 1 3 1 10 2 gt lt FONT FACE Symbol Wz foant bulb and a segn Re2 dectform randnum 4 9 1 10 2 gt lt FONT FACE SymrbolsW lt font gt bulb are connected in series to a segn V randnum 12 15 3 gt volt power supply lt DIV class indent gt a What is the power delivered to the first bulb lt BR gt lt gt W lt ER gt ib What is the power delivered to the second bulb lt BRe lt gt W ZSECTION ic Which bulb is brighter ZSECTION id What is the total power delivered by the batteryv cBR gt Wer DIV gt Answer Add tab lt eqn I W R1 9R2 5P1 SI SI SB1 lt eqn I SV SRITSRZ PZz SI SI SBZ lt SECTION gt Bulb 1 Bulb Z Both are equally bright lt SECTION gt lt eqn FP1 9P2 gt 5 Preview your question a Click Test Preview to see the current version of your question Question Previewer Previ Tool Bulbs in series 302349 dieci AL Show All Iri view Hide All Hidden Mark
127. out ordered multiple choice 9 2007 Creating Questions 169 Question Editor Editing ch1 water vs peroxide 2433869 Last Saved Jun 27 2004 Page Tools Content Name eni water vs peroxide Made Multiple Choice Multi Mode Options Au estiarn The symbol for water is Hzasub 2z sub Ocsub 2z sub Answer Add tab zxenqgn ORDERED 22 True False Display The symbol for water is HoOe C True C o False 8 2 4 Multiple choice pulldown menus Occasionally it is desirable to have a multiple choice question for matching type questions in which the choices are in a pulldown menu This allows you to write questions that are more compact In fact you can have the pulldown menu in the middle of a sentence if you like Note You cannot use HTML images or other special characters in a pulldown menu Browsers will not display them properly To write a multiple choice question with a pulldown menu choose Create from the Questions menu and perform the following steps 1 Enter a name for the question and select Multiple choice as the Mode of the question 2 Enter the question text in the Question field 3 Type the tag for an answer box lt _ gt in the Question field where you want the pulldown menu to appear The keystroke combination for the answer box is less than underscore greater than 9 2007 170 WebAssign User s Manual 4 0 9 2007 4 Type lt eqn SPULLDOWN 1 SORDERED
128. own personal folder on the WebAssign server Similarly if you want to create a link to an html page you have you can upload the html file to your personal folder In the following instructions assume that you want to include the image hydrocarbon12 gif in a question Select Create from the Questions Menu or click edit in the row of the question in which you want to include the image and perform the following steps 1 Click the My Files tool at the top of the Question Editor My Files is part of the Page Tools a My Files brings up a new window that gives you access to your private space in WebAssign From this window you can import remove and move files create folders and paste a selected file into the question answer or solution as an image or a link Add File to Question Paste location of file selected below ae Image Attributes use saved attributes Destination Field Question My Folders Modify Selected Items z BF ew Folder Ae Import File Hame Size Type Last Modified 3 chem I 1 item Folder Sep 27 2005 12 32 PM EDT C3 Chem II B items Folder Sep 27 2005 12 32 PM EDT ea Organic 0 items Folder Sep 27 2005 12 33 PM EDT detailed score git 2 439 K File Feb B 2005 07 44 PM EST O syllabus html TURK File Jan 29 2005 04 07 PM EST Modify Selected Items aj 2 Click the Import File Importing allows you to browse your computer drives for the image you want to import Navigat
129. plate email checking SASSIGNMENT_ID Holds the current assignment id SDEPLOYMENT ID Holds the current deployment id The deployment id identifies the assignment after it is scheduled in a class SRESPONSE NUM Holds the number of submissions a student has already made Used in weighting questions on assignment Ex eqn 1 S RESPONSE NUM in the weighting box for a question would make the weight of the question drop to 1 2 1 3 etc points on successive submissions 9 2007 344 WebAssign User s Manual 4 0 STHISBOXNAME Each answer box in an assignment has a name this variable holds the full name of a box Example RN 355 1 0 83 is the box name for a random numerical box of question ID 355 It is the first part 0 of the first question 1 on the assignment and 83 is the random seed SPHYSLETPATH Contains the default class path for Physlets and applets SAPPLETPATH D 5 If then else Perl Expressions 9 2007 There are situations in which you may want to use a condition to define a variable This can be easily accomplished using an if then else Perl expression inside an eqn tag This Perl conditional operator is a trinary or ternary operator since it has three operands and works like an if then else As a trinary operator its two parts separate three expressions CONDITION THEN ELSE If the CONDITION is true only the THEN expression is evaluated and the value of t
130. power delivered to the first bulb br c Place proper units for the correct answer after the box A 0 20 font face Symbol gt W lt font gt bulb and a 0 40 font face Symbol gt W lt font gt bulb are connected in series to a 12 volt power supply What is the power delivered to the first bulb br W 3 Identify and randomize selected elements of the question using lt eqn gt tags Apply conventional variable names and reasonable value ranges A eqn R1 decform randnum 1 3 1 10 2 font face Symbol gt W lt font gt bulb and a lt eqn R2 decform randnum 4 9 1 10 2 gt lt font face Symbol gt W lt font gt bulb are connected in series to a lt eqn V pickone 1 5 3 6 12 gt volt power supply What is the power delivered to the first bulb lt BR gt lt _ gt W Remember to select appropriate units and as described in the section above pay particular attention to the following e Choosing which numbers to randomize 9 2007 Advanced Question Writing 229 e Preserving the appearance of numbers e Avoiding trivial impossible or impractical questions e Avoiding implausible answers 4 Express the correct answer using the solution formula Power is current squared times resistance lt egn SI V R1 R2 SP SI SI SRI gt This is one method of using multiple statements in Perl to calculate intermediate results Only the result of the last statement the statement after the semico
131. power of expr get data The get data function provides a way to retrieve work done by a particular student on a particular assignment The special variables DEPLOYMENT_ID and STUDENT may be used to retrieve answers entered by a student on the current assignment Other values may be substituted to get answers from other assignments or other students Example data get data 12345 brian webassign An array reference of responses is returned If work for a specific question is required an optional third argument containing the question ID may be passed to get_data Example get data SDEPLOYMENT ID SSTUDENT qid where qid stands for a question ID number int n1 Takes a number and returns the integer part Example int 6 713 returns 6 paren mW You can use the jmol function to open the jmol applet The syntax is lt egn jmol filename gt Where the file is in one of several possible formats See http jmol sourceforge net linest listl list2 Calculates the least square fit of two lists and returns an array reference Example Use Linest x new Linest V x gt linest arrayl array2 log expr Returns the natural logarithm base e of expr The argument must be positive log10 expr Returns the logarithm base 10 of expr The argument must be positive PearsonR listl list2 Returns the PearsonR statistic of 2 lists of numbers Example PearsonR arrayl array2 wh
132. r equal to Mot equal to Plus ar minus Square root N root Absolute value Limit Integral Closed Integral Summation LInderiOver Product Differentiation Partial derivative Trig li infinity x middot y X COSSY x propto y ar x proportional y Sy wl y x unian v x intersect v x perp Y c sarti roota raat4 od raotnodg abst lim _ g 0 int x cintegral sum i 0 x sum q infinity prod i 0 x odiei partial 2uyipartiales E rj gdr cos r atan y cost atangi etc 9 2007 254 WebAssign User s Manual 4 0 Greek characters and text Text text a string of text a string of text Greek alpha beta delta pi etc a D T Capital greek Omega Theta Lambda ete OA Matricies and Formulas 24 1 ifzx lt l T x1 text f x lt 1 3x textiit 1 8 x ES pP ff 2c F Farmula lt 1 6x1 texttif x 1 r 3x if 1 ji yl 6r 1 irl Quadratic formula x chbe sqiib 2 4acyviza Matrix rnatrix 2 3 p v z a h cp matriki A a 113 a 012 a dana Matrix 21 8 22 3 Qn au s u8 imiia ima a imn p 9 2007 Advanced Question Writing 255 Other useful symbols Angstrom Angstrom Emf Emf Degree 36 dey Under iH 20 Over H 20 Hat xw Vector gm Accent xr Tilde xi Grave oy ell ell hbar hbar Overbar XM COverbrace pony zm Underline X S LInderbrace Oyvz Mf Left angle langle
133. r gt lt td style 2 border bottom lpx solid black text align center nowrap align center gt lt i gt x lt i gt lt sup style font size Advanced Question Writing 257 0 8em 2 sup nobr td tr tr td nowrap align center gt lt i gt x lt i gt t lt egn S a gt lt nobr gt lt td gt lt tr gt lt table gt For additional namespaces see the table below and online at http www webassign net info html_substitution html built up fraction if you assign the numerator in quotes to n and the denominator in quotes to d Tag Explanation Example lt h math gt Italicizes the variables and h math a x 1 2 h math handles superscripts and Displays as subscripts 4 4 x Sirrac Creates a nicely aligned h frac n2 x 2 d x Sa lt h frac gt Displays as y xt 4 h matrix Displays a matrix in a nicely aligned HTML format Use to separate columns and to indicate the end of a row lt h h matrix gt lt h matrix gt The above was entered to make the code look as much like a matrix as possible it is not necessary You can enter the statements on a single line also lt h matrix gt a b c d lt h matrix gt Either expression displays as a 9 2007 258 WebAssign User s Manual 4 0 lt h determinant gt Displays a determinant in a nicely aligned HTML format Use to separate columns and to indicate the end of a row
134. r question on the first lines of the Answer field and press return between each answer If none of the answers is correct you should add the answer None of these Otherwise students would be marked correct without even answering the question The question editor contains a soft wrap feature for your convenience WebAssign will not read any text moved to another line without a carriage return as starting a separate line This allows you to enter longer answers or distracters while easily viewing the entire entry 4 Enter the tag lt INcoRREcT gt and then the distracters incorrect answers that you would like to include as choices on the lines below the correct answers with one on each line The first distracter must follow immediately after the lt INCORRECT gt tag on the same line 5 Click Redisplay to update the display as it will appear to the students Note that the order of these choices has been randomized for the student The choices with a x next to them are the correct choices and those with an empty _ are not correct The students will not see the green x marks unless they are viewing the key 9 2007 Creating Questions 173 Content Name Jus presidents Mode Multiple Select Multi Mode Options Question Which of the following were elected President of the United States Answer Add tab Richard Nixon Harry Truman Calvin Coolidge ZINCORRECT A ndrew Johnson Gerald Ford Display Which of
135. r s gt U bar LI s ubar img src images ubar gif alt line over u title line over u gt V bar v lt s vbar gt lt img src images vbar gif alt line over v title line over v gt K bar E lt s Kbar gt lt img src images cKbar gif alt line over capital K title line over capital K gt Nu bar W sstnhubar img src images nubar gif alt line over nu title line over nu gt Script E lt s scriptl gt lt img src images scriptl gif alt script lowercase 1 title 2 script lowercase 1 gt Script E r a S SOPLIDEES img src images scriptE gif alt script E title Script E Less than or lt s lessorequal gt lt img src images lteq gif alt less than or equal equal to to title less than or equal to Greater than c lt s greaterorequal gt lt img src images gteq gif alt greater than or or equal to equal to title greater than or equal to gt Much less Ec lt s muchlessthan gt img src images ltlt gif alt much less than than title much less than gt Much gt lt s muchgreaterthan gt lt img src images gtgt gif alt much greater than greater than title much greater than gt Not equal lt s notequal gt lt img src images neq gif alt not equal to title not equal to gt Approximate lt s asymptotic gt lt img src images apx gif alt approximately title approximately gt Approximate lt s congruent gt lt img src images apxeq gif alt approximatel
136. rate key concepts More and more Java applets are being developed that can be used in WebAssign Some questions require students to modify the simulation and then answer a question about what they have done Other questions actually grade the resulting configuration of the application This type of question requires the use of special code to read the output of the simulation Teachers interested in this possibility should contact WebAssign for assistance See section 9 6 for instructions on how to use applets in WebAssign questions 9 2007 208 WebAssign User s Manual 4 0 8 15 Multi mode Questions It is common in many textbooks to provide one scenario and then ask as many as three or four questions about that scenario with some questions requiring numerical answers and others requiring a multiple choice response or even a brief essay WebAssign allows you to ask questions such as these questions with several parts and different modes of questions Because writing multi mode questions requires advanced formatting only advanced users may want to attempt writing these questions Using different modes in one question is discussed in Chapter 9 Advanced Question Editing An alternative to writing one question with several modes is to ask each part as a separate question repeating the scenario as part of each question Using the cut and paste functions of your computer it is possible to duplicate the scenario in several questions qui
137. re any intellectual property rights in such Content by downloading modifying or printing the Content Internet Links Some links on the Service lead to sites posted by independent site owners Because WebAssign has no control over these sites WebAssign is not responsible for such sites accessibility via the Internet and does not endorse products services or information provided by such sites As such WebAssign shall not be responsible or liable directly or indirectly for any damage or loss caused or alleged to be caused by or in connection with use or reliance on any Content goods or services available on or through any other site Further the inclusion of these links does not imply that the other sites have given permission for inclusion of these links or that there is any relationship between WebAssign and the linked sites WebAssign is an independent operating company and reference to other companies do not imply any partnership joint venture or other legal connection where WebAssign would be responsible for the actions of their respective owners Conduct You may only access the Service for lawful purposes You are solely responsible for the knowledge of and adherence to any and all laws rules and regulations pertaining to your use of the Service You agree that you will not 1 use the Service to commit a criminal offense or to encourage conduct that would constitute a criminal offense or give rise to a civil liability
138. redit if a student enters the wrong number but a dimensionally correct unit You do this in the Assignment Options You cannot see this from the Test Preview window but you can from the student view of an assignment A person walks 25 0 degrees north of eastfor 3 10 km How far would um have to walk due north and due east to arrive at the same location E 31 ft Ai due north 81km al km You have received Nou have received partial credit credit Submit Modified Answers To Question 1 8 6 Symbolic Questions Symbolic question format allows students to enter a formula as a response to a question Any response that is equivalent to the answer formula will be graded as correct This question type uses standard calculator notation Students are given credit for any input that is evaluated to be equivalent to the answer formula For example 4x 12 would be equivalent to x 3 4 The students may enter a for multiplication or use implicit multiplication with variables The calculator notation used is as follows 9 2007 186 WebAssign User s Manual 4 0 Available operators for addition for subtraction or the negative sign or nothing for multiplication i for division or for exponential where necessary to group terms abst to take the absolute value of a variable or expression Example x l or x Z x or 4x xz x t3 pps Aly Ti or 3 X 1 abs 5 5 Available operators
139. rmine the question mode numerical multiple choice etc and format your question appropriately 3 Identify and randomize selected elements of your question using lt eqn gt tags Advanced Question Writing 225 4 Express the correct answer s to the question in terms of the variables defined in the lt eqn gt tags 5 Preview your question 6 Save your question For example to demonstrate how to write a simple randomized question only one part consider this question from physics A 1200 kg car is accelerating at 5 m s What is the force on the car Here are the essential steps to create a useful question with randomized variables 1 Format the question with HTML tags Place superscript tags SUP around the 2 to create the symbol to indicate seconds squared A 1200 kg car is accelerating at 5 m s lt sup gt 2 lt sup gt What is the force on the car To make this example as clear as possible we have used a return so that the question now appears on more than one line This has no effect on formatting the question HTML does not recognize line returns If you want a new line to begin you must use an HTML tag such as P or BR see Appendix B 2 Determine the question mode and format the question appropriately a Identify the question as Numerical and select that option Multi Maode Options Multiple Choice Host Multiple 5 elect Numerical Fill in the Blank Matching Essay Sumbolic I
140. rmless from any claim or demand including reasonable attorney s fees made by any third party due to or arising out of content you submit post to email or otherwise transmit through WebAssign your use of the Service your connection to the Service or your breach of the TOU Trademarks WebAssign is a registered service mark of North Carolina State University under license to Advanced Instructional Systems Inc WebAssign All other trademarks service marks trade dress and logos used in the Service are the trademarks service marks trade dress and logos of their respective owners Local Laws WebAssign controls and operates the Service from its headquarters in the United States and makes no representation that the Content is appropriate or available for use in other locations If you use the Service from other locations you are responsible for compliance with applicable local laws including but not limited to export and import regulations of other countries Unless otherwise explicitly stated all marketing or promotional materials found on the Service are solely directed to individuals companies or other entities located in the United States Modifications to the Service WebAssign reserves the right at any time and from time to time to modify or discontinue temporarily or permanently the Service with or without notice You agree that WebAssign will not be liable to you or to any third party for any modification suspen
141. s place 8 63 to the hundredths place 4580 411 4170 4580 to the tens place 411 to the ones place 4170 to the tens place When you take the logarithm of a number the number of decimal places in the result must be the same as the number of significant figures in the number you started with Why is this For example log10 27 1 43 log10 27 two significant figures 1 43 two decimal places In 0 026 3 65 Keep in mind that certain numbers are considered to be absolute such as the coefficients in the chemical formula below for example the 3 3 H2 2 C C2H6 Click here to close this window 8 5 4 Significant figures using DECFIGS 9 2007 Sometimes it is not possible to determine the number of significant figures in an answer but it is possible to specify the number of decimal places WebAssign allows you to set the number of decimal places displayed in the answer key and to mark student responses incorrect that do not include the correct number of decimal places To display a specified number of decimal places and compare the student s response with this number use the following code in the Answer box EON SDECFIGS 0 001 number where 0 001 is the precision required and number is the numerical answer to the question For example suppose you ask the students to report the mass of a sample they measured Suppose the balance they used is accurate to the 4 decimal place You do no
142. sView Physics 200 section 001 Show All Sections Class Tools Assignments Instructor Geoff Rapoza Past 2 Current Recent Assignments 1 Future All Low Medium High Detail Term Spring 2005 Hame Category Available pue Hosen cens Homework 1 view edit schedule scores Homework pesci tolit ScoreView Ee Edit Class Info This is the real Homework 1 assignment SFE 2 Ca 004 164827 SFE 2 Ca nnb 164525 SFB Z P r3 296007 SFB Z P nb 296010 SFB 2 P n1 154650 Propagate Class Schedule Communication Edit Student Home Page You will find the Previewer window helpful if you want to see the code of a question Just click View next to the question and click the Code tab If you do want to view the question in the Question Editor the Previewer has an Open in Editor link in place of the Reload From Editor link 9 2007 210 WebAssign User s Manual 4 0 Question Previewer SF6 2 P 003 296007 GUTES mpm m Hide All Hidden Mark Help Hints Solution i show new Randomization Open in Editor amp n Details Test Preview Question Two boats start together and race across a eqn x randnum 410 850 2 2 km wide lake and back Boat A goes across at lt eqn vA x gt km h and returns at lt eqn v km h Boat B goes across at lt eqn vB x 2 km h and its crew realizing how far behind it is getting returns at segn vBr x 3 2 km h Turn around times are neg
143. sion or discontinuance of the Service 9 2007 Termination You may discontinue your participation in and access to the Service at any time The TOU will continue to apply to all past use of the Service by you even if you are no longer using them You acknowledge and agree that WebAssign may terminate or block your use of all or part of the Service without prior notice for any reason including without limitation if WebAssign believes you have engaged in conduct prohibited by this TOU You agree that upon termination or discontinuance for any reason we may delete all information related to you on the Service and may bar your access to and use of the Service General By accessing the Service you agree to the above stated TOU This Agreement is entered into in the State of North Carolina and shall be construed in accordance with the laws of North Carolina exclusive of its choice of law rules Each party to this TOU submits to the exclusive jurisdiction of the state and federal courts having jurisdiction in the State of North Carolina and waives any jurisdictional venue or inconvenient forum objections to such courts In any action to enforce this TOU the prevailing party will be entitled to costs and attorney fees In the event that any provisions of this TOU are held to be unenforceable such provisions shall be limited or eliminated to the minimum extent necessary so that this TOU shall otherwise remain in full force and effect T
144. sion 2 0 0 11 gt lt PARAM NAME gt lt EMBED NAME mapcontrols MAYSCRIPT SRC controls swf WIDTH 100 HEIGHT 100 PLUGINSPAGE http www macromedia com shockwave download index c gi P1 Prod Version ShockwaveFlash gt lt OBJECT gt 9 10 Math Display WebAssign allows you to display mathematical functions as images in proper mathematical notation The image is created by a special WebAssign tag This tag is useful for displaying built up fractions radicals integrals summations partial derivatives and matrices The image can contain randomized variables The tag automatically provides a text description alt tag of the mathematical expression for the sight impaired Math Display is also available for displaying student answers to symbolic questions No other applications or plug ins are required to implement WebAssign s Math Display 9 10 1 Using Math Display To write a question using Math Display insert the symimage tag lt symimage expression gt at the appropriate location in your question The expression consisting of plain text will be used to create an image in proper mathematical notation For example to display the solution of a quadratic equation p sqrt b 2 4ac 2a enter symimage b sqrt b 2 4ac 2a in the Question field The following screen shows how the expression will display Previous to the creation of the symimage tag Math Display used a Symbolic Ima
145. st lt BR gt lt BR gt Which of the following quantities can you use to determine the spring constant lt SECTION gt lt BR gt From which plots can you determine the period of the system Creating Questions 165 Y Position Energy 4 3 z 1 o 1 2 3 4 O E Trans KE O E Spring PE cl trac C E Gravitational potential L ME Total energy Initial La elocity WS a gg Mass kg f LLL tl b Tm lt gt EIN TS PLAY PAUSE RESET STEP BACK STEP FORW Experiment with the spring mass system See what happens when you choose different values for the mass and initial velocity To change a value click reset first Which of the folowing quantities can you use to determme the spring constant 7 Sound Identify the following bird A HREF userimages demo demo bird au gt song lt A gt Identity the following bird song In the Answer field you will enter the answer or formula for the question you are writing The exact format will depend on the type of question 8 2 Multiple Choice Questions A multiple choice question presents mutually exclusive choices with only one correct response available To write a similar question with more than one correct answer see section 8 3 Multiple Select Questions 8 2 1 Creating a multiple choice question To write a multiple choice question choose Create from the Questions menu and perform the following steps 1 Enter a
146. t easier to enter the formula for the answer and to be able to read the answer algorithm later For example suppose a question gives the angle in a right triangle but instead of giving one of the sides gives the circumference of a circle for which one side of the triangle is a radius The question then asks for another side of the triangle You could write out all the formulas and enter the answer as one Perl statement in an lt eqn gt tag Or you could enter one Perl statement to assign the value of the radius and a second Perl statement assigning the answer in terms of the radius Text in Answer field Comment egn Sh C 2 S pi tan rad S th one Perl statement eqn r C 2 pi h r tan rad 5 th multiple Perl statements An example of a question with the answer coded with intermediate steps is provided in section 9 3 9 9 1 2 Variable names in the lt eqn gt tag The code included in the statement follows the conventions of the Perl programming language with all variable names beginning with a dollar sign To make your equations meaningful and clearly understood select variable names that are consistent with those used in your academic discipline such as p for price or m for mass Also the case of variables is important m is a different variable than m 9 2007 218 WebAssign User s Manual 4 0 There are reserved variables that have special meaning The reserved variable names sh
147. t of the tag above SA s 0 The format of this statement is the following s which indicates a search and replace followed by a the characters for which to search a second the characters with which to replace the found characters and ending with a third The V character is an escape character in Perl and should precede any characters in the search that have special meaning in programming such as the mathematical operators and Tip In the case of this example we are searching for 0 and replacing it with nothing If you need to search for leading zeroes in a negative exponent you must search for the 0 and replace it with For example to strip the zero out of 3 45E 06 the statement would be s 0 If the number is assigned to a variable you must use a different variable name in the answer tag Note that in the answer tag above a is the initial variable and the calculated value in the answer tag is assigned to a Using the same name in both places causes unusual behavior 9 5 Simple Multi part and Multi Mode Questions Often you will want to present one scenario and ask several questions about the scenario you have described Writing a question with several parts is a fairly simple process In WebAssign there are two distinct types of multi part questions simple multi part and multi mode A simple multi part question is one with all the parts numerical or all fill in
148. t want to give credit for their answer unless it has 4 decimal places You would code the answer as follows Creating Questions 183 EON SDECFIGS 0 0001 Sans Sthisresponse gt If students enter any of the following they will get the question correct 14 0034 3 1254 119 2314 However if the student enters any of the following he will get the question wrong 14 00341 3 124 LO 2 and the following hint will be displayed Check the number of significant figures 8 5 5 Numerical questions with units To create a numerical question which requires the student to enter the unit as well as the numerical answer click Question on the Quick Create tool or choose Create from the Questions menu and perform the following steps 1 Enter a name for the questions and select Numerical as the Mode of the question 2 Enter the question text in the Question field Enter an answer box in the appropriate place for student to record their answer The keystroke combination is less than underscore greater than 3 Enter the correct numerical answer to your question in the Answer field followed by the correct units 9 2007 184 WebAssign User s Manual 4 0 9 2007 Question Editor Editing vectors with units 546464 Last Saved May 21 2006 11 34 AM EDT Question Saved P Tool Content Name vectors with units Mode Numerical Multi Mode Options Question 4 person walks 25 0 degrees north
149. tabase For example to display our symbol for pi you could enter img src images pi gif gt in your question You can now enter a simpler expression s pi Many other symbols are available You can see a complete list at http www webassign net info symbols html For example if you enter eqn Sa 15 sUgrormirandnumi 30 19 1J 5 2 3 5b 22 sigform randnum 25 45 1 2 Sans Sa b pns For a certain reaction at constant pressure lt s Delta gt lt i gt H lt i gt egn a kJ and eqn Sb gt kJ of expansion work is done on the system What is s Delta 1 5U i for this process lt br gt gt kJ one randomization of the question displays as follows For a certain reaction at constant pressure AR 15 kJ and 22 kd of expansion work is done on the system Vvhatis AU for this process kJ 9 11 2 Creating HTML code with the h tag 9 2007 We have also added a new tag to make certain frequently used HTML constructs easier to enter and read The tag in general is lt h element gt easy to remember characters lt h element gt Within an h tag defined variables are understood and no further lt eqn gt environment is needed For example h math a x 1 2 h math will display as if you had typed lt egn Sa gt lt i gt x lt i gt lt sub gt 1 lt sub gt lt sup gt 2 lt sup gt And h frac n 2 x 2 d x Sa lt h frac gt will display as if you had typed lt table gt lt t
150. the following were elected President of the United States x Calvin Coolidge x Richard Nixon C E Gerald Ford J Andrew Johnson x Harry Truman 6 When you have finished editing click Save to add the new question to the database and assign a question ID number to the question The recommended procedure for developing a question is to click Redisplay or Test Preview check that the question redisplays properly and then click Save Always click Redisplay or Test Preview right before you click Save 8 3 2 Ordered multiple select questions WebAssign scrambles the order of the choices in a multiple select question by default If you do not want WebAssign to randomize the placement of multiple select options you need to tell WebAssign this When creating this type of multiple select question enter the choices in the order you wish them to appear Then you will tell WebAssign which answers are correct by setting the variable SORDERED equal to a list of the locations of the correct answers For example if the first and third choice in your list is correct you will use the following tag in the first line of the Answer field lt eqn SORDERED 1 9 2 5 You will not enter an lt INCORRECT gt tag if you use SORDERED 9 2007 174 WebAssign User s Manual 4 0 Content Name GPhys02 10 52 02 alt Mode Multiple Select Multi Mode Options Question Which of the lenses whose cross sections are show
151. the question Example SUBMIT link Click me to submit PRACTICE The tag used within a question to specify the questions that you would like to be available for practice when a student is viewing the question See section 8 12 lt s element gt lt h element gt Namespace tags see section 9 11 D 2 WebAssign Reserved Variables WebAssign provides the following variable names for you to use inside ean tags They will help you customize WebAssign These variable names are therefore reserved and should only be used for their assigned purpose For example if you need a variable name for the number of rows of chairs in an auditorium do not use rows a reserved name use instead something similar to num rows or Rows The current reserved variables and examples of their use are listed in the following table Reserved Variable Description 9 2007 Appendix D Tags Functions and Variables 341 size Overrides the default size of an answer box Can be used with numerical fill in the blank file upload or symbolic questions Once you define the value of size in the Answer field of a question it is the value used for all answer boxes after that in that question You can define size for each answer box The default value of size is 10 for numerical questions Example If you ask what does Je m appelle Marie mean and want to give enough room for the fill in the blank answ
152. thing to an image or to Display Math or to chemical formulas For example if you enter the following into the answer box lt eqn SLABEL a gt water tab H sub 2 sub O benzene tab C lt sub gt 6 lt sub gt H lt sub gt 6 lt sub gt sodium chloride tab NaCl ethanol tab CH lt sub gt 3 lt sub gt CH lt sub gt 2 lt sub gt 0OH carbon dioxide tab CO lt sub gt 2 lt sub gt CO MgCl lt sub gt 2 lt sub gt H sub 2 sub O sub 2 sub The eqn tag above takes up more than one line but there should never be a line return in an eqn tag in the Answer field The text will wrap but never enter a line return The question will display as follows 9 2007 206 WebAssign User s Manual 4 0 Question Previewer Previewer Tools template matching 374229 Show All In View Hide All Hidden Mark Help Hints Key Solution iota Code Show Mew Randomization Open in Editor Matching Match the chemical with the formula benzene a CO ethanol b H 0 carbon dioxide c CaHg water d MgCl sodium chloride e H 0 f NaCl g CH4CH5OH h CO submit for Testing 8 13 Practice Questions It is possible to add questions to a question that will be available to your students as practice questions Your students would see Which number is within 195 tolerance of 4 257 4 22 P4235 14 31 14 21 4 25 14 20 Practice submit Modified Answers To Question 1 When your students c
153. tion wrong Can be used in a question only numAnim Only specifically needed for Java questions when the applet itself is being graded Should be incremented numAnim in the applet name applet name my applet EON SnumAnim gt Necessary to redraw the applet with student s responses on redisplay D 3 WebAssign Flags You can turn certain features on and off with flags The WebAssign flags are listed in the following table If you set a flag equal to 1 in an eqn tag the effect 1s described in the description column Flags are used in questions Flags Description SPULLDOWN Makes multiple choice options a pulldown menu rather than radio buttons Allowed for multiple choice questions only See section 8 2 4 Multiple choice pulldown menu SSET POSITION Specifies the position of radio buttons for alignment purposes when dealing with multiple sets of blockquoted multiple choices or for having an image or footnote appear below the final set of radio buttons See section 8 2 5 Controlling the position of radio button and 8 3 3 Controlling the position of check boxes SSETICRACHZPOSITION Specifies the position of the radio buttons or check boxes for multiple choice or multiple select questions Allows you to arrange the choices in a table See template question named template set each position SCASE Makes fill in the blank questions case sensitive Allowed for fill in the blank and Java questions o
154. tles are published by O Reilly Associates Inc Sebastopol CA 9 2007 222 WebAssign User s Manual 4 0 9 3 2 The randnum function You can specify a random number for a variable using the randnum function This function is expressed as randnum lo hi inc Code Explanation randnum indicates a random number will be generated 16 an integer that specifies the low end of the range hi an integer that specifies the high end of the range LI an integer that specifies the increment by which the random number is generated The number generated by the randnum function is always an integer The following table lists some examples Text in Question field Displays to student lt egn a randnum 5 9 1 gt 5 6 7 8 or 9 lt eqn b randnum 1000 1500 5 1000 1 1 005 1 01 1 015 1 5 9 3 3 The decform function You can specify the number of decimal places to be displayed in a number randomized or not using the decform function This simple function is expressed as decform value n where decform indicates that a decimal format will be applied to the first argument value is a number or expression n specifies the number of decimal places to be preserved The following table lists some examples Text in Question field Displays to student lt egn d decform randnum 2 5 1 10 2 gt 0 20 0 30 0 40 or 0 50 lt egn b decform randnum 1000 1500 5 1000 3 gt
155. u would like to have text not rendered in italics you can include it in a text treatment For example lt symimage text answer int O0 x x 2 1 x dx gt produces 1 ge answer cir d Advanced Question Writing 251 Bold To create characters in bold in a symimage you use the html bold tag lt b gt lt b gt For example lt symimage lt b gt x y lt b gt gt x produces Underlined To create underlined characters in a symimage you use the html underline tag lt u gt lt u gt For example lt symimage lt u gt f x 2x 15 lt u gt gt produces 1 i 22 15 Size To control the size of a symimage use the parameter n For example lt symimage sqrt x a size gt n where n is an integer from 1 to 7 Size 1 is the smallest and 7 is the largest The default size if no integer is entered is 3 For example symimage x y size gt 6 gt U CEprae ti Vertical Alignment produces The symimage can be aligned vertically using the top middle and bottom parameters The default alignment is middle For example symimage x 2 3x 12 x 2 3x 1 align gt top would align the top of the built up fraction to the line of text Examples are shown below The image is aligned to the top x 3x 12 r 3r 41 The image is allaned to the middle z d 12 r 3a 1 m f r 12 The image is aligned to the bottom z
156. uestion our convention is to prevent the possibility of obtaining two identical numbers in the same problem To accomplish this create separate entirely exclusive ranges for the variables and do not allow the ranges to overlap There are times when two numbers are equal in an original question and need to remain equal in randomized versions In this case it is important to write a question in a way that maintains the original equality Avoiding implausible answers It is also important to select numerical ranges that fit the context of your academic discipline and question Otherwise answers can become implausible such as a random number for velocity that exceeds the speed of light or fractions of a cent being paid 9 3 9 Questions with randomized numbers and answers with intermediate steps To create a question with in which the answer displays intermediate steps follow these basic steps 1 Format your question with HTML tags 2 Determine the question mode and format appropriately 3 Identify and randomize selected elements of the question 4 Express the correct answers using the solution formulas 5 Preview your question 6 Save your question For example to demonstrate how to write a simple randomized question consider this initial question from physics A 0 20 ohm bulb and a 0 40 ohm bulb are connected in series to a 12 volt power supply What is the power delivered to the first bulb 1 Format the question wit
157. unction which follows the same general form as pickone lt eqn Sn picksame 50 18 14 4 The picksame statement displays the value in the same position as the text selected randomly by pickone In this way the resulting question can be selected to have a possible nuclide for an answer That is there are nuclides with 38 protons and 50 neutrons 17 protons and 18 neutrons 14 protons and 14 neutrons and 3 protons and 4 neutrons For example the question What is the nuclide symbol for a nucleus that contains lt eqn Sp pickone 38 17 14 3 gt protons and egm sn picksame 50 18 14 4 gt neutrons generates four possible questions What is the nuclide symbol for a nucleus that contains 38 protons and 50 neutrons What is the nuclide symbol for a nucleus that contains 17 protons and 18 neutrons What is the nuclide symbol for a nucleus that contains 14 protons and 14 neutrons What is the nuclide symbol for a nucleus that contains 3 protons and 4 neutrons 9 2007 224 WebAssign User s Manual 4 0 9 2007 Multiple pickone picksame functions in a question If you want to use multiple pickone picksame functions in a question it is important that WebAssign knows which pickone function a picksame function is associated with The safest way to code is to assign variable names to the functions and enter the pairs within the same eqn tag For example if you needed 3 paired choices lt eqn Sx pickone
158. value l1 0 lt param name GridUnit value 1 0 gt lt applet gt 5 Much of the code consists of lines such as document animator setDefault 6 These are JavaScript commands that tell the animator to do something If you are using a different applet the word will not be animator but the format of the script will be the same You need to change the word animator in these lines to lt EQN Sanimator gt where the word following the dollar sign is up to you but the rest must have this exact format Using Find and Replace to replace the word animator with EON Sanimator gt every time it appears but only between the script language JavaScript gt and the lt script gt tags Advanced Question Writing 241 7 Next you will need to change the codebase name and id within the lt applet gt lt applet gt tags Leave the code and archive assignments alone Change the codebase to lt EQN SPHYSLETPATH gt if the applet is one of Wolfgang Christian s applets If not use the URL of the original web site as the codebase this may not be the same as the page from which you found the code Change both the name and id to lt EQN Sanimator gt or whatever name you used above If a name and id are not both there add the missing one This is necessary so that your Physlet works in both Internet Explorer and Mozilla based browsers Your code should now resemble the following code with the changes from steps 5 and 6 highli
159. wer delivered by the battery br W lt div gt Identify and randomize selected elements of the question using lt eqn gt tags as described in the previous example A eqn R1 decform randnum 1 3 1 10 2 lt font face Symbol gt W lt font gt bulb and a eqn R2 decform randnum 4 9 1 10 2 gt lt font face Symbol gt W lt font gt bulb are connected in series to a lt eqn V pickone 1 5 3 6 12 gt volt power supply lt div class indent gt a What is the power delivered to the first bulb lt br gt lt _ gt W lt br gt b What is the power delivered to the second bulb lt br gt lt _ gt W lt br gt c What is the total power delivered by the battery lt br gt lt _ gt W lt div gt Express the correct answers one on each line using the solution formulas egn SI V R1 R2 SP1 S I SI SRI1 gt segn SPA pIo IFOR segn SPILHSE2 gt Advanced Question Writing 233 Because answer lines are executed sequentially any variables generated in the first answer for example I and P1 will be available for succeeding ones 5 Preview your question a Click Test Preview to see the current version of your question Question Previewer 33048 Previewer Tools show All In view Hide All Hidden Mark Help Hints Key Solution F Ove peye pango E SILIOT 1 i Lm EE rom or alle Test Preview Sh Randomization Reload from Editor G8 Detail A 0 30 2 bulb and a 0 60 3 bul
160. y equal equal to title approximately equal to gt Identically lt s equivalent gt lt img src images exeq gif alt equivalent equal title equivalent gt Plus minus lt s plusminus gt img src images plusminus gif alt plus minus title plus minus gt Minus plus T s minusplus img src images minusplus gif alt minus plus title minus plus gt Multiply 2 lt s multiply gt lt img src images multiply gif alt times title times gt 9 2007 334 WebAssign User s Manual 4 0 Proportional x lt s propto gt lt img src images prop gif alt proportional to sign title proportional to Orthogonal ally lt s orthogonal gt lt img src images orth gif alt perpendicular to title perpendicular to Integral Lorin img src images integral gif alt integral title integral gt Closed lt s lineint gt lt img src images cintegral gif alt contour integral integral title contour integral gt Square root ug lt img src images sqrt gif alt 2 square root title square root gt Infinity c3 ecc qr o img src images infinity gif alt infinity title infinity gt Right arrow lt s rightarrow gt lt img src images rtarrow gif alt right arrow title right arrow gt Left arrow lt lt s leftarrow gt lt img src images lftarrow gif alt left arrow title left arrow gt Double gt lt
161. ys click Redisplay or Test Preview right before you click Save The order of possible responses is not randomized for multiple choice poll questions 8 10 2 Creating other types of poll questions Although many polls and surveys use multiple choice questions you may want to ask a poll question a question for which any answer is correct in another mode Any mode can be made into a poll question just by using the Multi Mode Options and selecting Poll first and then the other mode 9 2007 200 WebAssign User s Manual 4 0 For example if you want to ask how many hours do you work on homework each night you would do the following 1 Enter a name for the question 2 Click Multi Mode Options above the Question field 3 Click Poll 4 Click Numerical 5 Click OK The Mode menu shows Multi Mode PN 6 Enter the question text in the Question field 7 Enter anything in the Answer field 8 Click Redisplay to update the display as it will appear to the students Display Haw many hours do you spend each night on homework any number 8 11 Image Map Questions 9 2007 An image map question allows students to point and click on a picture to indicate the location of an object or to identify the name of a part in a drawing You can use any image you like as long as it fits on the page and you leave the image left justified You can store your images within WebAssign using the My Files tool WebAssign has the tools y
Download Pdf Manuals
Related Search
Related Contents
GE 200D8074P046 User's Manual Bedienungsanweisung Dörrgerät Mode d'emploi User Manual - ROE creative display 発泡ポリエチレン LG Electronics MT-60PZ12V/A/B/K/S, MT-60PZ14V/A/B/K/S, MZ DRAFT Pf c User Manual DRAFT 1 Introduction - SWI Acu-Rite 425 User's Manual Lowery Tiller 6ft - Lowery Manufacturing JIRA USER GUIDE FOR MANAGED DELIVERY Copyright © All rights reserved.
Failed to retrieve file