CS 201: Fundamental Structures of Computer Science I

Section 1 and Section 2

Spring 2013

Instructor:

Aynur Dayanık

Office:

Engineering Building, EA-426

Phone:

x3441

E-mail:

Lectures:

Section 1: Mon 10:40-12:30 (B-Z 08) and Thur 9:40-10:30 (B-Z 08)

Section 2: Tue 15:40-16:30 (EB-201) and Fri 13:40-15:30 (EB-201)

Office Hours:

Tuesday 11:00-12:00 or by appointment

TAs:

Salim Arslan (salima at cs bilkent edu tr)

Tunc Gultekin (tunc.gultekin at bilkent edu tr)

Gulden Olgun (gulden at 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:

Course Outline:

Introduction

[ Slides ]

  • Introduction to Classes and Objects (Ch.3 of Deitel book)

  • Control Statements: Part I (Ch.4 of Deitel book)

  • Control Statements: Part II (Ch.5 of Deitel book)

  • Code examples

  • Recitation: Part 1, Part 2, Part 3

Functions

[ Slides ]

  • Functions (Ch.6 of Deitel book)

Arrays

[ Slides ]

Pointers

[ Slides ]

Case Study

[ Slides ]

  • Classes: A Deeper Look, Part I (Ch.9 of Deitel book)

  • Classes: A Deeper Look, Part II (Ch.10 of Deitel book)

Recursion

[ Slides ]

  • Recursion: The Mirrors (Ch.2 of Carrano book)

Algorithm Analysis

[ Slides ]

  • Handout at library electronic reserve

Lists

[ Slides: Part 1 | Part 2 ]

  • Data Abstraction: The Walls (Ch.3 of Carrano book)

  • Linked Lists (Ch.4 of Carrano book)

  • Recitaiton: Part1 , Part2

Stacks

[ Slides ]

  • Stacks (Ch.6 of Carrano book)

Queues

[ Slides ]

  • Queues (Ch.7 of Carrano book)



Exams:

Homework:

  1. Homework 0 (Assigned on Feb 28, 2013. This assignment will not be graded.) You can download the sample files from here: hw0_files.zip. You can now download a sample solution for this homework.

  2. Homework 1 (4%) Assigned on March 14, Due: 23:59 on Thursday, April 4, 2013.

  3. Homework 2 (2%) Assigned on April 8, Due: 23:59 on Thursday, April 18, 2013.You can download the implementations of the three algorithms.

  4. Homework 3 (4%) Assigned on April 26, Due: 23:59 on Monday, May 13, 2013.

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:


Related Links: