View Mode
Q: 15
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 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 percentage of decision testing coverage has been achieved by the following suite of test cases? Test Case A - Account number valid, account is active, oldBalance = -100, balance now = +200, not a VIP customer Test Case B - Account number valid, account is active, oldBalance = -100, balance now = -50, is a VIP customer
Options
Question 15 of 25

Premium Access Includes

  • Quiz Simulator
  • Exam Mode
  • Progress Tracking
  • Question Saving
  • Flash Cards
  • Drag & Drops
  • 3 Months Access
  • PDF Downloads
Get Premium Access
Scroll to Top

FLASH OFFER

Days
Hours
Minutes
Seconds

avail 10% DISCOUNT on YOUR PURCHASE