Time: MWF 9:15 - 10:20
Location: LS 307
Professor: David Galles
Office: HR 542
Office Hours: T/TR 10-12 or by appointment
Though these are my stated office hours, I am in my office most of the day.
If my door is open (and it usually is), I am happy to talk with students.
Email: firstname.lastname@example.org TA: Cole Howard
A class reader is available at the bookstore
Computer Science 112, Introduction to Computer Science II
Math 201 Discrete Math or Math 235 Formal Methods
Finals and Midterms:
Both midterms and the final will be closed notes.
|Final:||20%||Section 1: 5/17/2017 (Wednesday) 10:00 am|
If there are any problems with the above midterm dates, if you let me know about them in the first week of school then the timing can be flexible. The earlier we know about problems, the easier it will be to resolve them to everyone's satisfaction.
Students are required to follow the University's Honor Code: "As a
Jesuit institution committed to cura personalis- the care and education
of the whole person- USF has an obligation to embody and foster the
values of honesty and integrity. USF upholds the standards of honesty
and integrity from all members of the academic community. All students
are expected to know and adhere to the University's Honor Code. "
This includes but is not limited to the following:
ALL assignments are to be completed individually unless specified, in writing, on the assignment. Academic dishonesty will NOT be tolerated. This is your warning! Students are encouraged to meet with me if they have questions regarding assignments or this policy. Students caught cheating will face severe penalty.Students may:
- receive help from the professor and the TA.
- discuss the requirements of the assignments, the meaning of programs, or high-level algorithms with other students or outside sources. If you have any doubt with respect to what is acceptable to discuss, speak with the professor first.
- look at another student's code.
- look at another student's solutions to homework problems.
- receive unapproved help from an outside source including a tutor or a family member.
- submit code which has, in whole or in part, been copied from any other source (including another student, a web page, or another text).
- submit solutions to problems which have, in whole or in part, been copied from any other source (including another student, a web page, or another text).
- Any help from a source other than the professor, the lab assistant, or a TA must acknowledged. Example sources that must be cited are a parent, a family friend, and an outside tutor.
- If you wish to get a tutor in the course, speak with the professor.
- Any code submitted by a student must be completely original. No portion of a student's code may be copied from any other source (including, but not limited to, another student, a web page, or another text).
- Students caught violating the academic honesty policy will face severe penalty. A first offense will result in a 0 on an assignment and a report to the Dean's office.
Late projects will be accepted on the next class meeting after the due date for up to 75% credit. Projects will not be accepted later than one class meeting after the deadline.
Grades will be assigned on a straight scale, with Approximately
Students are expected to attend class. Topics that are discussed in class but are not in the course notes and do not appear online are fair game for the midterms and final.
Topics to be covered (partial list):
Analysis of Algorithms
Rate of growth: O(n), o(n), Ω(n) ω(n) Θ(n)
Time vs. Space
Stacks & Queues
Arrays vs. Linked Lists
Binary Tree Manipulation
Ordered Binary Trees / Binary Search Trees
Insertion Sort / Selection Sort
Merge Sort / Quicksort
Depth First Search
AVL Trees (Time permitting)
NP-Completeness (Time permitting)
Binomial Heaps (Time permitting)
Students who complete this course will be able to:
- Analyze the O() and Theta() running times of both imperative and recursive algrithms
- Write larger and more complex Java applications
- Understand all of the following algorithms, and implement them in
Binary Search Trees
Heaps (Priority Queues)
- Understand the basics of dynamic programming, and write a memoized version of an algorithm