search1 Build searcho New csearche Build t Build Build esearch- Build asearchesearch searchp
l Paos c Business tsearchosearchs Build Business o 1r Web Business re Paos t Paos n Build Web nsearchI
te
n
t Web bsearchn1i Business g Web a New psearchichttp%3A%2F%2Fweb.renxingbense.org%2Ft Paos o Web .
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 {}
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 {}
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?
A. Assert.AreEqual (400M, target.Balance);
B. Assert.IsTrue (target.Balance != 400M);
C. Debug.Assert (target.Balance == 400M,passed);
D. Debug.Assert (target.Balance == 400M,failed);
Answer: A
12. 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) {} else {}
}
public static decimal CheckBalance(ulong accountID) {}
You write the following code for the unit test.
[TestMethod()]
public void PaymentTest() {}
You enable coverage testing for this unit test.
You need to identify the coverage of your test.
Which lines are covered by the test?
A. Lines commented A, B, and C
B. Lines commented A and C
C. Lines commented A, B, C, D, E, and F
D. Lines commented A, B, C, E, and F
Answer: B
13. You create Web-based applications. You are creating an Internet banking application. The application will be used by bank account holders.
You are creating a method to withdraw money from an account. The method must change the account balance according to one of the following rules:
If the amount that is being withdrawn is less than or equal to the account balance, then subtract the amount from the balance.
If the amount that is being withdrawn is greater than the account balance by up to 500 dollars, then subtract the amount and a 35-dollar fee from the balance.
If the amount that is being withdrawn is greater than the account balance by more than 500 dollars, then generate an error.
You are translating the specification given here into pseudo code. You start by writing the following code.
Method
public void Withdraw
Input parameters
decimal amount
Class field
decimal balance
Pseudo code
//your pseudo code
You need to insert the correct pseudo code.
Which code segment should you insert?
A. If amount < balance then balance – = amount
If amount < balance + 500 then balance = balance – (amount + 35)
If amount > balance + 500 then throw exception
B. If amount <= balance then balance – = amount
If amount <= balance + 500 then balance = balance – (amount + 35)
If amount > balance + 500 then throw exception
C. If amount < balance then balance – = amount
Else If amount < balance + 500 then balance = balance – (amount + 35)
Else throw exception
D. If amount <= balance then balance – = amount
Else If amount <= balance + 500 then balance = balance – (amount + 35)
Else throw exception
Answer: D
14. You create Web-based client applications. You are creating a class named Product. The Product class will be used by a Web-based application to retrieve and modify product information.
When you create an instance of the Product class, you retrieve the current information from the Products table. The Product class contains a static member named CreateNewProduct. The CreateNewProduct method is used to add a new product to the database and return the primary key. The Products table contains the following fields:
ProductID (primary key)
ProductName
Description
CategoryID
CurrentPrice
You need to create the constructor for the Product class.
Which code segment should you use?
A. public Product(int ProductID, string ProductName, string Description, int CategoryID, decimal CurrentPrice){}
B. public Product(int ProductID, string ProductName)?{}
C. public Product()?{}
D. public Product(int ProductID)?{}
Answer: D
15. Question
You create Web-based client applications.
?
You are evaluating the design of an e-commerce Web site. The Web site processes credit card information. The Web site has a shopping cart and expects a high volume of traffic, especially during peak shopping times.
?
The design specifications for the application must meet the following criteria:
?
The application will be hosted on a Web farm.
The application will use SSL during the checkout process.
Shopping cart information will be stored in InProc session variables.
?
You need to evaluate the design of the application and recommend whether it is technically feasible and complete.
?
What should you conclude?
A. The design is technically feasible, but it is not complete. The application must be configured to use cookieless sessions. Each server on the farm must use a unique certificate.
B. The design is technically feasible and complete.
C. The design is technically feasible, but it is not complete. The servers must have their affinity set to a single host (sticky sessions).
D. The design is not technically feasible. The application cannot be hosted on a Web farm.
Answer: C
Examsoon提供最新的MCPD认证 70-547C++题库,其全名为:(PRO:Design and Develop Web-Basd Apps by Using MS.NET Frmwk). 在您决定是否购买之前 可以先下载70-547C++题库的部分演示. Examsoon是全球唯一提供所有IT认证考试题库demo免费下载的厂商 ,以下为免费70-547C++模拟测试题的下载链接
MCPD认证 70-547C++考试已经证明了它在全世界的广泛性和重要性,因此明白这项认证考试的世界各地的人必须具备与认证考试相关领域所需的技能和知识。Microsoft认证 70-547C++学习指南的目的是检查考生的能力和他对概念的意识。很多时候练习测试70-547C++考试都已经被修改过了,删掉了许多过时的东西,而那些需求是在考试课程。当应用到时候你所学的知识的时候,就会鉴定出你所学到的东西以及对所学知识的应用是多么的恰到好处。Microsoft认证 70-547C++是在IT行业的知名品牌,所以如果您通过了这样一个知名公司举行的一次考试,你可以想象你将来的事业会做的多么好。
想要通过这个考试当然存在很多困难。你所要做的就是准备好充足的勇气和信心,而这些都来源与你平时训练的好坏.建议大家可以去Examsoon这个网站看一下,它的70-547C++考试是为了测试您在这方面的知识的掌握程度,最好的部分是它可以使你不断更新你所学的知识,不断进步。如果你知道所有的概念和如何使用他们的时候才是你真正掌握了Examsoon的用意。这门考试检查了您的能力和一旦你通过这次考验你将成为最优秀的人才,其他70-547C++考试的Examsoon结算值得注意的影响就是你的薪水将直线上升这大概也是每个人都希望获得的,所以要找一些好的资源才行。
Examsoon考题大师70-547C++试题都是考试原题的完美组合,覆盖率95%以上,答案由多位专业资深讲师原版破解得出,正确率100%,只要您使用Examsoon的考试题库参加70-547C++考试,保证您一次轻松通过考试;
售后服务第一!我们相信要想在当今时代取得成功,必须为广大用户提供全套的周到细致的全程优质售后服务,只有客户满意了,才能发展。客户至上是Examsoon考题大师的一贯宗旨;
考试代号: 70-643Big5
问题数量:75 Q&As
更新时间: 2009-10-24
注册地点: Prometric/Pearson VUE
题库全称:TS: Windows Server 2008 Applications Infrastructure, Configuring
Exam : Microsoft 70-643Big5
Title : Windows Server 2008 Applications Infrastructure, Configuring
1. 您的網路包含單一 Active Directory 網域。網域中有一部執行 Windows Server 2008 的伺服器,其上安裝了 Windows SharePoint Services (WSS)。您需要允許使用者由 SharePoint 站台建立通訊群組清單。請問您應該在 WSS 伺服器上做什麼?
A. 將輸出郵件字元集設為 1200(Unicode)。
B. 啟用 SharePoint 目錄管理服務。
C. 設定站台僅接受來自已驗證使用者的訊息。
D. 設定站台使用 Active Directory 網域服務中的預設 Rights Management Server。
Answer: B
2. 您的公司有稱為 contoso.com 的單一 Active Directory 網域。網域中的所有伺服器都執行 Windows Server 2008。有兩部網域控制站安裝了 DNS 伺服器伺服器角色,這兩部網域控制站分別稱為 DC1 與 DC2。兩部 DNS 伺服器都裝載了整合 Active Directory 的區域,並設定僅允許安裝最安全的更新。DC1 安裝了金鑰管理服務 (Key Management Service,KMS),並已啟動服務。您發現裝載於 DC1 和 DC2 的 contoso.com 區域的服務定位器記錄遺失了。現在您需要在 contoso.com 區域中強制執行 KMS 服務定位器記錄登錄。請問您該怎麼做?
A. 設定讓 contoso.com 區域接受非安全更新。
B. 在 DC1 上,在命令提示字元中執行 slmgr.vbs -rearm 指令碼。
C. 在 DC1 上,在命令提示字元中執行 net stop slsvc 命令,然後執行 net start slsvc 命令。
D. 在 DC2 上,在命令提示字元中執行 net stop netlogon 命令,然後執行 net start netlogon 命令。
Answer: C
3. 您的公司有四個地區性辦公室。在網路上,您安裝了 Windows 部署服務 (WDS) 角色。您的公司為每個辦公室建立了三個映像,所以公司總共有 12 個映像。公司會使用這些映像做為工作站的標準映像。您使用 WDS 部署這些映像。現在您需要確保每個系統管理員都僅能檢視他們的地區性辦公室的映像。請問您該怎麼做?
A. 為每個地區性辦公室建立一個全域群組,並將電腦置於適當的全域群組中。
B. 為每個地區性辦公室建立一個組織單位 (Organizational Unit,OU),並將電腦置於適當的 OU 中。
C. 將所有映像置於 WDS 伺服器上的單一映像群組中,然後授與每個系統管理員對這個映像群組的使用權限。
D. 將每個地區性辦公室置於 WDS 伺服器上的個別映像群組中,然後授與每位系統管理員權限,讓他們可以使用地區性辦公室所屬的映像群組。
Answer: D