显示标签为“070-545-Csharp”的博文。显示所有博文
显示标签为“070-545-Csharp”的博文。显示所有博文

2013年10月22日星期二

Microsoft 070-545-Csharp認定試験に適する最高の問題集を捧げる

JapanCertは毎日24時間オンラインに顧客に対してサービスを提供するアフターサービスはとても良いサイトでございます。最新な情報を1年間に無料にアップデートしております。少ないお金をかかって、一回に合格しましょう。JapanCertの問題集は最大のお得だね!

JapanCertのトレーニング資料はあなたが試験の準備をしている知識をテストできて、一定の時間にあなたのパフォーマンスを評価することもできますから、あなたの成績と弱点を指示して、弱い点を改善して差し上げます。JapanCertのMicrosoftの070-545-Csharp試験トレーニング資料はさまざまなコアロジックのテーマを紹介します。そうしたら知識を習得するだけでなく、色々な技術と科目も理解できます。我々のトレーニング資料は実践の検証に合格したもので、資料の問題集が全面的で、価格が手頃ということを保証します。

JapanCertの商品はIT業界の専門家が自分の豊かな知識と経験を利用して認証試験に対して研究出たので品質がいいの試験の資料でございます。受験者がJapanCertを選択したら高度専門の試験に100%合格することが問題にならないと保証いたします。

Microsoft 070-545-Csharp認証試験を通るために、いいツールが必要です。Microsoft 070-545-Csharp認証試験について研究の資料がもっとも大部分になって、JapanCertは早くてMicrosoft 070-545-Csharp認証試験の資料を集めることができます。弊社の専門家は経験が豊富で、研究した問題集がもっとも真題と近づいて現場試験のうろたえることを避けます。

試験番号:070-545-Csharp問題集
試験科目:Microsoft 「TS:Microsoft Visio 2007, Application Development」
最近更新時間:2013-10-21
問題と解答:54

購入前にお試し,私たちの試験の質問と回答のいずれかの無料サンプルをダウンロード:http://www.japancert.com/070-545-Csharp.html

NO.1 You receive an XML data file and a separate XML schema file. The XML schema file describes the XML
data. You need to load the XML data file into the External Data window. Which two actions should
you perform? (Each correct answer presents part of the solution. Choose two.)
A. Transform the XML data file into the classic ActiveX Data Objects (ADO) RowsetSchema format.
B. Verify that the XML data file is well-formed and uses the namespace
http://schemas.microsoft.com/visio/2006/extension.
C. In a code module, use the DataRecordsets object Add method in the Office Visio 2007 document.
D. In a code module, use the DataRecordsets object AddFromXML method in the Office Visio 2007
document.
Answer: AD

Microsoft認定試験   070-545-Csharp問題集   070-545-Csharp参考書   070-545-Csharp   070-545-Csharp参考書

NO.2 You need to link a master shape to an ODBC database. The master shape must display the Update
Database Record command when you right-click the shape. What should you do?
A. In Office Visio 2007, run the Database Wizard.
B. From Control Panel, add a new ODBC data source.
C. In Office Visio 2007, run the Database Export Wizard.
D. In Office Visio 2007, run the Export to Database command.
Answer: A

Microsoft   070-545-Csharp   070-545-Csharp認定試験

NO.3 You need to create two PivotDiagrams in Office Visio 2007 by using the minimum number of Visio
documents and pages. What should you do?
A. Create two new Visio documents by using the PivotDiagram template.
B. Create a new Visio document by using the PivotDiagram template. Insert a PivotDiagram into the
existing page.
C. Create a new Visio document by using the PivotDiagram template. Insert a new page, and then insert
the PivotDiagram into the new page.
D. Create two new Visio documents by using the PivotDiagram template. Copy the PivotDiagram from
one document to a blank page in the other document.
Answer: B

Microsoft   070-545-Csharp   070-545-Csharp   070-545-Csharp認定証

