Course Description
The course picks up from where the first semester course 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: | Fazlı Can (Office: EA 511, Email: canf[at]cs.bilkent.edu.tr) |
---|---|
Lectures: | Tue 10:40-12:30 (B Z08), Fri 9:40-10:30 (B Z08) |
Section 2
Instructor: | Erman Ayday(Office: EA 529, Email: erman[at]cs.bilkent.edu.tr) |
---|---|
Lectures: | Tue 15:40-16:30 (B Z08), Fri 13:40-15:30 (B Z08) |
Teaching Assistants
- Cem Orhan (Office: EA 407, Email: cem.orhan[at]bilkent.edu.tr)
- Gündüz Vehbi Demirci (Office: EA 505, Email: gunduz.demirci[at]bilkent.edu.tr)
- Mehmet Güvercin (Office: EA 518, Email: mehmet.guvercin[at]bilkent.edu.tr)
Graders
- Volkan Küçük (Email: volkan.kucuk[at]bilkent.edu.tr)
- Umut Ağıl (Email: umut.agil[at]bilkent.edu.tr)
Office Hours
- Erman Ayday: Tue 16:40-17:30, Wed 10:40-11:30
- Fazlı Can: Mon 14:40-15:30, Fri 10:40-11:30
- Cem Orhan: Thu 15:30-17:30 (Office: EA 407)
- Gündüz Vehbi Demirci: Mon 13:30-15:30 (EA 505)
- Mehmet Güvercin: Wed 14:00-16:00 (EA 518)
Texts
- Frank M. Carrano, 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.
- 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: Carrano-Henry Book, Sixth Ed., Related Chapter |
---|---|
Algorithm Efficiency and Sorting |
|
Trees[ Slides ] |
|
Heaps[ Slides ] |
|
Balanced Search Trees |
|
Hashing[ Slides ] |
|
Graphs[ Slides ] |
|
Exams
- First midterm information:
- November 2, 2015; 17:30-20:00; Exam Rooms EA-Z03, EB-201, EB-202, EB-203, EB-204
- Click to see your exam room.
- Second midterm information:
- December 7, 2015; 17:30-20:00; Exam Rooms EE-03, EE-04, EE-05
- Click to see your exam room.
- Final exam information:
- January 5, 2016; 9:00-12:00;Exam Rooms EB-101, EB-102, EB-103, EB-104, EB-201
- Click to see your exam room.
- There will be several pop-up quizzes throughout the semester. There will be no make-up quiz for the missed quizzes.
Homework (tentative schedule)
- Assignment 1: Algorithm Analysis using Sorting Algorithms
- Assignment 2: Mostly Binary Search Trees
- Assignment 3: Heaps and AVL Trees - Sample files for the Heaps program: file1, file2, file3, file4, file5
- Assignment 4: AVL, 2-3, and 2-3-4 trees - Sample files for the AVL program: Dubliners
- Assignment 5: Graphs
Homework assignments will be posted on this page about 10 days before their due date. Assignments are expected to be turned in by 23:59 on the due date. You should upload your solutions to the homework assignments using the online submission form (link will be provided) before the deadline. No late submission will be accepted.
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 & Attand.: | 15% |
Homework: | 10% |
Midterm exam 1: | 25% |
Midterm exam 2: | 25% |
Final exam: | 25% |
To avoid FZ and take the final exam a student must 1. collect at least 26 points (40% of total 65) from the weighted sum of the quiz and midterm grades, and 2. attend at least 70% of classes; otherwise, the student will receive the FZ grade.
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-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 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