Announcements

  1. (Jun 2) Syllabus is available.
  2. (Jun 2) Week 1 slides are available.
  3. (Jun 4) Lab assignment 1 is available.
  4. (Jun 4) Lab assignment 2 is available.
  5. (Jun 6) Week 2 slides are available.
  6. (Jun 6) Week 3 slides are available.
  7. (Jun 14) Homework assignment 1 is available.
  8. (Jun 17) Lab assignment 3 is available.
  9. (Jun 18) Solutions for lab assignment 3 are available.
  10. (Jun 18) Homework assignment 2 is available.
  11. (Jun 20) Week 4 slides are available.
  12. (Jun 21) Solutions for homework assignment 1 are available.
  13. (Jun 21) Lab assignment 4 is available.
  14. (Jun 24) Solutions for lab assignment 4 are available.
  15. (Jun 24) Lab assignment 5 is available.
  16. (Jun 24) Midterm date and location are announced.
  17. (Jun 26) Solutions for homework assignment 2 and lab assignment 5 are available.
  18. (Jun 26) Solutions for quiz 1 are available.
  19. (Jun 26) Week 5 slides are available.
  20. (Jun 29) Lab assignment 6 is available.
  21. (Jun 30) Homework assignment 3 is available.
  22. (Jun 30) Solutions for quiz 2 and lab assignment 6 are available.
  23. (Jul 1) Lab assignment 7 is available.
  24. (Jul 4) Week 6 slides are available.
  25. (Jul 5) Solutions for lab assignment 7 and midterm are available.
  26. (Jul 6) Lab assignment 8 is available.
  27. (Jul 8) Lab assignment 9 is available.
  28. (Jul 8) Homework assignment 4 is available.
  29. (Jul 11) Added grade statistics.
  30. (Jul 13) Lab assignment 10 is available.
  31. (Jul 14) Week 7 slides are available.
  32. (Jul 15) Homework assignment 5 is available.
  33. (Jul 15) Lab assignment 11 is available.
  34. (Jul 16) Solutions for homework assignments 3 and 4 are available.
  35. (Jul 18) Solutions for quiz 3 are available.
  36. (Jul 19) Week 8 slides are available.
  37. (Jul 20) Lab assignment 12 is available.
  38. (Jul 21) Final exam date and location are finalized.
  39. (Jul 21) Solutions for lab assignment 8 (partial), lab assignment 9 (partial), lab assignment 12 and quiz 4 are available.
  40. (Jul 22) Solutions for homework assignment 5 is available.

Personnel

Instructor: Selim Aksoy (Office: EA 423, Email: )
TA: Selim Çıracı (Office: EA 403, Email: selimc[at]cs.bilkent.edu.tr)

Schedule

Lectures: Mon 12:40-14:30, Wed 12:40-14:30, Fri 12:40-14:30 (EB 202)
Labs: Tue 13:40-17:30, Thu 13:40-17:30 (B 302)
Office Hours: Selim Aksoy (Mon 14:40-15:30, Wed 14:40-15:30)
Selim Çıracı (TBD)

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

  1. Introduction to Computer Systems [ ppt | pdf ]
  2. MATLAB Basics [ ppt | pdf ]
    Top-down Program Design [ ppt | pdf ]
  3. Relational and Logical Operators [ ppt | pdf ]
    Branches and Loops [ ppt | pdf ]
  4. Vectors and Plotting [ ppt | pdf ]
    User-defined Functions [ ppt | pdf ]
  5. Additional Data Types: 2-D Arrays, Logical Arrays, Strings [ ppt | pdf ]
    Input/Output Functions [ ppt | pdf ]
  6. Java Basics [ ppt | pdf ]
    Java Program Statements [ ppt | pdf ]
  7. Writing Classes in Java [ ppt | pdf ]
  8. Java Review [ ppt | pdf ]

Lab Schedule

  1. No Lab
  2. Introduction to Computer Systems
    Introduction to MATLAB
  3. Subarrays, Scripts, Relational and Logical Operators [ Solutions ]
  4. Branches and Loops [ Solutions ]
    Plotting [ Solutions ]
  5. User-defined Functions [ Solutions ]
    2-D Arrays and Logical Arrays [ Solutions ]
  6. 2-D Arrays and Strings [ Solutions ]
    Input/Output Functions [ Solutions ] / Introduction to Java
  7. Basic Operations in Java
    Branches and Loops in Java
  8. Writing Classes in Java [ Solutions ]

Exams

Homework

  1. Solve exercises 2.2, 2.4, 2.5, 2.7 and 2.11 from the MATLAB book.
    Due: 17:00 on June 18 as hardcopy to EA 403. [ Solutions ]
  2. Solve exercises 3.3, 3.4, 4.1, 4.2, 4.6, 4.7 and 4.8 from the MATLAB book.
    Due: 17:00 on June 25 as hardcopy to EA 403. [ Solutions ]
  3. Solve exercises 3.12, 3.14, 4.13, 4.24 and 6.12 from the MATLAB book.
    Due: 17:00 on July 7 as hardcopy to EA 403. Please include all programs and their output (e.g. plots). [ Solutions ]
  4. Solve exercises 8.2, 8.7 and 8.10 from the MATLAB book.
    Due: 17:00 on July 14 as hardcopy to EA 403. Please include all programs and their sample output. [ Solutions ]
  5. Solve programming projects 3.6, 3.13 and 4.1 from the Java book. You will need to modify Account.java and Banking.java for project 4.1.
    Due: 17:00 on July 21 as hardcopy to EA 403. [ Solutions ]

Grading Policy

Lab work:25%
Homework:10%
Quiz:10%
Midterm exam:25%
Final exam:30%

Related Links