NO.4 You have an ODBC database that contains information that you want to display in Office Visio 2007.
You need to update the database records by modifying shape data from Visio 2007. What are three
possible ways to achieve this goal? (Each correct answer presents a complete solution. Choose three.)
A. In Visio, use the Link Data to Shapes command from the Data menu.
B. In Visio, point to Visio Extras, start the Database Wizard, and then click Link shapes to database
records.
C. In Visio, click Import Data on the Plan menu.
D. In Visio, point to Visio Extras and click Link to ODBC Database.
E. Create custom code functions to read data from the data source, update the Shape Data rows, and
then write the data to the data source.
Answer: BDE

Microsoft認定試験   070-545-Csharp   070-545-Csharp   070-545-Csharp認定証

NO.5 You create a shape that has two Shape Data rows named Department and CostCode. Both the
Department and the CostCode rows have the Type =1.
The Department row Format cell has the formula =A;B.
You need to modify the ShapeSheet to meet the following requirements:
When a user selects Department A, only CostCodes A1 and A2 are visible.
When a user selects Department B, only CostCodes B1 and B2 are visible.
What should you do?
A. Insert a new user-defined cell and enter the formula =SETF(GetRef(Prop.CostCode.Format), =
INDEX(LOOKUP(Prop.Department,Prop.Department.Format),"A1;A2|B1;B2","|"))
B. Enter the following formula in the Format cell of the CostCode Shape Data row.
=INDEX(LOOKUP(Prop.Department,Prop.Department.Format),"A1;A2|B1;B2")
C. Enter the following formula in the Format cell of the CostCode Shape Data row.
=""""&INDEX(LOOKUP(Prop.Department,Prop.Department.Format),"A1;A2|B1;B2","|")&""""
D. Enter the following formula in the Format cell of the CostCode Shape Data row.
=INDEX(LOOKUP(Prop.Department,Prop.Department.Format),"A1;A2|B1;B2","|")
Answer: D

Microsoft   070-545-Csharp問題集   070-545-Csharp

NO.6 You have a shape that contains a Shape Data row named Grade, where Type=0. You need to modify
the Grade row so that it is visible and read-only within the Shape Data window and the Shape Data dialog
box. What should you do?
A. In the Prop.Grade row, change the value of the Type cell to 9.
B. In the Prop.Grade row, change the value of the Type cell to 1, and the formula in the Format cell to
=Prop.Grade.
C. In the Prop.Grade row, change the formula in the Format cell to =LOCK.
D. Insert a new user-defined cell with the formula =
DEPENDSON(Prop.Grade)+SETF(GetRef(Prop.Grade),Prop.Grade).
Answer: B

Microsoft練習問題   070-545-Csharp   070-545-Csharp認定証   070-545-Csharp過去問   070-545-Csharp

NO.7 You need to create an organization chart of employees by using a comma-separated values (CSV) file
and the Organization Chart Wizard. Which two columns must the CSV file contain? (Each correct
answer presents part of the solution. Choose two.)
A. A column that uniquely identifies each employee
B. A column that identifies each employees job title
C. A column that contains each employees department
D. A column that identifies who each employee reports to
Answer: AD

Microsoft   070-545-Csharp   070-545-Csharp認定試験

NO.8 You have a drawing that contains custom shape data. You need to export the shape data to a new
Microsoft Office Excel 2007 workbook. What should you do?
A. Use the Database Wizard.
B. Use the Reports command.
C. Use the Export to Database command.
D. Save the file as an XML drawing.
Answer: B

Microsoft   070-545-Csharp認定試験   070-545-Csharp問題集

NO.9 You plan to create a timeline diagram by using Microsoft Office Project 2007. You need to ensure
that the Project data can be imported into Office Visio 2007 by using the Import Timeline Wizard. What
should you do?
A. In Project, save the data as a Microsoft Project File (*.mpp).
B. In Project, save the data as a Microsoft Project Database (*.mpd).
C. In Project, save the data as a Microsoft Project Workspace (*.mpw).
D. In Project, save the data as a Microsoft Project Exchange (*.mpx).
Answer: A

Microsoft   070-545-Csharp認定資格   070-545-Csharp問題集   070-545-Csharp

