Course Description
This course introduces the abstract data types of lists, stacks and queues, and shows how one can implement them in C++ using fundamental data structures. It also introduces recursion and algorithm analysis.
The syllabus contains more information about the course.
Section 1
Instructor: | Selim Aksoy (Office: EA 422, Email: ) |
---|---|
Lectures: | Tue 13:40-15:30 (B204), Thu 15:40-17:30 (B204) |
Section 2
Instructor: | Selim Aksoy (Office: EA 422, Email: ) |
---|---|
Lectures: | Wed 13:40-15:30 (B204), Fri 15:40-17:30 (B204) |
Section 3
Instructor: | Aynur Dayanık (Office: EA 426, Email: adayanik[at]cs.bilkent.edu.tr) |
---|---|
Lectures: | Tue 15:40-17:30 (EB102), Fri 13:40-15:30 (EB102) |
Section 4
Instructor: | Aynur Dayanık (Office: EA 426, Email: adayanik[at]cs.bilkent.edu.tr) |
---|---|
Lectures: | Tue 10:40-12:30 (EB204), Fri 8:40-10:30 (EB204) |
Teaching Assistants
- Hüseyin Gökhan Akçay (Office: EA 130, Email: akcay[at]cs.bilkent.edu.tr)
- Mehmet Çelik (Office: EA 130, Email: mcelik[at]cs.bilkent.edu.tr)
- Can Fahrettin Koyuncu (Office: EA 511, Email: koyuncu[at]cs.bilkent.edu.tr)
- Akif Burak Tosun (Office: EA 529, Email: tosun[at]cs.bilkent.edu.tr)
Office Hours
- Selim Aksoy: Thu 13:40-15:30
- Aynur Dayanık: Fri 10:40-12:30
- Hüseyin Gökhan Akçay: Mon 13:40-14:30
- Mehmet Çelik: Thu 13:40-14:30
- Can Fahrettin Koyuncu: Mon 14:40-15:30
- Akif Burak Tosun: Wed 10:40-11:30
Texts
- Frank M. Carrano, Data Abstraction and Problem Solving with C++: Walls and Mirrors, 5th edition, Addison-Wesley, 2006. (required)
- Harvey M. Deitel and Paul J. Deitel, C++ How to Program, 8th edition, Prentice Hall, 2011. (recommended)
Lectures
Topics |
Contents |
---|---|
Introduction[ Slides ] |
|
Functions[ Slides ] |
|
Arrays[ Slides ] |
|
Pointers[ Slides ] |
|
Case Study[ Slides ] |
|
Recursion[ Slides ] |
|
Algorithm Analysis[ Slides ] |
|
Lists |
|
Stacks[ Slides ] |
|
Queues[ Slides ] |
|
Exams
- The midterm exam will be held at EB 101-104, 201-204 during 18:00-21:00
on November 28, 2011. It will be a closed-book and closed-notes exam.
No A4 sheet will be allowed either.
The exam will cover until the end of recursion. Exam locations
are as follows (all classrooms are in the Engineering Building):
- EB 101: Section 1 (ACARLAR - KARAHAN)
- EB 102: Section 1 (KARTAL - TUZMEN)
- EB 103: Section 1 (ULUDAG - YUCESOY), Section 2 (AKAR - DUMAN)
- EB 104: Section 2 (DURMUS - SUSLU)
- EB 201: Section 2 (SAHIN - YUKSEL), Section 3 (ACAR - CANDOGAN)
- EB 202: Section 3 (CAGAN - SARIKAYA)
- EB 203: Section 3 (SEZER - YILDIRIM), Section 4 (AGAH - COPUR)
- EB 204: Section 4 (DOGRU - VARLIK)
- The final exam will be held at EB 101-104, 201-204 during 15:30-18:30 on January 18, 2012. It will be a closed-book and closed-notes exam. No A4 sheet will be allowed either. The exam will cover the whole semester. Exam locations can be found in the seating plan. The plan shows the student IDs and the corresponding classroom for each student. All classrooms are in the Engineering Building.
- There will be five quizzes (closed-book, closed-notes, no A4 sheet is
allowed). The quiz dates are announced in the syllabus. There will be NO
make-up quiz. Quiz locations are as follows (all classrooms are in the
Engineering Building):
- EB 101: Section 1 (ACARLAR - KARAHAN)
- EB 102: Section 1 (KARTAL - TUZMEN)
- EB 103: Section 1 (ULUDAG - YUCESOY), Section 2 (AKAR - DUMAN)
- EB 104: Section 2 (DURMUS - SUSLU)
- EB 201: Section 2 (SAHIN - YUKSEL), Section 3 (ACAR - CANDOGAN)
- EB 202: Section 3 (CAGAN - SARIKAYA)
- EB 203: Section 3 (SEZER - YILDIRIM), Section 4 (AGAH - COPUR)
- EB 204: Section 4 (DOGRU - VARLIK)
Homework
- Questions, Due: October 31, 2011
- Questions, Due: November 21, 2011
- Questions, Due: December 14, 2011 (implementations of the three algorithms)
- Questions, Due: December 30, 2011
- Questions, Due: January 13, 2012
Homework assignments will be posted on this page about two weeks before their due date. Assignments are expected to be turned in by 18:00 on the due date. For the late assignments, each student will be given a total of three grace days (whole or partial) for the whole semester. Once these late days have been exhausted, no late assignments will be accepted. As an example, if Student A submits her/his 1st assignment 29 hours late, s/he will have used two late days and have only one day left. If Students A then submits her/his 2nd assignment 5 hours late, s/he will have used her/his remaining late day. If Student A submits her/his 3rd assignment 1 minute late, this assignment will not be accepted. Note that no late submission will be allowed for the last homework.
You should upload your homework using the online submission form before the deadline. Your submission must include your source code; no hardcopy (printer output) will be required if it is not announced otherwise. Always make sure that the code you submit does compile and run correctly. Graded assignments are to be picked up from the TAs during their office hours. Late submissions should also be done through the online submission form.
Please make sure you fully understand the Bilkent University Policy on Academic Honesty / Öğrenci Disiplin İlke ve Kuralları. Cheating and plagiarism on homework assignments will be punished according to the regulations of the University.
Academic integrity is a problem on programming assignments. Please refer to the "Honor Code Statement" to understand which actions violate the academic integrity. Each student is expected to read and understand this "Honor Code Statement". Students caught cheating on assignments will also be subject to disciplinary action.
Grading Policy
Quiz: | 15% |
Homework: | 20% |
Midterm exam: | 30% |
Final exam: | 35% |
Related Links
- Textbooks
- C++ How to Program, 5th edition home page
- C++ How to Program, 5th edition code examples
- Data Abstraction and Problem Solving with C++: Walls and Mirrors home page
- Data Abstraction and Problem Solving with C++: Walls and Mirrors code examples
- Data Abstraction and Problem Solving with C++: Walls and Mirrors errata list
- Dive Into GNU C++ on Linux
- Dive Into GNU C++ with Cygwin on Windows
- Dive Into Microsoft Visual C++ .NET
- Dive into Microsoft Visual C++ 6
- Dive Into Borland C++ 5.5
- Books in reserve
- Compilers and Integrated Development Environments
- GCC: GNU Compiler Collection
- Minimalist GNU for Windows
- Microsoft Visual C++ (If you would like to obtain Visual C++ through the MSDN Academic Alliance program, you should follow the link at the Department home page.
- Eclipse Open Source IDE
- Borland C++ Builder
- Dev C++ IDE
- Code::Blocks C++ IDE
- Documentation
- C/C++ Reference
- C++ Resources Network
- GNU Standard C++ Library
- Microsoft Visual C++ Language Reference
- Linux tutorial by the course TAs
- Linux command summary [ summary1 | summary2 ]
- C Programming in Linux by Ibrahim Korpeoglu
- Operating Systems and Emulators
- Other Software