.. (לתיקייה המכילה) | ||
Are we allowed to add additional classes? | |
No. |
What should be the name of the category? | |
It MUST be OOP1. |
Can we assume the collections in Squeak do their work at O(1) for each message? | |
Absolutely no. The assignment can be solve without the assumption nonetheless. |
What is the size of the matrix? | |
HeavyMatrix and LazyMatrix are INFINITE matrices. There is no need to speficy the number of rows and columns, since they are infinite. |
HeavyMatrix/LazyMatrix are subclasses of what class? | |
They MUST subclass Object. This is written in the assignment. |
What is the default value of a cell in the matrix (i.e. a cell that was not set a value by the user)? | |
It's 0. It was written in the assignment. |
What is the order in which elements must return in the array returned from getRow: i from: min to: max? | |
The elements MUST be returned in the following order: 1. element in row i, column min 2. element in row i, column min + 1 3. element in row i, column min + 2 ... element in row i, column max The same goes for getColumn: i from: min to: max |
Can we send you private messages via Piazza? | |
Avoid doing so, since the entire idea behind Piazza is that other students may use the answers given as well. The questions is asked and answered once, and everyone wins. For personal issues contact me via email (requests for late submissions should be sent directly to the TA in charge, Eran). |