NO.10 An External Data recordset named Computer Inventory contains a column named MachineSN. You
create a new Office Visio 2007 diagram and load the Computers and Monitors stencil. A shape named PC
Master from the Computers and Monitors stencil has a Shape Data row labeled Serial Number. To add
a shape to the Visio 2007 diagram, you select the PC Master shape, and then drag and drop a row from
the External Data window to the Visio 2007 page. You notice that the new shapes Serial Number row is
empty. You need the values from the MachineSN column to be entered automatically into the row
labeled Serial Number when you add the shape. What should you do?
A. Change the name of the External Data recordsets column from MachineSN to Serial Number.
B. Change the name of the External Data recordset from Computer Inventory to Serial Number.
C. Modify the PC Master shape on the document stencil. Change the row name of the shape data row
from Serial Number to MachineSN.
D. Copy the PC Master shape to the document stencil. Change the label of the shape data row from
Serial Number to _visDM_MachineSN.
Answer: A

Microsoft   070-545-Csharp認定証   070-545-Csharp   070-545-Csharp認定証   070-545-Csharp認定試験

JapanCertは最新のHP2-H29問題集と高品質のMB6-886問題と回答を提供します。JapanCertのMSC-431 VCEテストエンジンとMB3-701試験ガイドはあなたが一回で試験に合格するのを助けることができます。高品質のJN0-690 PDFトレーニング教材は、あなたがより迅速かつ簡単に試験に合格することを100%保証します。試験に合格して認証資格を取るのはそのような簡単なことです。

記事のリンク:http://www.japancert.com/070-545-Csharp.html

2013年8月24日星期六

最新のMicrosoft 070-536-Csharp 070-545-Csharp 070-542-Csharp試験の問題集

JapanCertのMicrosoftの070-536-Csharp 070-545-Csharp 070-542-Csharp試験トレーニング資料の知名度が非常に高いことを皆はよく知っています。JapanCert は世界的によく知られているサイトです。どうしてこのような大きな連鎖反応になりましたか。それはJapanCertのMicrosoftの070-536-Csharp 070-545-Csharp 070-542-Csharp試験トレーニング資料は適用性が高いもので、本当にみなさんが良い成績を取ることを助けられるからです。

Microsoft070-536-Csharp 070-545-Csharp 070-542-Csharp認定試験に受かりたいのなら、適切なトレーニングツールを選択する必要があります。Microsoft070-536-Csharp 070-545-Csharp 070-542-Csharp認定試験に関する研究資料が重要な一部です。我々JapanCertはMicrosoft070-536-Csharp 070-545-Csharp 070-542-Csharp認定試験に対する効果的な資料を提供できます。JapanCertのIT専門家は全員が実力と豊富な経験を持っているのですから、彼らが研究した材料は実際の試験問題と殆ど同じです。JapanCertは特別に受験生に便宜を提供するためのサイトで、受験生が首尾よく試験に合格することを助けられます。

Microsoft 070-536-Csharp 070-545-Csharp 070-542-Csharp認証試験に合格することが簡単ではなくて、Microsoft 070-536-Csharp 070-545-Csharp 070-542-Csharp証明書は君にとってはIT業界に入るの一つの手づるになるかもしれません。しかし必ずしも大量の時間とエネルギーで復習しなくて、弊社が丹精にできあがった問題集を使って、試験なんて問題ではありません。

JapanCertが提供する資料は比べものにならない資料です。これは前例のない真実かつ正確なものです。受験生のあなたが首尾よく試験に合格することを助けるように、当社のITエリートの団体はずっと探っています。JapanCertが提供した製品は真実なもので、しかも価格は非常に合理的です。JapanCertの製品を選んだら、あなたがもっと充分の時間で試験に準備できるように、当社は一年間の無料更新サービスを提供します。そうしたら、試験からの緊張感を解消することができ、あなたは最大のメリットを取得できます。

JapanCertは多種なIT認証試験を受ける方を正確な資料を提供者でございます。弊社の無料なサンプルを遠慮なくダウンロードしてください。

試験番号:070-536-Csharp問題集
試験科目:Microsoft 「TS:MS.NET Framework 2.0-Application Develop Foundation」
問題と解答:全160問

試験番号:070-545-Csharp問題集
試験科目:Microsoft 「TS:Microsoft Visio 2007, Application Development」
問題と解答:全54問

試験番号:070-542-Csharp問題集
試験科目:Microsoft 「MS Office SharePoint Server 2007-Application Development」
問題と解答:全162問

JapanCertというサイトは世界的に知名度が高いです。それはJapanCertが提供したIT業種のトレーニング資料の適用性が強いですから。それはJapanCertのIT専門家が長い時間で研究した成果です。彼らは自分の知識と経験を活かして、絶え間なく発展しているIT業種の状況によってJapanCertのMicrosoftの070-536-Csharp 070-545-Csharp 070-542-Csharpトレーニング資料を作成したのです。多くの受験生が利用してからとても良い結果を反映しました。もしあなたはIT認証試験に準備している一人でしたら、JapanCertのMicrosoftの070-536-Csharp 070-545-Csharp 070-542-Csharpトレーニング資料を選らんだほうがいいです。利用しないのならメリットが分からないですから、速く使ってみてください。

購入前にお試し,私たちの試験の質問と回答のいずれかの無料サンプルをダウンロード:http://www.japancert.com/070-536-Csharp.html

NO.1 You create a class that is derived from the Installer class. The class you create is used to perform a
component installation.
The component installation overwrites the value of a registry key. You create a method named
GetRegValue that returns the current value of the registry key.
You need to add a code segment that preserves the original value of the registry key if the component is
uninstalled.
Which code segment should you use?
A. private void BeforeUninstallEventHandler(
object sender, InstallEventArgs e) {
e.SavedState.Add("original RegValue", GetRegValue());
}
B. private void CommittedEventHandler(
object sender, InstallEventArgs e) {
e.SavedState.Add("original RegValue", GetRegValue());
}
C. public override void Uninstall(
IDictionary savedState) {
base.Uninstall(savedState);
savedState.Add("original RegValue", GetRegValue());
}
D. protected override void OnBeforeInstall(
IDictionary savedState) {
base.OnBeforeInstall(savedState);
savedState.Add("original RegValue", GetRegValue());
}
Answer: D

Microsoft認定試験   070-536-Csharp認定試験   070-536-Csharp練習問題   070-536-Csharp認定試験

NO.2 You create a class library that is used by applications in three departments of your company. The
library contains a Department class with the following definition.
public class Department {
public string name;
public string manager;
}
Each application uses a custom configuration section to store department-specific values in the
application configuration file as shown in the following code.
<Department>
<name>Hardware</name>
<manager>Amy</manager>
</Department>
You need to write a code segment that creates a Department object instance by using the field values
retrieved from the application configuration file.
Which code segment should you use?
A. public class deptElement : ConfigurationElement {
protected override void DeserializeElement(
XmlReader reader, bool serializeCollectionKey) {
Department dept = new Department();
dept.name = ConfigurationManager.AppSettings["name"];
dept.manager =
ConfigurationManager.AppSettings["manager"];
return dept;
}
}
B. public class deptElement: ConfigurationElement {
protected override void DeserializeElement(
XmlReader reader, bool serializeCollectionKey) {
Department dept = new Department();
dept.name = reader.GetAttribute("name");
dept.manager = reader.GetAttribute("manager");
}
}
C. public class deptHandler : IConfigurationSectionHandler {
public object Create(object parent, object configContext,
System.Xml.XmlNode section) {
Department dept = new Department();
dept.name = section.SelectSingleNode("name").InnerText;
dept.manager =
section.SelectSingleNode("manager").InnerText;
return dept;
}
}
D. public class deptHandler : IConfigurationSectionHandler {
public object Create(object parent, object configContext,
System.Xml.XmlNode section) {
Department dept = new Department();
dept.name = section.Attributes["name"].Value;
dept.manager = section.Attributes["manager"].Value;
return dept;
}
}
Answer: C

Microsoft認定試験   070-536-Csharp認定証   070-536-Csharp

