.. (לתיקייה המכילה) | ||
In old exams, there are questions about design, Is it include in the material for this course ? what about question that ask you to write an algorithm in Hebrew that explains a scenario, and draw objects diagrams? | |
We do not have questions that are specifically aimed at design. Nevertheless, design is an issue (and may affect your grade) in both ADT and C++ questions. |
I remember from lectures and Tirgulim that it was said that It is very important to "sent" to a generic ADT all of the 4 pointers to function (to print,compare,free), but I haven't see the use of this in the answers for adt questions in the ASAT test booklet. Should those pointer to functions must always be "sent" in any case to a generic adt? | |
This is not the correct statement. These functions (sometimes 3, sometimes 5 or more) are required when the statement of the problem implies that they are needed. It is your decision - a part of the design. There may be cases where you add these function and lose points as a result. In other cases you may lose points for _not_ using them. In short, instead of always using these functions, make sure you _always_ use your head. |