Home | About | Calendar | Projects | Assignments | Classes | Resources
{Programming III }
     
 
CALENDAR
 
REMINDERS
 
.Truth Tables.

1.22.03 - Quiz on Big-Oh. As we discussed yesterday, anyone wishing to gain Project points can do so. The Bonus Project is linked below..

 

[ Bonus Project ]

  You can gain 20 project points by doing the task linked.
 
.Truth Tables.

1.21.03 - Quiz on Truth Tables. Today we will review Big-Oh in preparation for Quiz tomorrow.

 

[ Calculating actual and formal running times | Notes on Truth Tables ]

  Quiz tomorrow on Big-Oh.
 
.Truth Tables.

1.20.03 - Today we will review Truth Tables in preparation for Quiz tomorrow.

 

[ Notes on Truth Tables ]

  Quiz tomorrow on Truth Tables
 
.AP Practice.

1.17.03 - The whole class will review the practice exam today.

 

[ Calculating actual and formal running times ]

  You will not do nearly as well on this first exam as you will on future exams. Don't get downhearted!
 
.AP Practice.

1.16.03 - I will meet with Fabiana and Nao today and go over the practice exam since they did not finish them over the break..

 

[ Calculating actual and formal running times ]

  No reminder today
 
.AP Practice.

1.15.03 - Yesterday didn't go as expected, but we did talk about the idea of a Heap data structure. That topic will return to us soon... Today we will discuss AP multiple choice exam.

 

[ Calculating actual and formal running times ]

  Heaps will return as a topic soon.
 
.AP Practice.

1.14.03 - Let's go over those AP multiple choice exams!

 

[ Calculating actual and formal running times ]

  We will talk about the AP practice exams today and tomorrow.
 
.AP Practice.

12.13.02 - I have the AP Computer Science multiple choice exam from 1999, which I will give to all of you today in class.  Seniors, please take this home with you and do with it what you would like over the winter break.   All others, please set up a time with me for next week when you have two class periods in a row free.  Remember to include D format as one of the periods that is 'free.'  We will meet then and you can practice taking the test in one chunk.  During today's class we will discuss the topics and goals of the APCS exam. 

[ Calculating actual and formal running times ]

  Have a revelious weekend!
 
.Computational Complexity.

12.11.02 - Today we will talk about the homework.

[ Calculating actual and formal running times | Assignment 9 ]

  I will be here during D format tomorrow.
 
.Computational Complexity.

12.10.02 - We will continue studying computational complexity by looking at other problems we can solve and calculate the running times for.  Assignment 9 is due tomorrow.

[ Calculating actual and formal running times | Assignment 9 ]

  Please don't miss out on the homework!
 
.Computational Complexity.

12.9.02 - We will spend this week studying computational complexity by analyzing the actual and formal running times of different algorithms and different classes of algorithms.  For homework, please read Astrachan chapter 11.4.

[ Calculating actual and formal running times ]

  Please read Astrachan chapter 11.4
 
.Project 2.

12.6.02 - vectorize() is due today.  We will test the application using Binary Search Trees and look at the remove() member function.

[ Templated Classes | Project 2 ]

  Have a great weekend.
 
.Project 2.

12.4.02 - We will continue to work on project 2.  Function vectorize() is due on Friday.  We should hope to have the BST working with the MBCS by next week.

[ Templated Classes | Project 2 ]

  You may start encountering problems with methods you did not test in your initial implementation of Binary Search Trees.  You may not have tested function isEmpty(), but it does get called in the Case Study.
 
.Project 2.

12.3.02 - We need to write function vectorize(apvector <Comparable> & v), that converts the BST into an ordered vector.

[ Templated Classes | Project 2 ]

  Consider writing vectorize() to be your homework, due on Friday
 
.Project 2.

12.2.02 - Today we will work on integrating the BST code we have written with the MBCS.  First, you will need to get the remove function from my code.  Open up my incomplete solution for the Case Study/BST implementation.  Copy the remove function from there (we will have a look at it later) and then replace my code with all of the code from your implementation of BinarySearchTree.  Add function remove to your code.  Getting your solution to work together with mine will take some work, but we will work on it for a bit.

[ Templated Classes | Project 2 ]

  Getting your BST code and the MBCS code to work together is done.  We have some tweaking to do to get everything up and running.
 
.Project 2.

11.21.02 - Continue work on Project 2.  Hopefully everyone will finish up today.  Happy Thanksgiving!!!

