|
31 | 31 | "\n", |
32 | 32 | "For each question there's an autograder check; almost always there will be a cell that has the exact same code as the autograder check so you can see what it is. If you pass the autograder checks here, then (probably) you will pass the Gradescope autograder. **You should always check the result of the Gradescope autograder and make sure you got full credit.** If you don't, the reason you didn't is (probably) here: https://docs.google.com/presentation/d/1tYa5oycUiG4YhXUq5vHvPOpWJ4k_xUPp2rUNIL7Q9RI/edit?usp=sharing. There are additional instructions at the end of each Jupyter Notebook that you should read before handing in.\n", |
33 | 33 | "\n", |
34 | | - "There's usually a lot of supplied code/instructions. Anything you're suppose to change is labeled with \"TODO\". When in doubt, look to see what the autograder is checking for.\n" |
| 34 | + "There's usually a lot of supplied code/instructions. Anything you're suppose to change is labeled with \"GUIDE\". When in doubt, look to see what the autograder is checking for.\n" |
35 | 35 | ] |
36 | 36 | }, |
37 | 37 | { |
|
70 | 70 | }, |
71 | 71 | "outputs": [], |
72 | 72 | "source": [ |
73 | | - "# TODO: Create a string from the following variables\n", |
| 73 | + "# GUIDE: Create a string from the following variables\n", |
74 | 74 | "\n", |
75 | 75 | "name_of_file = \"data\"\n", |
76 | 76 | "file_number = 1\n", |
77 | 77 | "file_ending = \"csv\"\n", |
78 | 78 | "\n", |
79 | 79 | "\n", |
80 | | - "# TODO: replace ... with string creation\n", |
| 80 | + "# GUIDE: replace ... with string creation\n", |
81 | 81 | "data_file_name = ...\n", |
82 | 82 | "\n", |
83 | 83 | "# This is what the autograder will check\n", |
|
97 | 97 | "file_name = \"fname.txt\"\n", |
98 | 98 | "which_one = 1\n", |
99 | 99 | "\n", |
100 | | - "# TODO: Change this so that new_file_name is \"fname1.csv\" by EDITING file_name and using which_one - don't just type the new name in.\n", |
| 100 | + "# GUIDE: Change this so that new_file_name is \"fname1.csv\" by EDITING file_name and using which_one - don't just type the new name in.\n", |
101 | 101 | "# I.e., it should still work even if we change file_name to be something else and which_one to be a different number\n", |
102 | 102 | "# HINT: take fname.txt apart by using split, with . as the split\n", |
103 | 103 | "# Build the new name by taking the first part of the split, converting which_one to a string, then gluing it all together with .csv\n", |
|
109 | 109 | "# HINT 2: To get the first element out of a list, remember python starts at 0. So try printing fname_split[0]\n", |
110 | 110 | "\n", |
111 | 111 | "\n", |
112 | | - "# TODO: Build new_file_name. You may write as many lines of code as you want - you do not have to do this in one line.\n", |
| 112 | + "# GUIDE: Build new_file_name. You may write as many lines of code as you want - you do not have to do this in one line.\n", |
113 | 113 | "# Do NOT just put the desired string in. Actually build it from the variables fname and which_one\n", |
114 | 114 | "new_file_name = file_name\n", |
115 | 115 | "\n", |
|
153 | 153 | }, |
154 | 154 | "outputs": [], |
155 | 155 | "source": [ |
156 | | - "# TODO Create a list of filenames, fname1.csv, fname2.csv, ... fname3.csv\n", |
| 156 | + "# GUIDE Create a list of filenames, fname1.csv, fname2.csv, ... fname3.csv\n", |
157 | 157 | "# You must use the variables listed below to set the name of the file, the number of file names to create, and the file ending\n", |
158 | 158 | "\n", |
159 | 159 | "file_name = \"fname\"\n", |
|
176 | 176 | "# That the first element in the list is fname1.csv\n", |
177 | 177 | "# That the last element in the list is fname3.csv\n", |
178 | 178 | "\n", |
179 | | - "# TODO Write your own tests here using assert to check the above three things\n" |
| 179 | + "# GUIDE Write your own tests here using assert to check the above three things\n" |
180 | 180 | ] |
181 | 181 | }, |
182 | 182 | { |
|
213 | 213 | }, |
214 | 214 | "outputs": [], |
215 | 215 | "source": [ |
216 | | - "# TODO: Create a dictionary that has 3 key-pairs in it\n", |
| 216 | + "# GUIDE: Create a dictionary that has 3 key-pairs in it\n", |
217 | 217 | "# key: \"name\", value \"Me\"\n", |
218 | 218 | "# key: \"age\", value 10\n", |
219 | 219 | "# key: \"grades\", value a list with three elements, \"A\", \"A\", \"A\"\n", |
220 | 220 | "# NOTE: The autograder will not pass until you do both this bit and the next\n", |
221 | 221 | "\n", |
222 | 222 | "\n", |
223 | | - "# TODO: Create my_simple_dict\n", |
| 223 | + "# GUIDE: Create my_simple_dict\n", |
224 | 224 | "# You can either create the dictionary all at once or just add each key-value pair in turn\n", |
225 | 225 | "my_simple_dict = {}\n", |
226 | 226 | "\n", |
|
242 | 242 | }, |
243 | 243 | "outputs": [], |
244 | 244 | "source": [ |
245 | | - "# TODO: \n", |
| 245 | + "# GUIDE: \n", |
246 | 246 | "# - Add one to the age\n", |
247 | 247 | "# - Add another \"A\" grade to the list\n", |
248 | 248 | "# Do these by editing the existing key-value pairs\n", |
|
294 | 294 | "\n", |
295 | 295 | "# List of names (creates a set)\n", |
296 | 296 | "worked_with_names = {\"not filled out\"}\n", |
297 | | - "# List of URLS F25(creates a set)\n", |
| 297 | + "# List of URLS W26 (creates a set)\n", |
298 | 298 | "websites = {\"not filled out\"}\n", |
299 | 299 | "# Approximate number of hours, including lab/in-class time\n", |
300 | 300 | "hours = -1.5" |
|
0 commit comments