Personnel
Instructor: | Selim Aksoy (Office: EA 423, Email: ) |
---|---|
TAs: | Aslı Ayaz
(Office: EA 531, Email: ayaz[at]cs.bilkent.edu.tr) Emine Zeynep Erson (Office: EA 529, Email: erson[at]cs.bilkent.edu.tr) Özgün Babür (Office: EA 531, Email: ozgun[at]cs.bilkent.edu.tr) Yasemin Satıroğlu (Office: EA 529, Email: yasemins[at]cs.bilkent.edu.tr) |
Schedule
Section 1: | Lectures: Wed 10:40-12:30 (BZ 08), Fri 11:40-12:30 (BZ 08) Lab: Thu 13:40-17:30 (ENGL) |
---|---|
Section 2: | Lectures: Mon 8:40-10:30 (BZ 04), Thu 10:40-11:30 (BZ 04) Lab: Tue 13:40-17:30 (ENGL) |
Office Hours: | Selim Aksoy (Mon 13:40-15:30, Wed 13:40-15:30) Aslı Ayaz (Mon 13:40-14:30) Emine Zeynep Erson (Wed 14:00-15:00) Özgün Babür (Fri 10:40-11:30) Yasemin Satıroğlu (Fri 13:40-14:30) |
Texts
S. J. Chapman, MATLAB Programming for Engineers,
Thomas Brooks/Cole (2nd edition)
J. Lewis and W. Loftus, Java Software Solutions,
Addison-Wesley (3rd edition)
Lecture Schedule
- Introduction to Computer Systems [ ppt | pdf ]
- MATLAB Basics [ ppt | pdf ]
- Top-down Program Design, Relational and Logical Operators [ ppt | pdf ]
- Branches and Loops [ ppt | pdf ]
- Vectors and Plotting [ ppt | pdf ]
- User-defined Functions [ ppt | pdf ]
- Additional Data Types: 2-D Arrays, Logical Arrays [ ppt | pdf ]
- Additional Data Types: Strings [ ppt | pdf ]
- Input/Output Functions [ ppt | pdf ]
- MATLAB Review [ ppt | pdf ]
- Java Basics [ ppt | pdf ]
- Java Program Statements [ ppt | pdf ]
- Writing Classes in Java [ ppt | pdf ]
- Writing Classes in Java [ ppt | pdf ]
- Java Review [ ppt | pdf ]
Lab Schedule
- No Lab
- Introduction to Computer Systems
- Introduction to MATLAB
- Subarrays, Scripts, Relational and Logical Operators [ Solutions ]
- Branches and Loops [ Solutions ]
- Plotting [ Solutions ]
- User-defined Functions [ Solutions ]
- 2-D Arrays and Logical Arrays
- 2-D Arrays and Strings [ Solutions ]
- Input/Output Functions [ Solutions ]
- Introduction to Java
- Basic Operations in Java
- Branches and Loops in Java
- Writing Classes in Java [ Solutions ]
- No Lab
Exams
- Midterm exam will be held at 10:00-12:00 on April 3, 2004. Section 1 will take the exam at EB 101 ('A' <= lastname(1) <= 'G') and EB 102 ('H' <= lastname(1) <= 'Y'). Section 2 will take the exam at EB 103 ('A' <= lastname(1) <= 'N') and EB 104 ('O' <= lastname(1) <= 'Y'). Exam coverage will be discussed in the class later. [ Solutions ]
- Quiz 2 solutions for Section 1 and Section 2 (Lab assignment 7 was counted as Quiz 1)
- Quiz 3 solutions for Section 1 and Section 2
- Quiz 4 solutions for Section 1 and Section 2
- Final exam will be held at 12:15 on May 25, 2004. Section 1 will take the exam at EB 103 ('A' <= lastname <= 'G') and EB 104 ('H' <= lastname <= 'Y'). Section 2 will take the exam at EB 201 ('A' <= lastname <= 'KA'), EB 202 ('KE' <= lastname <= 'P') and EB 203 ('S' <= lastname <= 'Y'). Exam coverage will be discussed in the class later. [ Solutions ]
Homework
- Solve exercises 2.2, 2.4, 2.5, 2.7 and 2.11 from the MATLAB book.
Due: March 4 (Section 2) or March 5 (Section 1) as hardcopy in the class. [ Solutions ] - Solve exercises 3.3, 3.4, 4.1, 4.2, 4.6, 4.7 and 4.8 from the MATLAB book.
Due: 15:00 on March 22 for both sections as hardcopy to EA 531 (Section 1) or EA 529 (Section 2). There will be absolutely no extensions to this due date and no late homework will be accepted. [ Solutions ] - Solve exercises 3.12, 3.14, 4.13, 4.24 and 6.12 from the MATLAB book.
Due: 16:00 on April 19 for both sections as hardcopy to EA 531 (Section 1) or EA 529 (Section 2). There will be absolutely no extensions to this due date and no late homework will be accepted. Please include all the programs and their output (e.g. plots). [ Solutions ] - Solve exercises 8.2, 8.7, 8.9 and 8.10 from the MATLAB book.
Due: 16:00 on April 22 for both sections as hardcopy to EA 531 (Section 1) or EA 529 (Section 2). There will be absolutely no extensions to this due date and no late homework will be accepted. Please include all the programs and their sample output. [ Solutions ] - Solve programming projects 3.6, 3.11, 3.13 and 4.1 from the Java book.
You will need to modify Account.java
and Banking.java for project 4.1.
Due: 16:00 on May 17 for both sections as hardcopy to EA 531 (Section 1) or EA 529 (Section 2). There will be absolutely no extensions to this due date and no late homework will be accepted. [ Solutions ]
- Note 1: Please make sure you fully understand the Bilkent University Policy on Academic Honesty / Öğrenci Disiplin İlke ve Kuralları.
- Note 2: Please follow the homework submission instructions when you are turning your homework in.
Grading Policy
Lab work: | 25% |
Homework: | 10% |
Quiz: | 10% |
Midterm exam: | 25% |
Final exam: | 30% |
You can learn your individual grades from SAPS and compare them to the grade statistics updated on May 31, 2004.
Related Links
- CS 111 newsgroup for Spring 2004
- MATLAB
- MATLAB Book's Website (with links to examples)
- MathWorks
- MathWorks - MATLAB Tutorials
- MathWorks - MATLAB HTML Documentation
- MathWorks - MATLAB PDF Documentation
- Local copy of MATLAB Getting Started Guide (138 pages, 2.62Mb)
- Local copy of Using MATLAB 6 Guide (1180 pages, 10.1Mb)
- Scilab, a free scientific software package compatible with MATLAB
- GNU Octave, another free software package compatible with MATLAB
- Java
- Java Book's Website (with links to slides and examples)
- The Keyboard Class that is used both in the examples in the textbook and also in the laboratory assignments
- Known errors in the Java book
- Java Technology at Sun Microsystems
- Java 2 Platform with links to the latest Java Software Development Kits
- Java 2 Platform, Standard Edition version 1.4.2 Documentation
- Local copy of the Java 2 Platform, Standard Edition version 1.4.2 (49.3Mb)
- Local copy of the Java 2 Platform, version 1.4.2 Documentation (32.8Mb)
- JCreator IDE from XINOX Software (Local copy of JCreator LE v3.10, 2.09Mb)
- Eclipse Open Source IDE
- JBuilder IDE from Borland Software Corporation
- NetBeans IDE from Sun Microsystems