NO.3 You are developing an application that stores data about your company's sales and technical support
teams.
You need to ensure that the name and contact information for each person is available as a single
collection when a user queries details about a specific team. You also need to ensure that the data
collection guarantees type safety.
Which code segment should you use?
A. Hashtable team = new Hashtable();
team.Add(1, "Hance");
team.Add(2, "Jim");
team.Add(3, "Hanif");
team.Add(4, "Kerim");
team.Add(5, "Alex");
team.Add(6, "Mark");
team.Add(7, "Roger");
team.Add(8, "Tommy");
B. ArrayList team = new ArrayList();
team.Add("1, Hance");
team.Add("2, Jim");
team.Add("3, Hanif");
team.Add("4, Kerim");
team.Add("5, Alex");
team.Add("6, Mark");
team.Add("7, Roger");
team.Add("8, Tommy");
C. Dictionary<int, string> team =
new Dictionary<int, string>();
team.Add(1, "Hance");
team.Add(2, "Jim");
team.Add(3, "Hanif");
team.Add(4, "Kerim");
team.Add(5, "Alex");
team.Add(6, "Mark");
team.Add(7, "Roger");
team.Add(8, "Tommy");
D. string[] team =
new string[] {"1, Hance",
"2, Jim", "3, Hanif",
"4, Kerim", "5, Alex",
"6, Mark", "7, Roger",
"8, Tommy"};
Answer: C

Microsoft   070-536-Csharp練習問題   070-536-Csharp   070-536-Csharp問題集   070-536-Csharp   070-536-Csharp練習問題

NO.4 You are creating a class named Temperature. The Temperature class contains a public field named F.
The public field F represents a temperature in degrees Fahrenheit.
You need to ensure that users can specify whether a string representation of a Temperature instance
displays the Fahrenheit value or the equivalent Celsius value.
Which code segment should you use?
A. public class Temperature : IFormattable {
public int F;
public string ToString(string format, IFormatProvider fp) {
if ((format == "F")|| (format == null)) return F.ToString();
if (format == "C") return ((F - 32) / 1.8).ToString();
throw new FormatException("Invalid format string");
}
}
B. public class Temperature : ICustomFormatter {
public int F;
public string Format(string format, object arg,
IFormatProvider fp) {
if (format == "C") return ((F - 32) / 1.8).ToString();
if (format == "F") return arg.ToString();
throw new FormatException("Invalid format string");
}
}
C. public class Temperature {
public int F;
public string ToString(string format, IFormatProvider fp) {
if (format == "C") {
return ((F - 32) / 1.8).ToString();
} else {
return this.ToString();
}
}
}
D. public class Temperature {
public int F;
protected string format;
public override String ToString() {
if (format == "C")
return ((F - 32) / 1.8).ToString();
return F.ToString();
}
}
Answer: A

Microsoft   070-536-Csharp   070-536-Csharp   070-536-Csharp認定資格   070-536-Csharp問題集

NO.5 You are instantiating a variable to store only strings. The variable is named messageStore.
You need to ensure that string messages are read and processed in the order in which they are received.
Which code segment should you use?
A. Stack<string> messageStore = new Stack<string>();
messageStore.Push("This is a test message...");
B. Stack messageStore = new Stack();
messageStore.Push("This is a test message...");
C. Queue messageStore = new Queue();
messageStore.Enqueue("This is a test message...");
D. Queue<string> messageStore = new Queue<string>();
messageStore.Enqueue("This is a test message...");
Answer: D

Microsoft   070-536-Csharp   070-536-Csharp参考書

NO.6 You need to write a multicast delegate that accepts a DateTime argument.
Which code segment should you use?
A. public delegate int PowerDeviceOn(bool result,
DateTime autoPowerOff);
B. public delegate bool PowerDeviceOn(object sender,
EventArgs autoPowerOff);
C. public delegate void PowerDeviceOn(DateTime autoPowerOff);
D. public delegate bool PowerDeviceOn(DateTime autoPowerOff);
Answer: C

Microsoft   070-536-Csharp練習問題   070-536-Csharp   070-536-Csharp

NO.7 You write the following code.
public delegate void FaxDocs(object sender, FaxArgs args);
You need to create an event that will invoke FaxDocs.
Which code segment should you use?
A. public static event FaxDocs Fax;
B. public static event Fax FaxDocs;
C. public class FaxArgs : EventArgs {
private string coverPageInfo;
public FaxArgs(string coverInfo) {
this.coverPageInfo = coverPageInfo;
}
public string CoverPageInformation {
get {return this.coverPageInfo;}
}
}
D. public class FaxArgs : EventArgs {
private string coverPageInfo;
public string CoverPageInformation {
get {return this.coverPageInfo;}
}
}
Answer: A

