PrepAway - Latest Free Exam Questions & Answers

Author: seenagape

Which declaration should you use?

You create a Web page that contains the following code. (Line numbers are included for reference
only.)
01 <script>
02 function changeColor(c) {
03 document.getElementById(“message”).style.color=c;
04 }
05 </script>
06
07 <p id=”message”>Welcome!</p>
08 <ul id=”color”>
09 <li>Black</li>
10 <li>Red</li>
11 </ul>
You need to ensure that when the user clicks an item in the list, the text color of the Welcome!
message will change. Which declaration should you use?

Which option should you select in the copy quotation function?

You send a sales quotation to a customer named Contoso, Ltd. You have another customer
named Lit ware, Inc. Lit ware has a trade agreement in place, which includes two of the
items in the sales quotation that was sent to Contoso. You plan to copy the sales quotation

to create a sales quotation for Lit ware. You need to ensure that the sales quotation for Lit
ware adheres to the trade agreement you have with Lit ware. Which option should you
select in the copy quotation function?

Which interface should you implement in the data contract class?

You are developing a data contract for a Windows Communication Foundation (WCF)
service. The data in the data contract must participate in round trips. Strict schema validity
is not required. You need to ensure that the contract is forward-compatible and allows new
data members to be added to it. Which interface should you implement in the data contract
class?