Difference between revisions of "MovingHomeworkTutorial"
Anneke Bart (talk | contribs) (Used subsection feature to create table of content) |
|||
Line 9: | Line 9: | ||
For the all of these cases we actually need to move problems from one section to another. |
For the all of these cases we actually need to move problems from one section to another. |
||
− | The basic process will |
+ | The basic process is outlined below. We will go through the process with lots of screen shots. |
− | * Export homework sets so that they are files available to the file manager. |
||
− | * If several sets are included, create an archive to put all the sets in the same tar file. |
||
− | * Download the archived tar file. |
||
− | * Switch to the new course and upload the archived file. |
||
− | * Import the homework sets. |
||
− | |||
− | We now go through the process with lots of screen shots. |
||
− | (A) Export the Homework Sets. |
||
+ | ==Export homework sets so that they are files available to the file manager== |
||
We start with a clean course called Experiment2. We create a homework set called FirstSet. |
We start with a clean course called Experiment2. We create a homework set called FirstSet. |
||
− | [[Image:MovingHomeworkPict1.png]] |
+ | [[Image:MovingHomeworkPict1.png|thumb|center|900px]] |
Looking at the files available under the “File Manager “ tab, we see the basic set of files, but nothing for the set we have created. |
Looking at the files available under the “File Manager “ tab, we see the basic set of files, but nothing for the set we have created. |
||
− | [[Image:MovingHomeworkPict2.png]] |
+ | [[Image:MovingHomeworkPict2.png|thumb|center|900px]] |
“We go back to the Hmwk Sets Editor” and select our problem set for export. (I have selected the set and chosen the export button. Hit the take action button. |
“We go back to the Hmwk Sets Editor” and select our problem set for export. (I have selected the set and chosen the export button. Hit the take action button. |
||
− | [[Image:MovingHomeworkPict3.png]] |
+ | [[Image:MovingHomeworkPict3.png|thumb|center|900px]] |
See the intermediate step |
See the intermediate step |
||
− | [[Image:MovingHomeworkPict4.png]] |
+ | [[Image:MovingHomeworkPict4.png|thumb|center|900px]] |
Note the message that indicates we have exported a file. |
Note the message that indicates we have exported a file. |
||
− | [[Image:MovingHomeworkPict5.png]] |
+ | [[Image:MovingHomeworkPict5.png|thumb|center|900px]] |
If we now go back to the file list, we find the file setFirstSet.def. |
If we now go back to the file list, we find the file setFirstSet.def. |
||
− | [[Image:MovingHomeworkPict6.png]] |
+ | [[Image:MovingHomeworkPict6.png|thumb|center|900px]] |
− | (B) Suppose we now want to move a bunch of files from one course to another. Select the bunch of files. |
||
+ | ==If several sets are included, create an archive to put all the sets in the same tar file== |
||
− | [[Image:MovingHomeworkPict7.png]] |
+ | [[Image:MovingHomeworkPict7.png|thumb|center|900px]] |
Hit “Make Archive” and see the message that the tgz file has been created. |
Hit “Make Archive” and see the message that the tgz file has been created. |
||
− | [[Image:MovingHomeworkPict8.png]] |
+ | [[Image:MovingHomeworkPict8.png|thumb|center|900px]] |
− | (C) Next you want to download the archive file to your desktop. Select the tgz file and hit download. |
||
+ | ==Download the archived tar file== |
||
− | [[Image:MovingHomeworkPict9.png]] |
+ | [[Image:MovingHomeworkPict9.png|thumb|center|900px]] |
− | + | ==Switch to the new course and upload the archived file== |
|
− | [[Image:MovingHomeworkPict10.png]] |
+ | [[Image:MovingHomeworkPict10.png|thumb|center|900px]] |
− | [[Image:MovingHomeworkPict11.png]] |
+ | [[Image:MovingHomeworkPict11.png|thumb|center|900px]] |
Now select upload and see that the problem set has been added to the file list. |
Now select upload and see that the problem set has been added to the file list. |
||
− | [[Image:MovingHomeworkPict12.png]] |
+ | [[Image:MovingHomeworkPict12.png|thumb|center|900px]] |
− | [[Image:MovingHomeworkPict13.png]] |
+ | [[Image:MovingHomeworkPict13.png|thumb|center|900px]] |
− | (E) Finally we want to import the problem sets into the new course. |
||
+ | ==Import the homework sets== |
||
Select the sets you want to import. It is easiest if we use the multiple set import option since it will provide a set name. |
Select the sets you want to import. It is easiest if we use the multiple set import option since it will provide a set name. |
||
− | [[Image:MovingHomeworkPict14.png]] |
+ | [[Image:MovingHomeworkPict14.png|thumb|center|900px]] |
− | [[Image:MovingHomeworkPict15.png]] |
+ | [[Image:MovingHomeworkPict15.png|thumb|center|900px]] |
Notice that the set has been imported. |
Notice that the set has been imported. |
||
+ | ==Including local problems== |
||
Finally note that if the homework set uses problems in the "local" directory (e.g. new problems or edited problems), then you also have to archive the "local" directory (just select it and archive it by itself or along with the other files) and transfer it to the new course following the above directions. |
Finally note that if the homework set uses problems in the "local" directory (e.g. new problems or edited problems), then you also have to archive the "local" directory (just select it and archive it by itself or along with the other files) and transfer it to the new course following the above directions. |
||
Revision as of 23:38, 12 January 2011
WebWork Tutorial Reusing Homework Sets (Moving homework sets from one course to another)
There are a number of instances where you want to move homework sets from one course to another:
- You are teaching the same course as you taught in a previous semester and would like to start with the same homework assignments.
- You like want to start with someone else’s problem sets for a course you are teaching for the first time.
- You want to start with a look at someone else’s assignments.
- You are teaching two sections of the same course and want to give the same homework to both sections and you have decided this after the courses have started.
For the all of these cases we actually need to move problems from one section to another.
The basic process is outlined below. We will go through the process with lots of screen shots.
Contents
- 1 Export homework sets so that they are files available to the file manager
- 2 If several sets are included, create an archive to put all the sets in the same tar file
- 3 Download the archived tar file
- 4 Switch to the new course and upload the archived file
- 5 Import the homework sets
- 6 Including local problems
Export homework sets so that they are files available to the file manager
We start with a clean course called Experiment2. We create a homework set called FirstSet.
Looking at the files available under the “File Manager “ tab, we see the basic set of files, but nothing for the set we have created.
“We go back to the Hmwk Sets Editor” and select our problem set for export. (I have selected the set and chosen the export button. Hit the take action button.
See the intermediate step
Note the message that indicates we have exported a file.
If we now go back to the file list, we find the file setFirstSet.def.
If several sets are included, create an archive to put all the sets in the same tar file
Hit “Make Archive” and see the message that the tgz file has been created.
Download the archived tar file
Switch to the new course and upload the archived file
Now select upload and see that the problem set has been added to the file list.
Import the homework sets
Select the sets you want to import. It is easiest if we use the multiple set import option since it will provide a set name.
Notice that the set has been imported.
Including local problems
Finally note that if the homework set uses problems in the "local" directory (e.g. new problems or edited problems), then you also have to archive the "local" directory (just select it and archive it by itself or along with the other files) and transfer it to the new course following the above directions.