Pass4sure Microsoft mcts 70-401 2.93
- Sunday, October 12, 2008, 8:22
- Study Guide
- 450 views
- 3 comments
MS System Center Configuration Manager2007, Configuring : 70-401 Exam
Product DescriptionExam Number/Code: 70-401
Exam Name: MS System Center Configuration Manager2007, Configuring
“MS System Center Configuration Manager2007, Configuring”, also known as 70-401 exam, is a Microsoft certification. With the complete collection of questions and answers, Pass4sure has assembled to take you through 100 Q&As to your 70-401 Exam preparation. In the 70-401 exam resources, you will cover every field and category in MCTS helping to ready you for your successful Microsoft Certification.
QUESTION1
You are a Web developer for Certkiller . You are creating an online inventory Web site to be used by
employees in Germany and the United States. When a user selects a specific item from the inventory, the
site needs to display the cost of the item in both United States currency and German currency. The cost
must be displayed appropriately for each locale.
You want to create a function to perform this task.
Which code should you use?
A. private string CKGetDisplayValue(double value,string
inputRegion)
{
string display:
RegionInfo region;
region = new RegionInfo(inputRegion);
display = value.ToString(“C”);
display += region.CurrencySymbol;
return display;
}
B. private string CKGetDisplayValue(double value,string
inputCulture)
{
string display;
NumberFormatInfo LocalFormat = (NumberFormatInfo)
NumberFormatInfo.CurrentInfo.Clone();
display = value.ToString(“C”, LocalFormat);
Actualtests.org – The Power of Knowing
return display;
}
C. private string CKGetDisplayValue(double value,string
inputRegion)
{
string display;
RegionInfo region;
region = new RegionInfo(inputRegion);
display = value.ToString(“C”);
display += region.ISOCurrencySymbol;
return display;
}
D. private string CKGetDisplayValue(double value, string
inputCulture)
{
string display;
CultureInfo culture;
culture = new CultureInfo(inputCulture);
display = value.ToString(“C”, culture);
return display;
}
Answer: D
Explanation: We create a new CultureInfo object based on the inputCulture parameter. We then produce the
result with “C” constant, representing the current culture, and the new CultureInfo object: display =
value.ToString(“C”, culture)
Note: The CultureInfo Class contains culture-specific information, such as the language, country/region,
calendar, and cultural conventions associated with a specific culture. This class also provides the information
required for performing culture-specific operations, such as casing, formatting dates and numbers, and
comparing strings.
Reference:
.NET Framework Developer’s Guide, Formatting Numeric Data for a Specific Culture [C#]
Incorrect Answers
B: The NumberFormatInfo class defines how currency, decimal separators, and other numeric symbols are
formatted and displayed based on culture. However, we should create a CultureInfo object, not a
NumberFormatInfo object).
A, C: We should use the CultureInfo class not the RegionInfo class.
Note: In contrast to CultureInfo, RegionInfo does not represent preferences of the user and does not
depend on the user’s language or culture.
QUESTION 2:
You are creating a DataGrid control named CKGrid for a travel service. Each row in myGrid contains a
travel reservation and an Edit command button. In each row, the fields that contain travel reservation
information are read-only labels. You want all the fields to change to text boxes when a user clicks the
Actualtests.org – The Power of Knowing
Edit command button in the row.
You are writing the following event handler for the EditCommand event. (Line numbers are included for
reference only)
1 private void CKGrid_EditCommand(object s,
DataGridCommandEventArgs e)
}
2
3 }
Which code should you add at line 2 of the event handler?
A. CKGrid.EditItemIndex = e.Item.ItemIndex;
B. CKGrid.DataKeyField = e.Item.AccessKey;
C. CKGrid.SelectedIndex = e.Item.ItemIndex;
D. CKGrid.CurrentPageIndex = e.Item.ItemIndex;
Answer: A
Explanation: The EditItemIndex property is used to programmatically control which item is being edited.
Setting this property to an index of an item in the DataGrid control will enable editing controls for that item in
the EditCommandColumn.
Reference: .NET Framework Class Library, DataGrid.EditItemIndex Property [C#]
Incorrect Answers
B: The DataKeyfield is used to get or set the key field in the data source specified by the DataSource
property.
C: The SelectedIndex property is used to determine the index of the item selected by the user in the
DataGrid control.
D: The CurrentPageIndex property is used to determine the currently displayed page in the DataGrid
control when paging is enabled. This property is also used to programmatically control which page is
displayed.
QUESTION 3
You create an ASP.NET application for an online insurance site Certkiller Insurance. A page named
VehicleInformation.aspx has the following Page directive:
< %@ Page Language="c#"
CodeBehind="VehicleInformation.aspx.cs"
AutoEventWireup="false" inherits="InsApp.VehicleInfo"%>
VehicleInformation.aspx had a TextBox control named vehicleIDNumber in which the user can enter a
vehicle identification number (VIN). The HTML code for this control is as follows:
You need to implement a TextChanged event handler for vehicleIDNumber. You want this event handler
to retrieve information about a vehicle by using an XML Web service that charges for each access. The
page will then be redisplayed with additional information about the vehicle obtained from the XML Web
service.
You are implementing the TextChanged event handler.
Actualtests.org – The Power of Knowing
Which two courses of action should you take? (Each correct answer presents part of the solution. Choose
two)
A. In the Page directive for VehicleInformation.aspx, ensure that the AutoEventWireup attributes is set to
“true”.
B. In the Page directive for VehicleInformation.aspx, ensure that the EnableViewState attribute is set to
“true”.
C. In the vehicleIDNumber HTML element, ensure that the AutoPostback attribute is set to “false”.
Include code for the client-side onserverchange event to submit the Web Form for processing by the
server.
D. In the vehicleIDNumber HTML element, ensure that the AutoPostback attribute is set to “true”.
Include code in the TextChanged event handler to query the XML Web service.
Answer: B, D
Explanation:
B: The Page.EnableViewState property value indicates whether the page maintains its view state, and the
view state of any server controls it contains, when the current page request ends.
D: The AutoPostBack property is used to specify whether an automatic postback to the server will occur
whenever the user changes the content of the text box. As we want we want to use an XML Web service
we must set the attribute to true.
Reference:
.NET Framework Class Library, Control.EnableViewState Property [C#]
.NET Framework Class Library, TextBox.AutoPostBack Property [C#]
Incorrect Answers
A: AutoEventWireup is used to automatically associate page events and methods. It does not provide a
solution for this scenario.
C: We are required to use a XML Web service. The AutoPostback attribute must be set to false.
Pass4sure 70-401
Questions and Answers : 117 Q&As Updated: October 8nd , 2008 Price: $129.99 $89.99
Free download:pass4sure Microsoft 70-401
Free download:testking Microsoft 70-401
password:www.certbible.org
High quality IT Certification Training Exam Questions, Study Guides and Practice Tests are in Downloadable PassGuide Testing Engine,Successful for IT Certification or Full Refund for you.Contact Us:Sales@PassGuide.com|
Type |
Exam Bible | New Questions & Answers |
Latest Updated |
Download link |
| All Certbible 's Exam Dumps |
597 |
1 days ago | Available |
PassGuide Training Materials & Practice Tests
About the Author
3 Comments on “Pass4sure Microsoft mcts 70-401 2.93”
Trackbacks
- Testking Microsoft TS 70-401 | Free Latest TK Certification Exams Rapidshare Vce Dumps
- Testinside Microsoft MCTS 70-401 | Free Latest Microsoft Certification Training Exams Braindumps
- Actualtests Microsoft TS 70-401 | Free latest Actualtest Testking Certification Exams training braindumps
Write a Comment
Gravatars are small images that can show your personality. You can get your gravatar for free today!