Microsoft問題集   070-536-Csharp   070-536-Csharp   070-536-Csharp

NO.8 You are developing a routine that will periodically perform a calculation based on regularly changing
values from legacy systems. You write the following lines of code. (Line numbers are included for
reference only.)
01 bool exitLoop = false;
02 do {
03
04 exitLoop = PerformCalculation();
05 } while (!exitLoop);
You need to write a code segment to ensure that the calculation is performed at 30-second intervals. You
must ensure that minimum processor resources are used between the calculations.
Which code segment should you insert at line 03?
A. Thread.Sleep(30000);
B. Thread.SpinWait(30000);
C. Thread thrdCurrent = Thread.CurrentThread;
thrdCurrent.Priority = ThreadPriority.BelowNormal;
D. Thread thrdCurrent = Thread.CurrentThread;
thrdCurrent.Priority = ThreadPriority.Lowest;
E. Thread.SpinWait(30);
Answer: A

Microsoft認定資格   070-536-Csharp   070-536-Csharp問題集

NO.9 You develop a service application named FileService. You deploy the service application to multiple
servers on your network.
You implement the following code segment. (Line numbers are included for reference only.)
01 public void StartService(string serverName){
02 ServiceController crtl = new
03 ServiceController("FileService");
04 if (crtl.Status == ServiceControllerStatus.Stopped){
05 }
06 }
You need to develop a routine that will start FileService if it stops. The routine must start FileService on
the server identified by the serverName input parameter.
Which two lines of code should you add to the code segment? (Each correct answer presents part of the
solution. Choose two.)
A. Insert the following line of code between lines 03 and 04:
crtl.ServiceName = serverName;
B. Insert the following line of code between lines 03 and 04:
crtl.MachineName = serverName;
C. Insert the following line of code between lines 03 and 04:
crtl.Site.Name = serverName;
D. Insert the following line of code between lines 04 and 05:
crtl.Continue();
E. Insert the following line of code between lines 04 and 05:
crtl.Start();
F. Insert the following line of code between lines 04 and 05:
crtl.ExecuteCommand(0);
Answer: BE

Microsoft   070-536-Csharp参考書   070-536-Csharp認証試験   070-536-Csharp認定資格   070-536-Csharp認定資格   070-536-Csharp問題集

NO.10 You are developing an application to perform mathematical calculations. You develop a class named
CalculationValues. You write a procedure named PerformCalculation that operates on an instance of the
class.
You need to ensure that the user interface of the application continues to respond while calculations are
being performed. You need to write a code segment that calls the PerformCalculation procedure to
achieve this goal.
Which code segment should you use?
A. private void PerformCalculation() {
...
}
private void DoWork(){
CalculationValues myValues = new CalculationValues();
Thread newThread = new Thread(
new ThreadStart(PerformCalculation));
newThread.Start(myValues);
}
B. private void PerformCalculation() {
...
}
private void DoWork(){
CalculationValues myValues = new CalculationValues();
ThreadStart delStart = new
ThreadStart(PerformCalculation);
Thread newThread = new Thread(delStart);
if (newThread.IsAlive) {
newThread.Start(myValues);
}
}
C. private void PerformCalculation (CalculationValues values) {
...
}
private void DoWork(){
CalculationValues myValues = new CalculationValues();
Application.DoEvents();
PerformCalculation(myValues);
Application.DoEvents();
}
D. private void PerformCalculation(object values) {
...
}
private void DoWork(){
CalculationValues myValues = new CalculationValues();
Thread newThread = new Thread(
new ParameterizedThreadStart(PerformCalculation));
newThread.Start(myValues);
}
Answer: D

Microsoft認定資格   070-536-Csharp認定証   070-536-Csharp問題集   070-536-Csharp参考書   070-536-Csharp

NO.11 You are writing a custom dictionary. The custom-dictionary class is named MyDictionary.
You need to ensure that the dictionary is type safe.
Which code segment should you use?
A. class MyDictionary : Dictionary<string, string>
B. class MyDictionary : HashTable
C. class MyDictionary : IDictionary
D. class MyDictionary { ... }
Dictionary<string, string> t =
new Dictionary<string, string>();
MyDictionary dictionary = (MyDictionary)t;
Answer: A

