Daniel Mishler's homepage - E111 Review

E111ers,

As many of you know, I will be presenting my Capstone project during what would normally be your lab time. Because of this, I cannot attend your lab. This means there will be no meeting on zoom for the lab or for office hours. However, to aid in your review, I've prepared an exercise for you. I will know whether or not you've attempted it, and I will know whether or not you've completed it. How? I've kept my source code open so the more advanced students can find out how. Yes, there is very little security around my code this lab, so if you want to dig into my tester and see how it works, I do not discourage it. In fact, I encourage it!

This lab consists of three steps.

  • Write a simple sorting algorithm (again). Try to do it without external resources, if you can.
  • Write a string comparison algorithm that has been stripped down a bit. Feel free to use your resources for this one, but I encourage the more advanced students to try without.
  • Write a sorting algorithm to sort arrays of arrays (arrays of strings). cough cough do you think you may have possibly just written the two parts of this function that you'd need?

    I predict this lab should take most students less than two hours to complete. I personally can finish this lab in less than five, so I think that many of you will get done early. And that's okay - If you get done particularly early, I'd encourage you to study by peeling apart some of my code. Just... please be respectful - once you figure out how to abuse the fact that it sends me emails, please don't spam me.

    starting the lab

    wget https://web.eecs.utk.edu/~dmishler/E111/MishlerReview/reviewLab.zip

    (or)

    Or download the lab here.

    Then

    unzip reviewLab.zip
    make
    ./review

    And yes, you can probably fool the tester. It's designed so it's good enough to keep you accountable. You'll know whether your solution is correct. But if you really want an exercise in studying, figure out some of the ways you *can* fool the tester with incorrect solutions. There are a few! If you really want, you can also improve the tester to fix those oversights!

    Good luck, and I hope this helps you in preparing for the final!

    E111 Homepage