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.
Instructor
Selim AksoyOffice: EA 422
Email:
Office Hours: Tue 13:40-15:30 or by appointment
Teaching Assistants
- Hamzeh Ahangari (EA 425, hamzeh[at]bilkent.edu.tr)
- Nabil AbuBaker (EA 525, nabil.abubaker[at]bilkent.edu.tr)
- Noushin Faramarzi (EA 525, noushin.salek[at]bilkent.edu.tr)
Schedule
- Mon 8:40-10:30, Tue 15:40-17:30, Thu 10:40-12:30, B-Z08
Texts
- Frank M. Carrano, Data Abstraction and Problem Solving with C++: Walls and Mirrors, any edition, Addison-Wesley, 2006 or later. (required)
- Harvey M. Deitel and Paul J. Deitel, C++ How to Program, any edition, Prentice Hall, 2011 or later. (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
- There will be several pop-up quizzes throughout the semester. There will be no make-up quiz for the missed quizzes. The quizzes will be closed-book and closed-notes.
- The first midterm exam will be held at B-Z04 and B-Z08 during 15:40-17:30
on July 6, 2015.
It will be a closed-book and closed-notes exam. No A4 sheet will be allowed.
The exam will cover until the end of pointers.
Exam locations are as follows (all classrooms are in the BCC Building):
- B Z04: AFACAN - GUNGEN
- B Z08: HASAN - YUSUF
- The second midterm exam will be held at B-Z04 and B-Z08 during 15:40-17:30
on July 20, 2015.
It will be a closed-book and closed-notes exam. No A4 sheet will be allowed.
The exam will cover until the end of linked lists.
Exam locations are as follows (all classrooms are in the BCC Building):
- B Z04: AFACAN - GUNGEN
- B Z08: HASAN - YUSUF
- The final exam will be held at EB 101 and EB 102 during 9:30-11:30
on August 1, 2015.
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 (all classrooms are in the Engineering Building):
- EB 101: AFACAN - ILGAR
- EB 102: KALKAN - YUSUF
Homework
- Homework 0: supplementary files, Due: this assignment will not be graded
- Homework 1: Due 23:59 on Wednesday, July 8, 2015.
- Homework 2: supplementary files, Due 23:59 on Wednesday, July 15, 2015.
- Homework 3: Due 23:59 on Wednesday, July 29, 2015.
Homework assignments will be posted on this page. Assignments are expected to be turned in by 23:59 on the due date. For the late assignments, each student will be given a total of two 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 23 hours late, s/he will have used one late day 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.
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. Late submissions should also be done through the online submission form.
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: | 15% |
Homework: | 10% |
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 26 points (40% of total 65) from the weighted sum of the quiz and midterm grades; otherwise, the student will receive the FZ grade.
The instructor also reserves the right to set other thresholds for passing grades.
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