Question 11

What is the earliest stage in the application's SDLC at which performance efficiency testing can be performed?
  • Question 12

    Consider the simplified logic below for crediting money to a bank account.
    Receive money and account number to be credited
    IF account number is valid
    IF customer account is active
    Store current account balance as oldBalance
    Credit money to account
    IF oldBalance < zero
    IF balance now >= zero
    Set message "Overdraft cleared"
    ELSE
    Set message "A/c overdrawn"
    ENDIF
    ELSE
    Set message = "You have more money"
    ENDIF
    IF account holder is VIP customer
    Send message by email to customer
    ENDIF
    ELSE
    Set message "A/c inactive"
    Send message by email to supervisor
    ENDIF
    ELSE
    Add 1 to count of invalid inputs
    ENDIF
    What is the minimum quantity of test cases that will give 100% statement coverage?
  • Question 13

    Given the following code:
    If x > y and z = 3 statement!
    elself z = 4
    statement2
    endif;
    What is the minimum number of tests needed to achieve 100% statement coverage?
  • Question 14

    You have conducted static analysis on several new modules for an existing product. You are now executing test cases and are seeing inconsistent problems including crashes. Intermittent error messages are appearing.
    Despite all your best efforts, you are not able to find reproducible scenarios to force these errors.
    What problem in the code are you likely seeing?
  • Question 15

    Consider the following statements regarding Performance Efficiency Testing:
    A) Static Analysis tools can analyze code to identify performance bottlenecks
    B) Code reviews are an effective way of detecting performance issues
    C) Scalability and Load testing are usually performed during the System test level
    D) Performance test execution cannot begin until a production-like environment is available Which TWO of these statements are TRUE?