CS1101: Programming Methodology Aaron Tan
2 This is Week 10 Week 9: Chapter 10: Arrays and ArrayList s This week: We will complete ArrayList s Exercise: Matrix multiplication (Matrices.java) Chapter 11: Type Details and Alternate Coding Mechanisms Mini-programming test
3 Exercise: Matrix Multiplication To compute C = A B, where A, B, C are matrices c i,j = (a i,1 b 1,j ) + (a i,2 b 2,j ) (a i,n b n,j ) c i,j is sum of terms produced by multiplying the elements of A’s row i with B’s column j. Example on 3 3 matrices: Please refer to MatricesSolution.java
4 Chapter 11 Let’s go to Chapter 11.
5 Mini Programming Test Refer to hand-out.
6 Exercises Try last year’s lab #7 exercises: Sudoku Rabbit Jumps Polygon Go to course website, “Labs” page to retrieve last year’s lab write-ups:
7 Announcement/Reminder Lab #4 Deadline: 22 October (Wednesday), 2359 hr. Identical codes Please do not share codes for your lab assignments!
8 This is Week 10 Next week? No lecture! No discussion session! Week 12 Chapter 14 Exception Handling Chapter 15 Files
9 End of file