Recent Tutoring Session Reviews
"Today the student finished the labs on matrix manipulation. We began by reviewing extensions and super calls via the Gargoyle extension of Monster. We also discussed pointers in the handout, which are the memory locations in which data structures are stored. The primary focus of the labs was building matrices, analyzing their contents (counting them, finding maximums, identifying magic squares, etc.), and displaying matrices. We were also reminded to pay attention to our bounds. In a couple situations we needed to avoid attempting certain modifications by using conditionals to determine when our modifications would and would not occur. That allowed us to avoid out-of-bounds calls during the kinds of loop structures that need to execute an unusual set of calls in their final passes. This is a recurring theme throughout programming, and thus worth remembering. The student is coming up with more of the answers on his own every time we meet!"
"We talked over making a front page for the game. We added a button class to the project, so when we display the front page there will be a button for the player to press before the first level loads. We will review the start page next time. Images from last time were completed for the enemies and player in the game."
"During this session, the student and I worked on coding the poker game 21. Instead of using cards, we used dice. In class, the student learned how classes work together and with each other to create a working main class. She had an example of a game that included classes such as the dice class, dealer, and player. For the game 21, the classes were very similar. She had a dice, dealer, player, and a 21 (main) class. We spoke about how (when given a scenario to code) we would know what classes we create. I explained to her that classes are very specialized. I showed her one of my previous assignments where I created a restaurant (main) and that restaurant had the classes employee, menu, item, and cash register working all together. I also went on to show how the cash register class did only things that a cash register was supposed to do (such as take a payment, record a purchase, or give out change). We went on to talk about coding her assignment as efficiently as possible. Overall, I think she's beginning to grasp how all of the classes work together. She just needs a couple of more examples to get a clear understanding of it all. This was a great session."