[Rice Logo]

Comp 212: Intermediate Programming

Spring 2004

Webpage maintained by Khaled Elmeleegy
Email kdiaa at rice.edu for problems Note

News  Course Description Lectures Labs Assignments Textbooks Resources Syllabus

News and Updates: as of Sunday, 21-Mar-2004 15:02:29 CST

05/04/04: WARNING: The individual by the pseudo name JohnGUA has posted at RentACoder an offer to buy the solution to the final exam for a mere $80.00 USD.  (For some reason, the money offered is less than that of exam #2.)  Should this individual be a current Rice Comp 212 student, he/she is blatantly violating the Rice Honor Code.  The Rice Honor Council is investigating this case.  Any assistance in resolving this case will be greatly appreciated. Remember: All Rice students are bound by the Honor Code to report all Honor Code violations!

JohnGUA has accepted the bid from ziKsa!  Check it out!

News flash! 5/5/04 12:05 PM ziKsa has a conscience and cancels his bid!

04/29/04: Tournament results are in! View the scoresheet here.
After tiebreakers (including a coin toss for 3rd/4th!), final results are:
1st: cpang
2nd: rkhwong
3rd: iamjack
4th: ev

04/28/04: Click here for the results of the first round of the Othello tournament.

04/28/04: Please e-mail dxnguyen_at_rice your major or intended major.  I need these data for a statistical study.

04/28/04: Milestone 2 of project 4 may be submitted on or before 11 am, April 30, 2004 without any penalty.

04/28/04: IMPORTANT: You must submit your source code along with your class files for your strategy, sorry for any misunderstanding.

04/26/04: The first round of the Othello tournament will take place at 12:00 in Symonds II. Pizza will be provided. In order to sign up, please email buss@rice.edu with the username of your team (i.e. for me this would be buss), as well as what topping of pizza you would like, please also indicate the pizza preferences of anyone who might come with you. I need a total person count so I will know how much pizza to order.

Please follow the following instructions to submit your strategy for the tournament. You must place your strategy in a package with the same name as the username that the project is submitted under. (i.e. when I entered the tournament I named the package buss). This package MUST be completely self-contained. This means it must contain all your AlphaBeta classes and Accumulator classes. In addition, your package must contain at the first level a pre-compiled OthelloStrat.class file. We must be able to instantiate your strategy by calling "new buss.OthelloStrat()" This also means that your package must be a top-level package at the same level as view, model, and controller. Do not have it inside your model package. You must follow all the standard interfaces. These directions are imperative, and if not followed, you may be disqualified from the tournament. If you are worried about whether you got everything correct, show up to the tournament and if there is a problem you can help us correct it before the tournament. If your code doesn't work and we can't figure it out, you will be disqualified.

Finally, you must submit ONLY your strategy package using the turnin script. The project name is "strategy". For me, the command line would be: "turnin -c comp212 -p strategy buss". Your strategy must be turned in by 11:00am Wednesday. I will turn off the turnin script at this time so I have a chance to check everyone's submission and load it. The top 6 strategies will proceed to the finals round which will take place on Friday.

04/23/04: Exam #3 is now available.  You will have 5 hours to complete it.  Do not look at it until you are ready to take the exam.  Go to previous semesters for links to old exams that you may want to study.  When you are ready to take the exam, click here to view it.

4/21/04: Come see what you can do in COMP410 (which you can do right after Comp212)! Cutting edge programming! Real-life scenarios! Distributed computing! (Technical abstract)

4/16/04: Milestone1 of project 4 is now due before 1 PM, Monday, April 19, 2004. Milestone 2 can be turned in before 11 AM on Wednesday, April 28, 2004 without any penalty

4/15/04: Grades For Exam 2 are posted. The max , average and median are 97, 58 and  65.5 respectively.

4/10/04: Please Email  dxnguyen at rice with your project partner for the last project(Games for two) ASAP.
4/07/04: The last project (Games for two) is now posted.
3/29/04: Project 3, Tournament Tree is due at 1 PM, Wednesday, April 07.
 
Staff List

Lab Lectures

Course Lectures

Assignments

Recommended Textbooks:

Resource Links:

Connecting to the Newsgroup:

(Read the newsgroup regularly)

Course Description:

COMP 212 introduces students to object-oriented program design and the fundamental algorithms and data structures of imperative programming. All programming assignments are done in the Java programming language. Several programming projects of moderate size will help students to learn

The exercises will involve common data structures such as lists, stacks, queues, search trees, syntax trees, and hash tables, and will use algorithms for sorting, searching, and graph traversal. Some exercises will involve writing programs driven by a graphics user interface (GUI).

Course Description:

COMP 212 introduces students to object-oriented program design and the fundamental algorithms and data structures of imperative programming. All programming assignments are done in the Java programming language. Several programming projects of moderate size will help students to learn

  • how to design object-oriented programs using design patterns;
  • how to choose appropriate data structures and algorithms that strike a balance between logical simplicity and performance; and
  • how to write programs in stream-oriented and event-oriented style.

The exercises will involve common data structures such as lists, stacks, queues, search trees, syntax trees, and hash tables, and will use algorithms for sorting, searching, and graph traversal. Some exercises will involve writing programs driven by a graphics user interface (GUI).