CS 201: Fundamental Structures of Computer Science I
Sections 1, 2, 3, and 4
Fall 2013
|
Instructors: |
Cigdem Gunduz Demir (Section 1 & Section 3) Aynur Dayanık (Section 2 & Section 4) |
|
Lectures: |
Tue 9:30-10:20, Thu 10:30-12:20, EB-102 (Section 1) Wed 9:30-10:20, Fri 10:30-12:20, EB-104 (Section 2) Mon 10:30-11:20, Thu 8:30-10:20, EB-102 (Section 3) Mon 10:30-12:20, Thu 9:30-10:20, EB-104 (Section 4) |
|
TAs: |
Anil Armagan (anil.armagan@bilkent.edu.tr) Tunc Gultekin (tunc.gultekin@bilkent.edu.tr) Can Fahrettin Koyuncu (koyuncu@cs.bilkent.edu.tr) Gulden Olgun (gulden@cs.bilkent.edu.tr) |
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.
Textbooks:
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)
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 four 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.
The midterm exam date will be announced shortly. It will be a closed-book and closed-notes exam. No A4 sheet will be allowed either.
The final exam will cover the whole semester. The final exam date will be announced by the university. It will be a closed-book and closed-notes exam. No A4 sheet will be allowed either.
Homework:
Homework 0 (This assignment will not be graded.) You can download the sample files from here: hw0_files.zip.
Homework 1 Due:
Homework 2 Due:
Homework 3 Due:
Homework assignments will be posted on this page about two weeks before their due date. 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 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.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.
Grading Policy:
Quiz: 20%
Homework: 10%
Midterm exam: 35%
Final exam: 35%
In order to be able to take the final exam, one must obtain
a minimum grade of 30 from the midterm AND
an average grade of 50 from the quizzes;
else one will receive FZ.
The instructor reserves the right to set thresholds for passing grades.
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
Compilers and Integrated Development Environments
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.
Documentation
Linux tutorial by the course TAs
C Programming in Linux by Ibrahim Korpeoglu
Operating Systems and Emulators
Other Software