Skip to content

Commit 1046f04

Browse files
committed
Changing TODO to GUIDE and updating dates
1 parent 9747c33 commit 1046f04

29 files changed

Lines changed: 1239 additions & 487 deletions

‎Week_0_python/Intro_assignment.ipynb‎

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"\n",
3232
"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",
3333
"\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"
3535
]
3636
},
3737
{
@@ -70,14 +70,14 @@
7070
},
7171
"outputs": [],
7272
"source": [
73-
"# TODO: Create a string from the following variables\n",
73+
"# GUIDE: Create a string from the following variables\n",
7474
"\n",
7575
"name_of_file = \"data\"\n",
7676
"file_number = 1\n",
7777
"file_ending = \"csv\"\n",
7878
"\n",
7979
"\n",
80-
"# TODO: replace ... with string creation\n",
80+
"# GUIDE: replace ... with string creation\n",
8181
"data_file_name = ...\n",
8282
"\n",
8383
"# This is what the autograder will check\n",
@@ -97,7 +97,7 @@
9797
"file_name = \"fname.txt\"\n",
9898
"which_one = 1\n",
9999
"\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",
101101
"# 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",
102102
"# HINT: take fname.txt apart by using split, with . as the split\n",
103103
"# 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,7 +109,7 @@
109109
"# HINT 2: To get the first element out of a list, remember python starts at 0. So try printing fname_split[0]\n",
110110
"\n",
111111
"\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",
113113
"# Do NOT just put the desired string in. Actually build it from the variables fname and which_one\n",
114114
"new_file_name = file_name\n",
115115
"\n",
@@ -153,7 +153,7 @@
153153
},
154154
"outputs": [],
155155
"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",
157157
"# 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",
158158
"\n",
159159
"file_name = \"fname\"\n",
@@ -176,7 +176,7 @@
176176
"# That the first element in the list is fname1.csv\n",
177177
"# That the last element in the list is fname3.csv\n",
178178
"\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"
180180
]
181181
},
182182
{
@@ -213,14 +213,14 @@
213213
},
214214
"outputs": [],
215215
"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",
217217
"# key: \"name\", value \"Me\"\n",
218218
"# key: \"age\", value 10\n",
219219
"# key: \"grades\", value a list with three elements, \"A\", \"A\", \"A\"\n",
220220
"# NOTE: The autograder will not pass until you do both this bit and the next\n",
221221
"\n",
222222
"\n",
223-
"# TODO: Create my_simple_dict\n",
223+
"# GUIDE: Create my_simple_dict\n",
224224
"# You can either create the dictionary all at once or just add each key-value pair in turn\n",
225225
"my_simple_dict = {}\n",
226226
"\n",
@@ -242,7 +242,7 @@
242242
},
243243
"outputs": [],
244244
"source": [
245-
"# TODO: \n",
245+
"# GUIDE: \n",
246246
"# - Add one to the age\n",
247247
"# - Add another \"A\" grade to the list\n",
248248
"# Do these by editing the existing key-value pairs\n",
@@ -294,7 +294,7 @@
294294
"\n",
295295
"# List of names (creates a set)\n",
296296
"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",
298298
"websites = {\"not filled out\"}\n",
299299
"# Approximate number of hours, including lab/in-class time\n",
300300
"hours = -1.5"

‎Week_10_calculus/lec_act_10_calculus.ipynb‎

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"source": [
3737
"# Create the function\n",
3838
"\n",
39-
"TODO: Write the above equation as a function named \"my_func\""
39+
"GUIDE: Write the above equation as a function named \"my_func\""
4040
]
4141
},
4242
{
@@ -105,7 +105,7 @@
105105
"\n",
106106
"Plot the function, along with the minima/maxima\n",
107107
"\n",
108-
"TODO: Use a new function, **fminbound**, that is essentially **fmin** but you can put bounds on the **x** values to limit the search to a part of the function.\n"
108+
"GUIDE: Use a new function, **fminbound**, that is essentially **fmin** but you can put bounds on the **x** values to limit the search to a part of the function.\n"
109109
]
110110
},
111111
{
@@ -133,7 +133,7 @@
133133
},
134134
"outputs": [],
135135
"source": [
136-
"# TODO Find the x locations of the two bends (minima and maxima)\n",
136+
"# GUIDE Find the x locations of the two bends (minima and maxima)\n",
137137
"# Use fminbound for both of these\n",
138138
"# Reminder that the maximum can be found by negating\n",
139139
"# You might find a lambda function useful\n",
@@ -155,8 +155,8 @@
155155
},
156156
"outputs": [],
157157
"source": [
158-
"# TODO Plot the function from a to b\n",
159-
"# TODO Put a green x at the first maxima, and a red x at the first minima"
158+
"# GUIDE Plot the function from a to b\n",
159+
"# GUIDE Put a green x at the first maxima, and a red x at the first minima"
160160
]
161161
},
162162
{
@@ -179,7 +179,7 @@
179179
},
180180
"source": [
181181
"# Derivative\n",
182-
"TODO Numerically alculate the derivatives at the first_max/first_min points (what should the derivative be?)\n",
182+
"GUIDE Numerically alculate the derivatives at the first_max/first_min points (what should the derivative be?)\n",
183183
"\n",
184184
"Pick a reasonable **h** for the derivative calculation. You can do forward, backward, or central"
185185
]
@@ -194,7 +194,7 @@
194194
},
195195
"outputs": [],
196196
"source": [
197-
"# TODO: Numerically calculate the derivative at the minima/maxima\n",
197+
"# GUIDE: Numerically calculate the derivative at the minima/maxima\n",
198198
"deriv_max = ...\n",
199199
"deriv_min = ..."
200200
]
@@ -220,7 +220,7 @@
220220
"source": [
221221
"# Integration\n",
222222
"\n",
223-
"TODO Calculate the area under the curve using **trapz** or **quad**, whichever you perfer."
223+
"GUIDE Calculate the area under the curve using **trapz** or **quad**, whichever you perfer."
224224
]
225225
},
226226
{
@@ -278,7 +278,7 @@
278278
"\n",
279279
"# List of names (creates a set)\n",
280280
"worked_with_names = {\"not filled out\"}\n",
281-
"# List of URLS F25(creates a set)\n",
281+
"# List of URLS W26 (creates a set)\n",
282282
"websites = {\"not filled out\"}\n",
283283
"# Approximate number of hours, including lab/in-class time\n",
284284
"hours = -1.5"

0 commit comments

Comments
 (0)