LOGIN
התחברות או הרשמה
Avatar
להמשך הרשמה ידנית – לחץ על כפתור ההרשמה, להרשמה/כניסה מהירה בעזרת חשבון רשת חברתית – לחץ על הלוגו בכותרת

אפס סיסמה - שכחתי את שם המשתמש

שם משתמש
סיסמה
זכור אותי

he icon   en icon

בכדי לכתוב בפורום יש להרשם או להתחבר - ההרשמה/כניסה מתבצעת מכותרת האתר.  

ברוך הבא, אורח
שם משתמש: סיסמה: זכור אותי
פורום זה נועד לפיתוח שאלות לדוגמה בשיתוף עם הקהילה
הנכם מוזמנים לחוות דעתכם לגבי השאלות שמוצגות בפורום
ולהציע שאלות דוגמה נוספות

נושא Sample question on LO 1.1.2

Sample question on LO 1.1.2 15 מאי 2015 15:20 #3360

  • Michael Stahl
  • Michael Stahl's Avatar
  • מנותקים
  • Fresh Boarder
  • פוסטים: 3
  • קארמה: 0
LO-1.1.2: Distinguish between the root cause of a defect and its effects (K2)


A program calculates exchange rates between Shekels and other currencies. The program gets every morning a file with a list of currencies and their current exchange rates. The file is created by another system and received over the network. The file overwrites the file that the program received the day before. The program knows the conversion rates by reading this file.
One morning, the received file was empty. As a result, when the system was used to convert Shekels to Dollars, the system crashed.

Which of the following could be a description of the root cause of this defect?

A. The program fails to check if the file is empty before using it
B. An attempt to convert Shekels to any currency crashes the program
C. The program crashes in case the conversion file is missing or empty
D. Overwriting the previous file with a new file



The correct answer is A.

Reason: "Root cause" is defined in the Glossary as: "A source of a defect such that if it is removed, the occurrence of the defect type is decreased or removed". If the program would check for empty file and report an error instead of trying to use this empty file, the crash would have been avoided. Moreover, if the error message was clear enough, it would also be very easy to fix the problem.

B is incorrect - it just describes the effect of the bug.

C is incorrect - it too describes the effect of the bug.

D is incorrect since it describes the behavior of the system on any day - not just days when the file was empty.
עריכה אחרונה: 15 מאי 2015 15:23 ע"י Michael Stahl.
יש להרשם בכדי לכתוב בפורום.

חדשות מעולם הבדיקות

  • Launching my testing consultancy, Dr Lee Consulting

    As I mentioned in a recent blog post, I’ve been working on setting up my own software testing consultancy following my exit from Quest back in August. I finally got all my ducks in a row and launched the business – Dr Lee Consulting – publicly on 21st October 2020! I spent a few weeks focusing on business basics and refining the idea of what my consultancy should look like. I completed two of Pat Flynn‘s excellent courses in the process, viz. Will It Fly? (the book and companion course) and Smart From Scratch. Mindmaps were my friend during this ideation and refinement stage, and my thanks go to those connections I reached out to along the way for their valuable help and feedback. Another great source of inspiration and ideas was the “Share What You Know Summit” run as a virtual event by Teach:able (on 22-24 September). This was an excellent three-day event and furnished me with some great tips around LinkedIn profile tweaks and ideas for content generation. In terms of administrivia, I registered for an ABN and business name online, then purchased the corresponding domain name (business name and domain name need to closely match for a .com.au domain, unlike most other domain extensions). I built my website using a free WordPress site, mainly due to my familiarity with their platform after blogging there for many years. I’ll probably upgrade to a paid plan sometime soon to remove ads and allow me to more professionally map my[…]

    22.10.2020 | 10:15 קרא עוד...
  • 30days of testing challenges

    30days of testing challenges Day 27 # learn how to use your mobile screen readerI have an android phone, so It has an inbuilt screen reader on my mobile. Initially, it took time to explore and learn commands. Using a screen reader to navigate a device can be useful to anyone who is visually impaired.Settings – system- accessibility-select to speak (hear selected text), TalkBack onSwipe right or left to move between itemsDouble-tap to activate an itemDrag two fingers to scrollTo turn off TalkBackTap the switch. You will see a green outlineDouble-tap the switch.On the confirmation message, tap OK. Then double-tap OK

    22.10.2020 | 4:25 קרא עוד...
  • The beatings will continue until morale improves . . .

    I got a few questions about org dysfunction and how it specially relates to software testing, so I figured it would be easier to address them here as sort of a “reply all” to the different channels where I’ve made those comments. Merriam-Webster defines “dysfunction” as: 1: impaired or abnormal functioning or 2: abnormal or unhealthy interpersonal […] The post The beatings will continue until morale improves . . . first appeared on Quality Remarks.

    22.10.2020 | 2:39 קרא עוד...

טיפים

  • בודק - הבן את המודל והאתגרים העיסקיים
    בודק - הבן את המודל והאתגרים העיסקיים בודק - הבן את המודל והאתגרים העיסקיים המוצרים אותם אנו בודקים מיועדים (בין השאר) לקדם את מטרות הארגון בו אנו עובדים, ולנו מחוייבות לעזור בתהליך זה, שהרי לשם כך בעלי העסק מחזיקים בארגון ומעסיקים אותנו, לעיתים…
    קרא עוד...
  • בודק - עקוב אחרי בודקים אחרים בטוויטר ובבלוגים
    בודק - עקוב אחרי בודקים אחרים בטוויטר ובבלוגים בודק - עקוב אחרי בודקים אחרים בטוויטר ובבלוגים, חלוק רעיונות והתנסויות, כתוב, קבל משוב ושפר את יכולות ההתדיינות – נראה כי היתרונות בעולם הטוויטר חמקו מעיני קהילת הבודקים הישראלית אשר לרוב דווקא ממהרת לאמץ ומשתלבת בסביבות…
    קרא עוד...
לרשימה המלאה >>