Course Description
The course picks up from where CS 201 left by discussing concepts related to algorithmic efficiency on basic abstract data types and some sorting algorithms that utilize recursion. Then, the course introduces the abstract data types of trees, tables, priority queues, and graphs, and shows how one can implement them in C++ using fundamental data structures by emphasizing run-time complexity analysis.
Section 1
Instructor: | Ugur Dogrusoz
(Office: EA 522, Email: ![]() |
---|---|
Lectures: | Tue 9:30-10:20 (B-Z01), Thu 17:30-19:20 (B-Z01) |
Teaching Assistants
- Hasan Balci(Office: EA 525, Email: hasan.balci[at]bilkent.edu.tr)
- Mubashira Zaman (Office: EA 525, Email: mubashira.zaman[at]bilkent.edu.tr)
Graders
- Yusuf Sait Canbaz
- Bugra Ozturk
Office Hours
- Ugur Dogrusoz: Tue & Fri 8:30-9:20 (by appointment)
- Hasan Balci: Wed 10:40-12:30 (by appointment)
- Mubashira Zaman: Thu 13:40-15:30 (by appointment)
Texts
- Frank M. Carrano and Timothy Henry, Data Abstraction and Problem Solving with C++: Walls and Mirrors, 7th edition, Pearson, 2013. (textbook, ebook)
- Frank M. Carrano and Timothy Henry, Data Abstraction and Problem Solving with C++: Walls and Mirrors, 6th edition, Pearson, 2013. (old version)
- Mark A. Weiss, Data Structures & Algorithm Analysis in C++, 3rd edition, Addison Wesley, 2006. (recommended)
- Harvey M. Deitel and Paul J. Deitel, C++ How to Program, 8th edition, Prentice Hall, 2011. (recommended)
Lectures
Topics |
Contents |
---|---|
Algorithm Analysis[ Slides ] |
|
Sorting[ Slides ] |
|
Trees[ Slides ] |
|
Heaps[ Slides ] |
|
Balanced Search Trees |
|
Hashing[ Slides ] |
|
Graphs[ Slides ] |
|
Exams
Exams will be a closed-book and closed-notes exam. No A4 sheet will be allowed.- The midterm exam will be held at BZ-02,04,05,08
during 17:30-19:30 on Nov 11, 2020.
The exam will cover until the end of Trees.
Exam locations are as follows:
- BZ-02: Section 1 [Acikgoz-Daher Khatib] (Proctor: Hasan Balci)
- BZ-04: Section 1 [Demir-Korkmaz] (Proctor: Ilayda Beyreli)
- BZ-05: Section 1 [Kurnaz-Saygili] (Proctor: Kaan Gonc)
- BZ-08: Section 1 [Sevinc-Yoruk] (Proctor: Mubashira Zaman)
- The final exam will be held at ?? during 15:30-18:00 on ?? 2020. The exam will cover the whole semester.
- There will be several pop-up quizzes throughout the semester. There will be no make-up quiz for missed quizzes.
Homeworks
Please make sure that you are aware of the homework grading policy that is explained in the rubric for homeworks.
- Assignment 1: Due 23:55 on Oct 19, 2020
- Assignment 2: Due 23:55 on Nov 17, 2020
- Assignment 3: Due 23:55 on Nov 30, 2020
- Assignment 4 Due 23:55 on Dec 22, 2020
Homework assignments will be posted on this page about 10 days before their due date. Assignments are expected to be turned in by 23:55 on the due date. You should upload your solutions to the homework assignments using Moodle before the deadline. Please contact the instructors or the TAs for the late submission policy.
Please make sure you fully understand the Bilkent University Policy on Academic Honesty (in Turkish) and the Rules and Regulations of the Higher Education Council (YOK) (in Turkish). Cheating and plagiarism on exams, quizzes, and homework assignments will be punished according to these regulations.
Quizzes
Quizzes will be done periodically, announced at least a couple of days before the quiz using these guidelines. Here is the rubric for quizzes
Grading Policy
Attendance: | 6% |
Quiz: | 10% |
Homework: | 24% |
Midterm exam: | 30% |
Final exam: | 30% |
In order to be able to take the final exam, a student must
- collect at least 40% of the weighted sum of the quiz, midterm(s), and the first 3 homework grades, AND
- collect at least 30% of the first 3 homework grades, AND
- attend at least 60% of the lectures.
Advice
When you are in doubt, ask. Use office hours. If you cannot visit us during office hours, you can always ask questions or arrange meetings by e-mail. Study regularly for the course and attend classes. Do your assignments on time and pay attention to the instructions for submitting assignments. Always make sure that the code you submitted does compile and run correctly.
Related Links
- Data Abstraction and Problem Solving with C++: Walls and Mirrors (5th ed., Carrano) code examples
- Mark Allen Weiss home page
- Deitel & Deitel home page
- Tools for data visualization: David Galles, Visualgo
- Tools for memory leaks
- PuTTY: Free Telnet/SSH Client