CTAL-TTA practice question 4 of 25

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…

Choose your answer, then check it against the explanation.

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 is the minimum quantity of test cases that will give 100% statement coverage?
Answer options
Question 4 of 25

Keep practicing

Take the free CTAL-TTA practice test

Ten exam-style questions with answers and explanations, plus the exam facts and study guides.

Start the free practice test

More questions

Other CTAL-TTA practice questions

Scroll to Top