Question 11

Why might static analysis be used on an Agile project'
SELECT ONE OPTION
  • Question 12

    A developer has implemented a class that calculates if a given date is a leap year. The definition for the leap year is given:
    Every year that is exactly divisible by four is a leap year, except for years that are exactly divisible by 100, but these centurial years are leap years if they are exactly divisible by 400.
    - divisible by 4
    - but not by 100
    - years divisible by 400 are leap anyway
    You have already thought about it and started with the first test class; the test class looks like (pseudo JavaScript used here):
    // LeapYear.spec.js
    describe('Leap year calculator', () => {
    it('should consider 1996 as leap', () => {
    expect(LeapYear.isLeap(1996)).toBe(true);
    });
    });
    What would now be your next step to proceed as efficient as possible, to validate the correctness of the class above?
  • Question 13

    Which requirements engineering technique would BEST identify how different groups of users may interact with a system, helping to identify gaps and inconsistencies in a user story-' SELECT ONE OPTION
  • Question 14

    The following User story is being developed using the 8DD approach:
    As a Purchasing Manager
    i want to see a list of all Purchase Orders placed so far this month with their total value
    So that I can control the amount of money being spent
    Which scenario is BOTH written in correct
    Gherkin format AND is appropriate for this User Story9 SEI ECT ONE OPTION
  • Question 15

    You have received this BDD test
    Given that a customer enters the correct PIN When they request to make a withdrawal And they have enough money in their account Then they will receive the money And a receipt Which of the following is the user story that best fits this BDD test?