Imagine you are a tutor or TA and you only have access to the screenshot below, but not all the code. What would be frustrating about helping someone identify the bug in this scenario?
(The course staff does not have to imagine 😉)
bug.sh
contains the following code:
VAR=7
if [[1 -eq $VAR ]]
then
echo "it was 1"
fi
A project has the following file layout:
The contents of Code.java
is this:
import java.io.File;
public class Code {
public static void main(String[] args) {
File file = new File(args[0]);
if (file.exists()) {
System.out.println("File exists, yay!");
}
else {
System.out.println("The file does not exist :(");
}
}
}
Then this surprising result happens (the programmer was expecting the file to be reported as existing):
You’ve learned a lot this quarter! (We hope)
It’s useful to reflect on what we’ve learned. (Seriously, it helps with the learning process to do reflection.)
Think about what you’ve learned in labs, lecture, and quizzes this quarter. Think about a question or a problem that you can answer now that you would not have been able to at the begining of the quarter. Write it down in the notes.
Then, the other people in your group will try to answer it or talk about how they would go about solving the problem using things they learned in class. Did they have the same answer as you? Did they highlight any different parts of their learning?
The best learning here will come from questions that aren’t one-line answers (“how do you git push from the command line” won’t be a useful reflection, for instance). A task you can imagine doing with a few lines of a bash
script, a strategy for debugging or choosing good test cases, a workflow for setting up a project, a choice of Java feature for a particular program, and more could be good examples of things to discuss.
Spend the remainder of the time discussing general computing/CSE department/course/research topics with your group and tutor.
Write down in notes before starting the questioning out loud (tutors, don’t answer questions until folks have a chance to think and write!) What is a question you have for your tutor/lab TA/classmates? Some potential conversation starters are below, but don’t be limited to these:
Once you’ve spent a few minutes thinking and writing something down, start asking! Feel free to mix groups, listen in on other conversations, move around the room, and ask these questions to the lead TA, too!