CS35 — Data Structures and Algorithms

Info | Schedule | Grading | Study Sessions | Academic Integrity | Links
Spring 2011


  • Final May 12th 2pm–5pm Sci 128


This course completes the broad introduction to computer science begun in CS21. It provides a general background for further study in the field. Topics to be covered include object-oriented programming in C++, advanced data structures (such as priority queues, trees, hash tables, and graphs), advanced algorithms, as well as software design and verification. Students will be expected to complete weekly lab assignments illustrating the concepts presented.

Prerequisite: CPSC 21 or permission of the instructor. This course is designated as a Natural sciences and engineering practicum.

Goals for the course

Class information

Room: Science Center 128
Class: Tuesday, Thursday 1:15pm–2:30pm
Labs: Friday 1:00–2:30pm and 2:40–4:10pm
Text: Data Structures and Algorithms in C++ by Goodrich, Tamassia and Mount

Instructional staff

Professor: Andrew Danner
Office: Science Center 253
Phone: 328-8665
Office hours: by appointment. Drop by if my door is open, or email me to set up a time

Student Support: Betsy Horner
Office: Science Center 257
Phone: 957-6062

Student Mentors (aka Ninjas): Sarah Chasins, David D'Annunzio, Greg Rawson, Nick Rhinehart, Chloe Stevens


1 Jan 18   Introduction to C++
Ch1: pages 2-8, 10(strings), 16(using), 17-30
inclass: intro
Lab 1
Jan 20  
2 Jan 25   Object-Oriented Design in C++
Ch1: pages 33-38, 46-56; Ch2: pages 62-88
inclass: OOP
Lab 2
Jan 27 Drop/Add ends (Jan 28)
3 Feb 01   Complexity Analysis
Ch3: pages 108-134
Lab 3
Feb 03  
4 Feb 08   Stacks and Queues
Ch4: pages 156-182
Lab 4
Feb 10 Quiz 1 (Feb 11)
5 Feb 15   Linked Lists
Ch5: pages 217-226
Lab 5
Feb 17  
6 Feb 22   Sorting
Ch10: pages 484-497, 504-521
Lab 6
Feb 24  
7 Mar 01   Trees
Ch6: pages 254-280, 414-420

Mar 03  

Mar 08

Spring Break

Mar 10

8 Mar 15   Balanced Search Trees
Ch9.3,9.4: pages 437-448
Lab 7
Mar 17  
9 Mar 22   Priority Queues
Ch7: pages 312-324, 330-348
Lab 8
Mar 24 Last day to declare CR/NC
or withdraw with a "W"
(Mar 25)
10 Mar 29   Dictionaries Lab 9
Mar 31  
11 Apr 05   Graphical User Interface Lab 10
Apr 07  
12 Apr 12   Graphs
Ch12: pages 576-594
Lab 11a
Apr 14  
13 Apr 19   More Graphs
Ch12: pages 625-633
Lab 11
Apr 21  
14 Apr 26   Catch-Up/Review
Apr 28  

May 12

Final 2pm–5pm Sci 128


Your overall grade in the course will be determined as follows:
40%Lab assignments
5%Class Participation
25%Final Exam

Lab assignment policy

Assignments will be introduced during lab on Fridays and will be due before midnight the following Wednesday night. You are strongly encouraged to start early and to attend the study sessions on Monday nights.

You will submit your assignments electronically using the handin35 program. You may submit your assignment multiple times, but each submission overwrites the previous one and only the final submission will be graded. Late assignments will not be accepted unless you contact me before the deadline, and even then extensions are only provided under extreme circumstances beyond student control. Even if you do not fully complete an assignment, you should submit what you have done to receive partial credit.

Study Sessions

Student mentors will assist me in class and run study sessions Mondays 7-11pm.

You are invited -- and encouraged -- to participate in these study sessions to prepare for quizzes, to discuss programming concepts, and to get friendly assistance in working on lab assignments. As an added bonus, snack may occasionally be provided.

Academic Accommodations

Academic accommodations are available for students with disabilities who are registered with Student Disability Services in the Dean's office.

If you believe that you need accommodations for a disability, please contact Tracey Rush in the Office of Student Disability Services, located in Parrish 113, or e-mail trush1 for an appointment to discuss your needs and the process for requesting accommodations. Tracey Rush is responsible for reviewing and approving disability-related accommodation requests and, as appropriate, she will issue students with documented disabilities an Accommodation Authorization Letter. Since accommodations may require early planning and are not retroactive, please contact her as soon as possible.

You are also welcome to contact me privately to discuss your academic needs. However, all disability-related accommodations must be arranged through Tracey Rush in the Office Of Student Disability Services.

Academic Integrity

Academic honesty is required in all work you submit to be graded. You may not submit work done with (or by) someone else. You may not examine or use work done by others to complete your own work. You may discuss assignment specifications and requirements with others in the class to be sure you understand the problem. In addition, you are allowed to work with others to help learn the course material. However, with the exception of the student mentors and your partner on group assignments, you may not work with others on your assignments.

All code you submit must be your own with the following permissible exceptions: code distributed in class, code found in the course text book, and code worked on with an partner. In these cases, you should always include detailed comments that indicates on which parts of the assignment you received help, and what your sources were.

"It is the opinion of the faculty that for an intentional first offense, failure in the course normally is appropriate. Suspension for a semester or deprivation of the degree in that year may also be appropriate when warranted by the seriousness of the offense." - Student Handbook (2010-2011, pg36 Section A.4.b.i)

Please see me if there are any questions about what is permissible.