When human beings acquired language, we learned not just how to listen but how to speak. When we gained literacy, we learned not just how to read but how to write. And as we move into an increasingly digital reality, we must learn not just how to use programs but to make them.
In the emerging, highly programmed landscape ahead, you will either create the software or you will be the software. It's really that simple: Program, or be programmed. Choose the former, and you gain access to the control panel of civilization. Choose the latter, and it could be the last real choice you get to make.
Aykut Erdem (Sec. 1)aykut-at-cs-hacettepe.edu.tr111 +90 312 297 7500, 146 |
Erkut Erdem (Sec. 2)erkut-at-cs-hacettepe.edu.tr114 +90 312 297 7500, 149 |
Fuat Akal (Sec. 3)akal-at-cs-hacettepe.edu.tr202 +90 312 297 7500, 129 |
Burcak Asalbasal-at-cs-hacettepe.edu.tr122 +90 312 297 7500, 166 |
Selman Bozkirselman-at-cs-hacettepe.edu.trMultimedia Information Retrieval Laboratory +90 312 297 7500, 155 |
Cumhur Yigit Ozcancumhuryigitozcan-at-cs-hacettepe.edu.tr122 +90 312 297 7500, 166 |
Selim Yilmazselimy-at-cs-hacettepe.edu.trInformation Security Lab |
Week | Date | Topic | Notes |
---|---|---|---|
1 | Sep 24 | Introduction, What is computation? [slides] [4-per-page] | Video: The birth of the computer, George Dyson |
2 | Oct 1 | Binary representations and the Von Neumann architecture [slides] [4-per-page] | PA1 out [pdf] Reading: The Strange Birth and Long Life of Unix, Warren Toomey |
3 | Oct 8 | Sequential structure [slides] [4-per-page] [codes] | Reading: K&R 2 |
4 | Oct 15 | Midterm exam #1, Selective structure [slides] [4-per-page] [codes] | PA1 due Reading: K&R 3.1-3.4 |
5 | Oct 22 | Repetitive structure [slides] [4-per-page] [codes] | PA2 out [pdf] Reading: K&R 3.5-3.7, 4.1-4.4 |
6 | Oct 29 | No class (Republic day) | |
7 | Nov 5 | Functions [slides] [4-per-page] [codes] | PA2 due, PA3 out Reading: K&R 4.5-4.10 |
8 | Nov 12 | Midterm exam #2 | |
9 | Nov 19 | Debugging and Arrays [slides] [4-per-page] | PA3 due Reading: K&R 5.1-5.5 |
10 | Nov 26 | Pointers [slides] [4-per-page] | PA4 out [pdf] Reading: K&R 5.6-5.11 |
11 | Dec 3 | Pointers (cont’d.) | |
12 | Dec 10 | Midterm exam #3 | PA4 due |
13 | Dec 17 | Structures [slides] [4-per-page] | PA5 out Reading: K&R 6 |
14 | Dec 24 | Input and Output, Strings [slides] [4-per-page] | Reading: K&R 7 |
3 Midterm exams | 55% (10 + 30 + 15) |
Final exam | 40% |
Class participation    | 5% |
Programming Assignment 1    | 1 October, 2014 |
Programming Assignment 2 | 22 October 2014 |
Programming Assignment 3 | 5 November 2014 |
Programming Assignment 4 | 19 November 2014 |
Programming Assignment 5 | 3 December 2014 |
Midterm Exam 1 | 15 October 2014 |
Midterm Exam 2 | 12 November 2014 |
Midterm Exam 3 | 3 December 2014 |
Final Exam | To be announced later.. |
The most efficient way of developing a C program is to use a Unix environment:
sudo apt-get install build-essential
or equivalent.gcc-core
, gcc-g++
, gdb
.Your programs need to work in the standard environment as we evaluate them on dev.cs.hacettepe.edu.tr
. However, if you'd like to use a GUI, these are the IDEs that seem to work well:
All work on assignments must be done individually unless stated otherwise. You are encouraged to discuss with your classmates about the given assignments, but these discussions should be carried out in an abstract way. That is, discussions related to a particular solution to a specific problem (either in actual code or in the pseudocode) will not be tolerated.
In short, turning in someone else’s work, in whole or in part, as your own will be considered as a violation of academic integrity. Please note that the former condition also holds for the material found on the web as everything on the web has been written by someone else.
© 2014 Hacettepe University