PrepAway - Latest Free Exam Questions & Answers

Author: seenagape

Which binding expression should you use?

You are developing a Silverlight 4 application. The application contains a TextBlock control that has the DataContext property set to an object. The object exposes a property named Today of the DateTime data type. The Today property returns DateTime.Today. You need to display the string “Today is ” concatenated with the value of Today in the TextBlock control by using only XAML. Which binding expression should you use?

What WSS Site group will Sally be a member of in order to have the Manage Windows SharePoint Team Services per

You are the project manager of the NHQ Project and are configuring your Microsoft Project Server, SharePoint server and the project workspace for your project. One of your team members, Sally, will also be serving as the administrator for the SharePoint Team Services. What WSS Site group will Sally be a member of in order to have the Manage Windows SharePoint Team Services permissions in Project Server?

Which value should you set in the CommandParameter property of the Button control?

You are developing an application by using Silverlight 4 and Microsoft .NET Framework 4. You create a class named SendMessageCommand that implements the ICommand interface.
You bind the SendMessageCommand class as a command for a Button control. You need to ensure t hat the SendMessageCommand class receives the Text property of a TextBox control named txtMessage as a parameter. Which value should you set in the CommandParameter property of the Button control?

What should you do?

You are developing an application by using Silverlight 4 and Microsoft .NET Framework 4. You add a class named CreateOrderCommand in the application. You implement the ICommand interface in the CreateOrderCommand class. You also create a class named CreateOrderVie wModel. You add the following XAML fragment to create a UserControl named CreateOrder. (Line numbers are included for reference only.)
01 <UserControl.Resources>
02 <local:CreateOrderViewModel x:Key=”vm” />
03 </UserControl.Resources>
04
05 <Grid x:Name=”LayoutRoot” DataContext=”{StaticResource vm}” >
06
07 </Grid>
You need to bind the CreateOrderCommand command to a Button control. What should you do?

Which XAML fragment should you insert at line 06?

You are developing an application by using Silverlight 4 and Microsoft .NET Framework 4. You add the following XAML fragment. (Line numbers are included for reference only.)

01 <Grid x:Name=”LayoutRoot”>
02 <Grid.ColumnDefinitions>
03 <ColumnDefinition />
04 <ColumnDefinition />
05 </Grid.ColumnDefinitions>
06
07 </Grid>

You need to add a Button control inside the second column of the Grid control. You also need to set the content and the tooltip of the Button control to Send and Send document, respectively. Which XAML fragment should you insert at line 06?

How can she solve this problem?

You are the Microsoft Project Server administrator for your project. Diane, a project manager, approaches you about her project. She needs help in assigning tasks to resources. Her project has 59 project team members, consisting of twenty general laborers, ten framers, ten electricians, five plumbers, five carpenters, five general contractors, and four tile workers. She wants to create a way to assign a task to these groups of resources rather than individuals within these groups of workers. For example, she has a task in the project to “run CAT6 cable” that any electrician could complete. How can she solve this problem?