PrepAway - Latest Free Exam Questions & Answers

Author: seenagape

What will the alert method display if the user lives in Tennessee?

Consider the following Code:
<script>
var state = “”;
var orderAmount = 50;
state = prompt(“Which state do you live in?”,””);
if (state.toUpperCase() == “CA”) {
alert(“Your total owed is: ” + (orderAmount * 1.0825));
} else {
alert(“Your total owed is:” + orderAmount);
}
</script>
What will the alert method display if the user lives in Tennessee?

Which of the following business rules can be extracted from the above requirements?

Refer to the following extract from a requirements document for an online book store:
Users need not be registered with the store to be able to search for a particular book or browse

through the store. They can also add items to the shopping cart. When they wish to check-out the
shopping cart, the application must verify if they are already registered. If so, they should be
allowed to login and continue with the check-out. If they have already purchased in the store they
should be given a default choice of shipping address. Unregistered users should be given a choice
to register with the store or continue shopping.
Which of the following business rules can be extracted from the above requirements?


Page 172 of 263« First...102030...170171172173174...180190200...Last »