Download presentation
Presentation is loading. Please wait.
1
CS1101: Programming Methodology http://www.comp.nus.edu.sg/~cs1101x/ http://www.comp.nus.edu.sg/~cs1101x/ Aaron Tan
2
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
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
4 Chapter 11 Let’s go to Chapter 11.
5
5 Mini Programming Test Refer to hand-out.
6
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: http://www.comp.nus.edu.sg/~cs1101x/3_ca/labs.html http://www.comp.nus.edu.sg/~cs1101x/3_ca/labs.html
7
7 Announcement/Reminder Lab #4 Deadline: 22 October (Wednesday), 2359 hr. Identical codes Please do not share codes for your lab assignments!
8
8 This is Week 10 Next week? No lecture! No discussion session! Week 12 Chapter 14 Exception Handling Chapter 15 Files
9
9 End of file
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.