Microsoft   070-536-Csharp認定証   070-536-Csharp   070-536-Csharp   070-536-Csharp

NO.12 You need to write a code segment that will add a string named strConn to the connection string section
of the application configuration file.
Which code segment should you use?
A. Configuration myConfig =
ConfigurationManager.OpenExeConfiguration(
ConfigurationUserLevel.None);
myConfig.ConnectionStrings.ConnectionStrings.Add(
new ConnectionStringSettings("ConnStr1", strConn));
myConfig.Save();
B. Configuration myConfig =
ConfigurationManager.OpenExeConfiguration(
ConfigurationUserLevel.None);
myConfig.ConnectionStrings.ConnectionStrings.Add(
new ConnectionStringSettings("ConnStr1", strConn));
ConfigurationManager.RefreshSection(
"ConnectionStrings");
C. ConfigurationManager.ConnectionStrings.Add(
new ConnectionStringSettings("ConnStr1", strConn));
ConfigurationManager.RefreshSection(
"ConnectionStrings");
D. ConfigurationManager.ConnectionStrings.Add(
new ConnectionStringSettings("ConnStr1", strConn));
Configuration myConfig =
ConfigurationManager.OpenExeConfiguration(
ConfigurationUserLevel.None);
myConfig.Save();
Answer: A

Microsoft   070-536-Csharp   070-536-Csharp   070-536-Csharp   070-536-Csharp

NO.13 You are working on a debug build of an application.
You need to find the line of code that caused an exception to be thrown.
Which property of the Exception class should you use to achieve this goal?
A. Data
B. Message
C. StackTrace
D. Source
Answer: C

Microsoft   070-536-Csharp認証試験   070-536-Csharp   070-536-Csharp認定資格

NO.14 You are developing an application to assist the user in conducting electronic surveys. The survey
consists of 25 true-or-false questions.
You need to perform the following tasks:
è Initialize each answer to true.
è Minimize the amount of memory used by each survey.
Which storage option should you choose?
A. BitVector32 answers = new BitVector32(1);
B. BitVector32 answers = new BitVector32(-1);
C. BitArray answers = new BitArray (1);
D. BitArray answers = new BitArray(-1);
Answer: B

Microsoft   070-536-Csharp参考書   070-536-Csharp認定資格   070-536-Csharp   070-536-Csharp

NO.15 You need to write a code segment that will assign the name of the configuration file that the current
application domain uses to a string variable named configFile.
Which two code segments should you use to achieve the goal? (Each correct answer presents a
complete solution. Choose two.)
A. AppDomain domain = AppDomain.CurrentDomain;
configFile =
domain.GetData("APP_CONFIG_FILE").ToString();
B. AppDomain domain = AppDomain.CurrentDomain;
AppDomainSetup setup = domain.SetupInformation;
configFile = setup.ConfigurationFile;
C. AppDomain domain = AppDomain.CurrentDomain;
AppDomainSetup setup = new AppDomainSetup();
configFile = setup.ConfigurationFile;
D. AppDomainSetup setup = new AppDomainSetup();
AppDomain domain = AppDomain.CreateDomain("current",
null, setup);
configFile = setup.ConfigurationFile;
Answer: AB

Microsoft   070-536-Csharp認定試験   070-536-Csharp練習問題   070-536-Csharp練習問題   070-536-Csharp認定試験

NO.16 You are creating an application that retrieves values from a custom section of the application
configuration file. The custom section uses XML as shown in the following block.
<ProjectSection name="Project1">
<role name="administrator" />
<role name="manager" />
<role name="support" />
</ProjectSection>
You need to write a code segment to define a class named Role. You need to ensure that the Role class is
initialized with values that are retrieved from the custom section of the configuration file.
Which code segment should you use?
A. public class Role : ConfigurationElement {
internal string _ElementName = "name";
[ConfigurationProperty("role")]
public string Name {
get {
return ((string)base["role"]);
}
}
}
B. public class Role : ConfigurationElement {
internal string _ElementName = "role";
[ConfigurationProperty("name", RequiredValue = true)]
public string Name {
get {
return ((string)base["name"]);
}
}
}
C. public class Role : ConfigurationElement {
internal string _ElementName = "role";
private string _name;
[ConfigurationProperty("name")]
public string Name {
get {
return _name;
}
}
}
D. public class Role : ConfigurationElement {
internal string _ElementName = "name";
private string _name;
[ConfigurationProperty("role", RequiredValue = true)]
public string Name {
get {
return _name;
}
}
}
Answer: B

