The BUS209 course came with 14 quizzes which were in a publisher-specific format. We recieved them in .DOC format and had to convert them to plain text for copy/paste.
The following instructions outline the steps which need to be taken to make this happen (should it need to be done again).
This process requires the use of an advanced text editor which supports Regular Expressions. I recommend Notepad++.
1) Scan the document and if there are headers between sections (Multiple Choice, True-False, etc.) DELETE THEM FIRST!!!
The following steps are done in search/replace. For steps 2-6 make sure search mode is set to Extended(\n, \r, \t, \0, \x...)
2) Delete Leading Space to start lines
| SEARCH: | \n\t |
| REPLACE: | (null) |
3) Change True/False to Multiple Choice
| FIND: | ANS: T |
| REPLACE: | A. True\nB. False\nANSWER: A |
4) Change ANS: a to ANSWER: A (repeat for b,c, and d)
5) Convert TABS after question numbers and answer options into spaces
| FIND: | .\t |
| REPLACE: | .<space> |
6) Insert line breaks after ANSWER: A, B, C, D
NOTE: Each answer is followed by a page reference which is denoted by the string REF: Here, we're inserting a line break so that we can get rid of the REF string and everthing that follows it later. To simplify the process and eliminate a later search/replace, change the string REF to AAC
| FIND: | REF: |
| REPLACE: | \nAAC: |
For steps 7-9, make sure search mode is set toRegular Expression and that Match Case is checked.
7) Remove lines starting with "TOP:"
| FIND: | ^.*TOP:.*$ |
| REPLACE: | (null) |
8) Remove lines starting with "NOT:"
| FIND: | ^.*NOT:.*$ |
| REPLACE: | (null) |
9) Remove lines starting with "AAC:"
| FIND: | ^.*AAC:.*$ |
| REPLACE: | (null) |
10) Delete Trailing Spaces
| (MENUBAR: TextFX -> TextFX Edit -> Trim Trailing Spaces) |
11) Delete Blank Lines
| (MENUBAR: TextFX -> TextFX Edit -> Delete Blank Lines) |
12) Insert a blank line after ANSWER: A - ANSWER: D
This is another search/replace operation. Make sure that search mode is set to Extended(\n, \r, \t, \0, \x...)
| FIND: | ANSWER: A |
| REPLACE: | ANSWER: A\n |
13) Copy and paste the text into the assessment editor in ANGEL.