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: | Erman Ayday(Office: EA 529, Email: erman[at]cs.bilkent.edu.tr) |
---|---|
Lectures: | Tue 13:40-15:30 (B-204), Thu 15:40-17:30 (B-204) |
Section 2
Instructor: | Ugur Dogrusoz (Office: EA 522, Email: ) |
---|---|
Lectures: | Mon 10:40-12:30 (EA-Z03), Thu 8:40-10:30 (EA-Z03) |
Teaching Assistants
- Hasan Balci (Office: EA 525, Email: hasan.balci[at]bilkent.edu.tr)
- Ilkin Safarli (Office: EA 525, Email: ilkin.safarli[at]bilkent.edu.tr)
Graders
Office Hours
- Ugur Dogrusoz: TBA (Office: EA 522)
- Erman Ayday: TBA (Office: EA 529)
- Hasan Balci : Thu. 13:30-15:30 (Office: EA 525)
- Ilkin Safarli: Wed. 10:30-12:30 (Office: EA 525)
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
- Nov 1, 2017, 17:30 - 20:00
- EB-101, EB-102, EB-103, EB-104, EB-201
- Click for the seating assignments
- Second midterm information
- Dec 8, 2017, 17:30 - 20:00
- EE-03, EE-04, EE-05
- Click for the seating assignments
- Final exam information:
- TBA
- 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
- Assignment 4: 2-3, 2-3,4, red-black trees, and hash tables
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. 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: | 9% |
Homework: | 16% |
Midterm exam 1: | 25% |
Midterm exam 2: | 25% |
Final exam: | 25% |
To avoid FZ and take the final exam a student must collect at least
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