Microsoft過去問   070-536-Csharp参考書   070-536-Csharp   070-536-Csharp認証試験   070-536-Csharp認定資格   070-536-Csharp練習問題

NO.17 You are writing a method that returns an ArrayList named al.
You need to ensure that changes to the ArrayList are performed in a thread-safe manner.
Which code segment should you use?
A. ArrayList al = new ArrayList();
lock (al.SyncRoot)
{
return al;
}
B. ArrayList al = new ArrayList();
lock (al.SyncRoot.GetType())
{
return al;
}
C. ArrayList al = new ArrayList();
Monitor.Enter(al);
Monitor.Exit(al);
return al;
D. ArrayList al = new ArrayList();
ArrayList sync_al = ArrayList.Synchronized(al);
return sync_al;
Answer: D

Microsoft   070-536-Csharp   070-536-Csharp

NO.18 You are developing an application that dynamically loads assemblies from an application directory.
You need to write a code segment that loads an assembly named Assembly1.dll into the current
application domain.
Which code segment should you use?
A. AppDomain domain = AppDomain.CurrentDomain;
string myPath = Path.Combine(domain.BaseDirectory,
"Assembly1.dll");
Assembly asm = Assembly.LoadFrom(myPath);
B. AppDomain domain = AppDomain.CurrentDomain;
string myPath = Path.Combine(domain.BaseDirectory,
"Assembly1.dll");
Assembly asm = Assembly.Load(myPath);
C. AppDomain domain = AppDomain.CurrentDomain;
string myPath = Path.Combine(domain.DynamicDirectory,
"Assembly1.dll");
Assembly asm = AppDomain.CurrentDomain.Load(myPath);
D. AppDomain domain = AppDomain.CurrentDomain;
Assembly asm = domain.GetData("Assembly1.dll");
Answer: A

Microsoft   070-536-Csharp   070-536-Csharp   070-536-Csharp   070-536-Csharp認証試験

NO.19 You are creating a class named Age.
You need to ensure that the Age class is written such that collections of Age objects can be sorted.
Which code segment should you use?
A. public class Age {
public int Value;
public object CompareTo(object obj) {
if (obj is Age) {
Age _age = (Age) obj;
return Value.CompareTo(obj);
}
throw new ArgumentException("object not an Age");
}
}
B. public class Age {
public int Value;
public object CompareTo(int iValue) {
try {
return Value.CompareTo(iValue);
} catch {
throw new ArgumentException ("object not an Age");
}
}
}
C. public class Age : IComparable {
public int Value;
public int CompareTo(object obj) {
if (obj is Age) {
Age _age = (Age) obj;
return Value.CompareTo(_age.Value);
}
throw new ArgumentException("object not an Age");
}
}
D. public class Age : IComparable {
public int Value;
public int CompareTo(object obj) {
try {
return Value.CompareTo(((Age) obj).Value);
} catch {
return -1;
}
}
}
Answer: C

Microsoft   070-536-Csharp認証試験   070-536-Csharp   070-536-Csharp過去問   070-536-Csharp問題集

NO.20 You need to write a code segment that will create a common language runtime (CLR) unit of isolation
within an application.
Which code segment should you use?
A. AppDomainSetup mySetup =
AppDomain.CurrentDomain.SetupInformation;
mySetup.ShadowCopyFiles = "true";
B. System.Diagnostics.Process myProcess;
myProcess = new System.Diagnostics.Process();
C. AppDomain domain;
domain = AppDomain.CreateDomain("MyDomain");
D. System.ComponentModel.Component myComponent;
myComponent = new System.ComponentModel.Component();
Answer: C

Microsoft   070-536-Csharp認定資格   070-536-Csharp   070-536-Csharp   070-536-Csharp認定証