![]() |
.. (לתיקייה המכילה) | |
In question 1.3.2, if we have a call to the function from outside the function itself, should the value returned be 2 times what should have been returned originally, or should the value returned be muptiplied by 2 every recursive call (and then if the depth of the recursion is the same across all recursive calls, the returned value would be multiplied by 2^(depth of the recursion))? | |
The second option - the intention of the problem is that every recursive call/recursion base, the answer is multiplied by two. |
In the Notepad hook, can we work on a computer in which the default language Hebrew and as such the text in the "About" section of the Notepad is also in Hebrew? | |
Unfortunately, no. The reason being that your hook will be executed on a machine where the text in the About section will be in English. If this causes any problems, please contact Dean by mail. |
בסעיף 3 ביבש, האם ניתן פשוט ליצור פונקציה עם קוד אסמבלי כמעת זהה לפונקציה המקורית פרט לשינויים קלים ופשוט להפנות את הhook לשם? | |
לא, עליכם להגדיר טכניקה הרלוונטית למאפייני הקוד ולא למקרה הספציפי. בפרט, אין להעתיק את הפונקציה או חלקים משמעותיים ממנה |
הבהרה בנוגע למשפט האחרון בחלק 3 של סעיף 3: | |
ההבהרה: מותר לקפוץ אל פונקציית ההוק אחרי הקצאת המקום עבור המשתנים הלוקאליים. אפשר לפתור את התרגיל גם ללא הנחה זו, אך כוונת השאלה הייתה שמותר. |