בכדי לכתוב בפורום יש להרשם או להתחבר - ההרשמה/כניסה מתבצעת מכותרת האתר.
ברוך הבא,
אורח
|
|
2. פרק 1.4.3, רמה 1K
בשלב יישום הבדיקות וביצוען נכללים, בין היתר: א. תכנון הבדיקות, גמר הגדרת מקרי הבדיקה, ביצועם ורישום התוצאות ב. השוואת תוצאות הבדיקה לתוצאות הצפויות ודיווח על תקלות ג. הגדרת סביבת הבדיקות, דיווח תקלות, והפקת לקחים לגרסה הבאה ד. סקירת בסיס הבדיקות, יצירת סדרות בדיקה, ביצוען ורישום התוצאות יעד לימוד: LO- 1.4.1: חזור על 5 פעולות הבדיקה הבסיסיות והמשימות התואמות משלב התכנון ועד שלב הסגירה התשובה הנכונה היא ב' הסבר: רשימת הפעילויות בתשובה ב' תואמת את הרשימה שבסעיף 1.4.3 . א' אינו נכון; תכנון הבדיקות שייך לשלב תכנון ובקרה ג' אינו נכון; הפקת לקחים לגרסה הבאה שייך לשלב פעילויות סגירת הבדיקה. ד' אינו נכון; סקירת בסיס הבדיקות שייך לשלב ניתוח הבדיקות ועיצובן. |
יש להרשם בכדי לכתוב בפורום.
|
While teaching one of my Python classes yesterday I noticed a conditional expression which can be written in several ways. All of these are equivalent in their behavior: if os.path.isdir(path) is False: pass if os.path.isdir(path) is not True: pass if os.path.isdir(path) == False: pass if os.path.isdir(path) != True: pass if not os.path.isdir(path): pass My preferred style of writing is the last one (not os.path.isdir()) because it looks the most pythonic of all. However the 5 expressions are slightly different behind the scenes so they must also have different speed of execution (click operator for link to documentation): is - identity operator, e.g. both arguments are the same object as determined by the id() function. In CPython that means both arguments point to the same address in memory is not - yields the inverse truth value of is, e.g. both arguments are not the same object (address) in memory == - equality operator, e.g. both arguments have the same value != - non-equality operator, e.g. both arguments have different values not - boolean operator In my initial tweet I mentioned that I think is False should be the fastest. Kiwi TCMS team member Zahari countered with not to be the fastest but didn't provide any reasoning! My initial reasoning was as follows: is is essentially comparing addresses in memory so it should be as fast as it gets == and != should be roughly the same but they do need to "read" values from memory which would take additional time before[…]
6.12.2019 | 2:19 קרא עוד...Hey everyone, Here is the definition of the day: Error Guessing A test technique in which tests are derived on the basis of the tester's knowledge of past failures, or general knowledge of failure modes. Examples When you find multiple bugs during a testing phase, once all the bugs have been fixed then you ... [Read more...] The post Definition of the day: Error Guessing appeared first on The Life Of One Man.
6.12.2019 | 4:07 קרא עוד...The post Meme of the day: Project managers expecting their feature but then… appeared first on The Life Of One Man.
6.12.2019 | 4:01 קרא עוד...