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.
יש להרשם בכדי לכתוב בפורום.

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

  • I am mentoring 20 people at once

    About a month ago I started a program called “Group Mentoring”. Now I have over 20 mentees, in 6 different countries! Crazy, right? What is group mentoring? Group mentoring is a series of hour-long online workshops tailored to your career goals. Each group has just 2-4 mentees, ensuring that your mentor has adequate time to spend with you during the session. Examples of session topics: Interview practice Advanced testing Test automation Career problems Public speaking …and more! So many mentees, so little time I’ve been mentoring tech professionals for about 10 years now, both as part of my day job and in my own time. As my reputation in the industry grew, requests for my mentorship grew and it quickly became clear that I couldn’t accommodate everyone. I was forced to limit my free mentoring to 2-3 people at a time, and put hard limits on the time I could spend for each person. I’m not alone in this. Those of us who regularly speak at tech conferences often do it because we love to share ideas and help others in the industry. Mentoring is a great way to do this, but it’s a massive time commitment. Most of us aren’t paid to give tech talks, and it takes many, many hours to prepare a talk, not to mention the time traveling, giving the talk, and answering follow-up questions. With limited spare time, it can be difficult to add more than one or two mentees to an already busy schedule. At[…]

    18.07.2019 | 1:07 קרא עוד...
  • Five Blogs – 18 July 2019

    The (best) five blogs I read today. Check them out. Learn to Get Better at Transitions Written by: Avivah Wittenberg-Cox GTD: Stress-free Productivity Written by: Francisco Sáez The Easiest MongoDB Tutorial on the Web Written by: Kristin Jackvony When things fall apart (and they will) Written by: Mary Jo Asmus You don’t have to be an expert to teach Written by: Chris Kenst Quote of the day: “Transformation comes more from pursuing profound questions than seeking practical answers” -Peter Block You can follow this page on Twitter

    18.07.2019 | 12:43 קרא עוד...
  • How To Create An Awesome Career In Software Testing

    TL;DR You love software testing, but you are not satisfied with your career as a software tester. I heard a lot of such confessions from testers around the globe. As...

    18.07.2019 | 12:00 קרא עוד...

טיפים

לרשימה המלאה >>