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: | Selim Aksoy (Office: EA 422, Email: ) |
---|---|
Lectures: | Tue 10:40-12:30 (B Z04), Fri 8:40-10:30 (B Z04) |
Section 2
Instructor: | Uğur Doğrusöz (Office: EA 522, Email: ) |
---|---|
Lectures: | Wed 8:40-10:30 (EA Z01), Fri 10:40-12:30 (EA Z01) |
Section 3
Instructor: | Tuğrul Dayar (Office: EA 521, Email: tugrul[at]cs.bilkent.edu.tr) |
---|---|
Lectures: | Mon 8:40-10:30 (EE 517), Wed 10:40-12:30 (EE 517) |
Teaching Assistants
- Hasan Balcı (Office: EA 525, Email: hasan.balci[at]bilkent.edu.tr)
- Leonard Dervishi (Office: EA 525, Email: leonard.dervishi[at]bilkent.edu.tr)
- İlkin Safarli (Office: EA 525, Email: ilkin.safarli[at]bilkent.edu.tr)
Graders
- Umut Utku Caliş (Email: utku.calis[at]bilkent.edu.tr)
- Muhammet Fatih Kalyon (Email: fatih.kalyon[at]bilkent.edu.tr)
- Mustafa Enes Karaca (Email: enes.karaca[at]bilkent.edu.tr)
- Mert Keser (Email: mert.keser[at]bilkent.edu.tr)
Office Hours
- Selim Aksoy: Tue 13:40-15:30
- Uğur Doğrusöz: Mon 10:40-11:30, Fri 9:40-10:30
- Tuğrul Dayar: Thu 13:40-15:30
- Hasan Balcı: Thu 13:40-15:30
- Leonard Dervishi: Tue 13:40-15:30
- İlkin Safarli: Wed 13:40-15:30
Texts
- Frank M. Carrano and Timothy Henry, Data Abstraction and Problem Solving with C++: Walls and Mirrors, 6th edition, Pearson, 2013. (textbook)
- Frank M. Carrano, Data Abstraction and Problem Solving with C++: Walls and Mirrors, 5th edition, Addison-Wesley, 2006. (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
- The first midterm exam will be held at EE 03, 04, 05, and 214
during 17:40-20:00 on March 9, 2018.
It will be a closed-book and closed-notes exam. No A4 sheet will be allowed.
The exam will cover until the end of trees.
Exam locations are as follows:
- EE-03: Section 1 (AHMAD - PEÇİNİ)
- EE-04: Section 1 (PUKA - YÜMSEL), Section 2 (AHMED - GÜLTEKİN)
- EE-05: Section 2 (HAJİYEV - ZEESHAN), Section 3 (ACAR - BEN TAARİT)
- EE-214: Section 3 (BIYIK - ZERENER)
- The second midterm exam will be held at EE 03, 04, 05, and 214
during 17:40-20:00 on April 12, 2018.
It will be a closed-book and closed-notes exam. No A4 sheet will be allowed.
The exam will cover until the end of balanced search trees.
Exam locations are as follows:
- EE-03: Section 1 (AHMAD - PEÇİNİ)
- EE-04: Section 1 (PUKA - YÜMSEL), Section 2 (AHMED - GÜLTEKİN)
- EE-05: Section 2 (HAJİYEV - ZEESHAN), Section 3 (ACAR - BEN TAARİT)
- EE-214: Section 3 (BIYIK - ZERENER)
- The final exam will be held at B-Z01, B-Z02, B-Z04, B-Z05, and B-Z08
during 9:00-11:30 on May 27, 2018.
It will be a closed-book and closed-notes exam. No A4 sheet will be allowed.
The exam will cover the whole semester.
Exam locations are as follows:
- B-Z01: Section 1 (AHMAD - SONKAYA)
- B-Z02: Section 1 (SOYDİNÇ - YÜMSEL), Section 2 (AHMED - KURUN)
- B-Z04: Section 2 (MAHMUDOV - ZEESHAN), Section 3 (ACAR - ÇAM)
- B-Z05: Section 3 (DEMİR - ZERENER)
- There will be several pop-up quizzes throughout the semester. There will be no make-up quiz for the missed quizzes.
Homework
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 February 26, 2018
- Assignment 2: Due 23:55 on March 18, 2018
- Assignment 3: Due 23:55 on April 18, 2018
- Assignment 4 (dataset): Due 23:55 on May 13, 2018
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.
Grading Policy
Quiz: | 9% |
Homework: | 16% |
Midterm exam 1: | 25% |
Midterm exam 2: | 25% |
Final exam: | 25% |
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 1, midterm 2, and the first 3 homework grades,
- 30% of the first 3 homework grades.
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 (6th ed., Carrano and Henry) home page
- Data Abstraction and Problem Solving with C++: Walls and Mirrors (5th ed., Carrano) home page
- 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