PrepAway - Latest Free Exam Questions & Answers

Tag: 70-547

Exam 70-547: PRO: Designing and Developing Web-Based Applications by Using the Microsoft .NET Framework

What should you recommend?

You create Web-based client applications. Your client company has an existing ASP.NET Web-based application. The Web-based application uses a combination of HTML and client-side scripting to deliver online training content. Your client company has asked you to enhance the application to deliver interactive multimedia content. The enhanced application must support dial-up users. You need to recommend an appropriate multimedia delivery mechanism for the application. What should you recommend?

What should you do?

You create Web-based client applications. You are creating a user-assistance
mechanism for a Web form. The Web form serves as a multilevel wizard for clients to set up a new inventory for items.

The user-assistance mechanism must meet the following requirements:

Enable entry-level users to understand every step of the multilevel wizard process. Ensure that users complete the multilevel wizard on their first try.

You need to select the appropriate user-assistance mechanism to meet the outlined requirements. What should you do?

What should you do?

You create Web-based client applications. You are creating an ASP.NET intranet site. The site permits individual departments to post content without involving the Central Information Technology resources. The site also permits Central Information Technology to maintain control over the intranet as a whole. Each department wants complete control over the appearance and behavior of their departmental content. However, Information Technology directives require every page on the intranet to maintain a consistent appearance and behavior. You need to develop the Web page on the intranet site so that it meets the requirements. What should you do?

Which strategy should you use?

You create Web-based client applications. You are creating a content management system (CMS). You intend to sell CMS to your customers. It is important that customers customize the appearance and behavior of the CMS installation because the system will be used for external Web sites. However, your customers are not programmers. The customers will not be able to modify complicated source code to customize the appearance and behavior of their Web sites. You need to create the system in such a way that customers can modify the appearance and behavior of their Web
sites by editing the minimum number of files, ideally one or two. Which strategy should you use?

What should you do?

You create Web-based client applications. You are creating a Web control that includes data entry fields. The Web control also includes data validation code. The data validation code verifies whether the user has entered a valid date and a valid postal code in a text box. You are writing the code within the Web control to handle the invalid data. The Web control must work on as many browsers as possible. You need to design an appropriate feedback technique. What should you do?

Which two technologies should you choose?

You create Web-based client applications. You create an application that will be used by customers to browse the product catalog of an Internet-based store and buy products.

The application must meet the following requirements:

Permit registered customers of the store to change display settings and personal information. Store the updated information and associate the information with the logged-on customer.

You need to choose appropriate technologies to meet these requirements. Which two technologies should you choose? (Each correct answer presents part of the solution. Choose two.)

What should you conclude?

You create Web-based client applications. You create an application that is used as a portal. The portal uses a set of custom controls that expose different functionalities.

The set of custom controls includes one control each for the following three tasks:

Track sales
Track inventory
Permit access to the corporate e-mail of the company

The portal must permit users to select the controls that they need to display on the basis of a predefined list.

The design team proposes the following steps to meet the requirement:

Create the custom controls as Web parts.
Create a Web part zone page that has two Web part controls and a catalog part control.
Add the sales Web part control to the Web part zone.

You need to evaluate whether the solution meets the requirements. What should you conclude?

What should you recommend?

You create Web-based client applications. You are creating an online reporting application that must generate inventory restocking reports within 34 seconds. In the development
environment, during a unit test, generation of the month-end report took 42 seconds. You need to recommend what action must be taken to validate the test results. What should you recommend?

Which lines are covered by the test?

You create Web-based client applications. You create a Web site that will be used to simulate different types of loans. You are writing a method to calculate the payment on a simple loan. You write the following lines of code for the method. (Comments are included for reference only.)

public static decimal Payment(decimal loanAmount, int period, decimal rate) { if (!(loanAmount > 0)||!(period > 1)||!(rate > 0)) { // Line A throw new Exception(“Invalid input!”); // Line B
} else {
return 0M; // Line C: return a calculated payment
}
}

public static decimal CheckBalance(ulong accountID) {
return 0M; // Line D: return calculated balance
}

You write the following code for the unit test.

[TestMethod()]
public void PaymentTest() {
decimal payment = Loan.Payment(100000,360,10); // Line E
Assert.AreEqual(payment, 877.57M); // Line F
}
You enable coverage testing for this unit test. You need to identify the coverage of your test. Which lines are covered by the test?

Which line of code should replace the code on line 09 of the unit test?

You create Web-based applications. You are creating an Internet banking application. You write the following lines of code to represent a method in your application. (Line numbers are included for reference only.)

01 public void Transfer(decimal amount, BankAccount account) 02 {
03 if (!(amount > 0))
04 throw new Exception(“Invalid deposit amount!”);
05 else
06 {
07 this.Withdraw(amount);
08 account.Deposit(amount);
09 }
10 }

You use the Microsoft Visual Studio 2005 test feature to automatically generate the following unit test.
(Line numbers are included for reference only.)

01 [TestMethod()]
02 public void TransferTest()
03 {
05 BankAccount target = new BankAccount();
06 BankAccount transferTo = new BankAccount();
07 target.Deposit(500);
08 target.Transfer(100,transferTo);
09 Assert.Inconclusive(“A method that does not return a value cannot be verified.”); 10 }

You need to change the test method to return a conclusive result. Which line of code should replace the code on line 09 of the unit test?


Page 11 of 12« First...89101112