[ Templated Classes | Project 2 ]

  When we get back we will work on integrating BSTs into the case study.
 
.Project 2.

11.20.02 - Continue work on Project 2.  It is due December 6th.

[ Templated Classes | Project 2 ]

  We will meet tomorrow (Thursday) instead of on Friday.
 
.Project 2.

11.19.02 - Continue work on Project 2.

[ Templated Classes | Project 2 ]

  I will write the remove function for you.
 
.Project 2.

11.18.02 - Continue work on Project 2.

[ Templated Classes | Project 2 ]

  findMin and findMax are basically variations on the print function
 
.Project 2.

11.15.02 - This was the initial due date for our project.  The new due date is Friday, December 6.  In the meantime we will move on to and work on a new topic.

[ Templated Classes | Project 2 ]

  Have a great weekend!
 
.Project 2.

11.13.02 - I am sorry to have to cancel class today.  Medical emergancy.  I probably will not be around tomorrow either :-(

[ Templated Classes | Project 2 ]

  :-(
 
.Project 2.

11.12.02 - We are continuing our work on project 2.  Remember that our ultimate goal is to get the Marine Biology Case Study to work with BSTs.  I will worry about the Case Study part and the remove command.  We will ultimately look at the details of it together.

[ Templated Classes | Project 2 ]

 

  The project is due Friday!
 
.Project 2.

11.11.02 - Hopefully everyone has the insert and print functions finished by today. Next you will want to focus on the four necessary function that need to be implemented when your class has pointers: the copy constructor, default constructor, destructor and equal operator.

[ Templated Classes | Project 2 ]

 

  I will write the remove function and give it to you. This function is extremely hard, and is beyond the scope of what we are doing with BSTs
 
.Project 2.

11.8.02 - Both print and insert will use "wrapper functions," functions that get called from the function themselves.

[ Templated Classes | Project 2 ]

  Each function has a very simple implementation. If you can figure out what it is, a pattern will develop.
 
.Project 2.

11.6.02 - Start with the insert and print functions. You should be in good shape if the two of those are up and running by Monday.

[ Templated Classes | Project 2 ]

  Your main should test the insert and print functions at first
 
.Binary Search Trees.

11.5.02 - This unit on Binary Search Trees brings a lot of what we have done together in a meaningful way. Pointers, recursion and templated classes are good examples of topics we will be covering while working with. The link describing templated classes, below, is not thorough. Your cononical reference will be the Astrachan text.

[ Templated Classes | Project 2 ]

  Binary Search Trees and recursion go hand in hand. Remember recursion?
 
.Pointers.

11.1.02 - We will talk about Binary Search Trees after having a look at the solution from the latest assignment. Have a great weekend!

[ friend keyword | Assignment 8 ]

  Binary Search Trees and recursion go hand in hand. Remember recursion?
 
.Pointers.

10.30.02 - Linked lists are discussed in Chapter 12.2 of the Astrachan book. Inserting and deleting are discussed on 600-601, and the LinkStringSet class we need for Assignment 8 is described on pages 612-615.

[ friend keyword | Assignment 8 ]

  Friend classes are not essential to this program. You should know they exist, but don't need to be experts on friends.
 
.Pointers.

10.29.02 - Please open the LinkedList folder within the Materials folder on the server. We will look at a simple Linked List implemenation for sets. Assignment 8 is due on Friday, and involves changing the set class as implemented.

[ Assignment 8 ]

  Our next topic is Binary Search Trees. Look them up if you are interested.
 
.Linked Lists.

10.28.02 - We will do our best to start discussing Linked Lists today.

  Please read about linked lists in the Astrachan book
 
.Assignment 7.

10.25.02 - I am sorry to be cancelling class today. Please drop Assignment 7 into the dropbox.

[ Assignment 7 ]

  No class today
 
.Assignment 7.

10.23.02 - Continue working on Assignment 7 in class today. Once you have surpassed the more significant challenges of the assignment, we will start talking about novel uses for pointers.

[ Assignment 7 ]

  Our next topic is Binary Search Trees. Look them up if you are interested.
 
.Assignment 7.

10.22.02 - We will work on Assignment 7 today. Assignment 7 has us making a change to the Environment class so that the underlying data structure is modified to an apvector of pointers to Fish.

[ Assignment 7 ]

  Assignment 7 is due on Friday.
 
.Pointers.

10.21.02 - Today's pointer discussion is very important. You should bring any questions you have from the chapter 12 reading. We will also try out a few things with pointers.

[ Assignment 7 ]

  If you don't understand pointers, today is the day to get your questions answered.
 
.The Unbounded Ocean.

10.18.02 - Today we will discuss the advantages and disadvantages of the different solutions. Please read about pointers in chapter 12 of the Astrachan book for homework this weekend.

[ Assignment 6

  Make sure your overloaded operators work for class Position.
 
.Overloading operators.

10.16.02 - With the graphics working, we will now spend a few days working on making the project work in the unbounded ocean. I will provide you with the code. You should study the code and look at the complex components (functions ReOrder(), InserInOrder(), BinarySearch(), etc). You will also need to add your overloaded operators (< and >) from Assignment 6 to the project. If everything works, then your operators work.

[ Assignment 6 ]

  I do not cover overloaded operators as a distinct topic, so this is it. If you don't get it, I am happy to answer questions.
 
.Graphics for Project 1.

10.15.02 - We can get the Graphics for the MBCS working. Please get the files from the materials folder, stored in folder "P:\Science\Computer Science\c-300\materials\MBCS Project 1". Replace fishsim.cpp, display.h and display.cpp with their graphical counterparts, and add waitnclear.h and waitnclear.cpp to the project. You also will need to add the entire CMUGraphics folder (which you can get from one of the folders in the materials folder) into the folder containing your project. Finally, you will need to add CMUGraphics.lib to the project.

[ Project 1 ]

  Have the graphics working by the end of the week.
 
.Project 1.

10.11.02 - Everyone will have the opporunity to present their solution to one part of the project. Talya is out (Go Tennis!), so the rest will present the first three parts and Nao will present part 5 (Good luck, Nao!). Thanks for all of your hard work on the project - we have quickly become Marine Biology Case Study Experts. We will keep working with this for a while. Next up is the unbounded ocean. For now, though, please enjoy a weekend with no homework. See you Tuesday.

[ Project 1 ]

  Please drop project 1 into the dropbox. I need the entire folder, please.
 
.Project 1.

10.10.02 - Project 1 is due on Friday, which gives us two more class todays. After discussion in class yesterday, we will go forward with the plan to have you each present a part of the project on Friday. Since part 5 is the biggest challenge, you can choose in advance to speak about that part. Everyone else will be chosen at random - so you will need to be prepared to talk about all of the first four parts.

[ Project 1 ]

  Nao will present her solution to getting the Fish to follow other Fish in class today.
 
.Project 1.

10.8.02 - Project 1 is due on Friday, which gives us three more class todays. On Friday, each of you will be asked to discuss the problem and solution of one part of the project. I don't want you to be nerve-wracked, but this does mean speaking in front of parents - potentially even your own.

[ Project 1 ]

  Most of the code that you are writing for this project will be based on code that already exists in the case study. Use the code there to help you along.
 
.Project 1.

10.4.02 - Project 1 is due in one week. That does not mean that you should work any less hard than you have been this week, it means that part 5 is harder than expected. I will be giving you some ideas, but you will need to work out the details independantly. Please work on this project this weekend before going to see the movie on Sunday. The time after the movie is likely to be difficult to focus on your homework. I will start adding nightly assignments to the work you are doing on the project on Tuesday next week.

[ The Emperor's Club | Project 1 ]

  You will need a solid understanding of how the neighborhood class works in order to complete part 5.
 
.Project 1.

10.3.02 - Okay, so I finally caved and gave you extra time for the project. I would like to be able to collect it next Friday. Part 5 is pretty overwhelming, and I am glad to see that everyone is beginning to work more indendantly..

[ Project 1 ]

  Next Friday is parent's day
 
.Project 1.

10.2.02 - Project 1 remains due on Friday. You should have the first three parts finished by the end of class today. Part 4 is not too bad once part 3 is done. If you are falling behind on these suggested deadlines, please let me know so we can set up a meeting. We will meet tomorrow during D.

[ Project 1 ]

  You should have the first three parts of project finished today
 
.Project 1.

10.1.02 - Project 1 remains due on Friday. You should certainly have the first two parts finished by the end of class today. Part 3 has some implications for the rest of the program, so the more you can work on that one today the better. Your goal will be to finish part 3 by the end of class tomorrow. Part 4 is easy once part 3 is done, so please expect to have that done as homework Wednesday night. Having the male fish chase the female fish is hard, so we will be sure to have Nao present her findings on Thursday.

[ Project 1 ]

  Since we are working on a project, let's use our Thursday class time.
 
.Project 1.

9.30.02 - Assignment 5 is due today. Please place it (environ.cpp) in the dropbox. Today we will start on Project 1 which is tentatively due on Tuesday next week Friday.

[ Project 1 ]

  Project 1 involves modifying the case study. Breeding and dying are easy relative to getting Fish to follow each other.
 
.MBCS.

9.27.02 - Let's recall and discuss the questions posed on Wednesday: In which member function does AddFish() get called the most? What does AllFish() do? Where does AllFish() get called? What would cause IsEmpty() to return true? Finally, we should look more closely at the Neighborhood and position classes. Monday, we start project 1.

[ Project 1 | Assignment 5 | Assignment 4 ]

  Project 1 starts on Monday.
 
.MBCS.

9.25.02 - We have looked at class Fish, now it is time to have a little bit of a look at class Environment. Identify the following components in class Envrionment and understand how they relate to the program: In which member function does AddFish() get called the most? What does AllFish() do? Where does AllFish() get called? What would cause IsEmpty() to return true?.

[ Assignment 5 | Assignment 4 ]

  Assignment 5 deals with the Environment class.
 
.Quiz.

9.24.02 - Today we will start by using the CodeWarrior Wizard to create a new Marine Biology Case Study project. We will run the project file to see how the case study works. Then we will begin picking apart the case study class by class. Today we will start with class Fish. Assignment 4 is due on Friday.

[ Assignment 4 | Assignment 3 ]

  The class picture is now posted on the website! Scroll to the bottom of the page to view.
 

.MBCS.

9.23.02 - I really messed up on Friday. So we will move the calendar back a day, take the quiz and the class picture and discuss assignment 3, which is due tomorrow.

[ Assignment 3 ]

  Assignment 3 is due today. Please credit any collaborators and drop it in the dropbox.
 

.MBCS.

9.20.02 - We will have a quiz today. Very short, based on the Memory game program. Then we can talk a bit about the matrix stuff needed for Assignment 3, which is due on Monday.

[ Assignment 3 ]

  Assignment 3 is due on Monday.
 

.MBCS.

9.18.02 - We will go over and finalize the Memory game program and hopefuly begin to discuss this Marine Biology Case Study. Please do not forget that I will be in my classroom during D format tomorrow to meet with anyone who wishes to meet with me and discuss the quiz coming up on Friday. Also, Assignment 3 will be due on Monday.

[ Assignment 3 | The Marine Biology Case Study ]

  I will be in my classroom during D format tomorrow
 

.Memory game project.

9.17.02 - Our Memory game program is so close to working. We will have a quiz on the Memory program on Friday. Tomorrow we will go over it in detail. In the meantime, please read the beginning of part II of the case study: pages 19-30.

[ The Marine Biology Case Study ]

  Read the MBCS until they start talking about the implementation of the Environment class on page 30.
 

.No class today.

9.16.02 - No morning classes today, so I will see you tomorrow. Please read Part I of the Marine Biology Case Study for Tuesday's class.

[ The Marine Biology Case Study ]

  We discussed and worked with the MBCS during Revels week 2001
 

.The Memory Game.

9.12.02 and 9.13.02 - Almost done with the memory game!

 

Keep working on the code like it's homework

 

.The Memory Game.

9.10.02 - Today we will work together in class to organize the relationships between the classes we have built and write some code to implement.

  I hope we can have something that compiles by tomorrow
 

.The Memory Game.

9.9.02 - Today we will talk about your results from Assignment 1 and turn that into header files for classes whose member functions we will implement Assignment 2 is to begin the task of writing the source code to implement the header files.

[ Assignment 2 ]

  We will break up into teams, make sure you know how to contact your partner
 

.Welcome.

9.6.02 - Welcome to Computer Programming III. Yesterday we spent some time getting to know each other again, and hearing about our summers. I am very excited about programming III this year, and know we will have tons of fun. Assignment 1 is due on Monday.

[ Assignment 1 | Class Guidelines ]

  This website will be integral to the communication and management of the class. Please bookmark it on your home computer.
 

Type whatever you want here

  Class picture taken 9.23.02
 
Page prepaed by Christian Day.
Site design by Kelly Moran
BackForward
 
 
Last Updated: