Recent Tutoring Session Reviews
"We went over file stream and how to create a file and write to it and read from a file. The student's assignment involved converting specific characters into a set of characters. Thus, we were required to read the original copy of the file and convert it to the desired outcome. He had some trouble with passing variables by reference. I explained that passing a variable by reference is the same as giving the original copy of the variable to the function. Consequently, if the function changes the value of the variable, that variable will be changed in main() as well."
"Today we covered binary search trees, considering if it is full vs if it is complete. We also covered how to determine the height and how to count the nodes of the tree. Some of the input wasn't working for standard input, so we went over the difference between cin and getline functions."
"The student and I worked on fixing issues in the non-recursive maze solver. We wrote a maze function to return the XY coordinate for a node. Then we modified where the queue is popped in the non-recursive maze solver to return to the XY coordinate associated with the node we were returning to."
"The student and I went over translating a hefty ER diagram to an actual database using SQL statements. She was mostly concerned with the scope of the project and how quickly she could finish the work that needed to be done. To address this, we broke the diagram into smaller portions, which seemed to make things much easier. We'll probably meet again soon to discuss editing and querying the database using either Python, PHP, or Java. For now, she is going to finish creating the rest of the database."
"The main part of the program involves writing data to a binary file using offsets to "sort" the data. The method recommended by the instructor is deprecated in modern C++, so we are backporting a solution."
"The primary topic of this session was finishing discussion on classes. First, I had the student convert a class from Python into C++, and then I had the student create a class representing a Rectangle, using our previous example of a Circle class as a guide. The student implemented getArea, isSquare, and getPerimeter functions. The student seemed challenged initially, but after some encouragement and reinforcement of our previous topics, his attitude and outlook improved."