Question 112 of 270 from exam CAS-003: CompTIA CASP+

Question 112 of 270 from exam CAS-003: CompTIA CASP+

Question

Given the following code snippet:

SecCond = “18s”
SecStatus = false

ery (
if (SecStatus)

SecCond = “288”
console.log("ship to ship”)

else

SecCond = “normal operations”
console.log (“nothing to see here”)

} catch (e) {

SecCond = “normal operations”

console. log (e)

console. log ("Exception logged”)

}

Which of the following failure modes would the code exhibit?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

D.