Professional Documents
Culture Documents
Microsoft 70-502(CSharp)
Q&A Demo
Study Tips
This product will provide you questions and answers carefully compiled and written by our
experts. Try to understand the concepts behind the questions instead of cramming the
questions.
Go through the entire document at least twice so that you make sure that you are not missing
anything.
Latest Version
We are constantly reviewing our products. New material is added and old material is revised.
Free updates are available for 120 days after the purchase. You should check your member
zone at Certkey an update 3-4 days before the scheduled exam date.
Feedback
If you spot a possible improvement then please let us know. We always interested in
improving product quality.
Feedback should be send to feedback@certkey.com. You should include the following:
Exam number, version, page number, question number, and your login ID.
Our experts will answer your mail promptly.
Copyright
Each pdf file contains a unique serial number associated with your particular name and
contact information for security purposes. So if we find out that a particular pdf file is being
distributed by you, FREE IT CERTIFICATIONS SERVICES reserves the right to take legal action
against you according to the International Copyright Laws.
Answer: D
Question: 2
You work as an Application Developer for certkey Inc. The company uses Visual Studio .NET
Framework 3.5 as its application development platform. You have been tasked with creating a
WPF application. You will need to use different layout panel controls on various pages, and
so you will need to select the appropriate controls for each situation. Which of the following
are layout controls in WPF?
Each correct answer represents a complete solution. Choose all that apply.
A. GroupBox
B. Canvas
C. Thumb
D. Frame
E. TabControl
F. StackPanel
G. WrapPanel
H. DockPanel
Answer: A,B,C,F,G,H
Question: 3
You work as an Application Developer for certkey Inc. The company uses Visual Studio .NET
Framework 3.5 as its application development platform. You are making adjustments to a
WPF application. You need to produce the layout shown in the image below:
Answer: A
Question: 4
You work as an Application Developer for certkey. The company uses Visual Studio .NET
Framework3.5 as its application development platform. You are working on a WPF application
named ColorApp that contains a Button control named ClickButton and several other WPF
controls. ClickButton and other Button controls are contained in a Frame. You want to ensure
that whenever a user clicks ClickButton, the background color of the Frame changes to a
different color. What is the best way to accomplish this?
Answer: C
Answer: A,C
Question: 6
You work as an Application Developer for certkey Inc. The company uses Visual Studio .NET
Framework 3.5 as its application development platform. You are working on a WPF
application that uses twelve Button controls displaying zodiac symbolic images on each of the
control to online users. But, you notice that the application becomes very slow at runtime. You
need to ensure that the following requirements are met:
· Each image should cover the button control meant for that image.
· The application should conserve less memory.
· The application starts responding faster.
· The application should conserve the original aspect ratio of each image used for every
button control.
Which of the following actions will you perform to fulfill all the requirements?
Answer: B
Question: 7
You work as an Application Developer for certkey Inc. The company uses Visual Studio .NET
Framework 3.5 as its application development platform. You are working on an existing WPF
application. You are required to alter the appearance of all the Button controls so that they
appear as ellipses. However, you do not want this change to affect any other aspects of the
Button controls (such as their behavior or other properties). Which of the following actions will
you take to accomplish these requirements?
A. Create a custom button that uses the ellipse as a background. Then use this in place of
standard buttons.
B. Create a style for the Button control that defines the background as an ellipse, and apply
that to all the buttons in your application.
C. Create a ControlTemplate for the Button control, and set the background to an ellipse.
Then add the template to your application as a resource.
D. Create a ControlTemplate for the Button control, and set the background to an ellipse.
Then add the template to each page as a resource.
Answer: C
Question: 8
You work as an Application Developer for certkey Inc. The company uses Visual Studio .NET
Framework 3.5 as its application development platform. You are working on a WPF
application and have been assigned to create a custom routed event for the WPF controls in
the application. You decide to implement the bubble routing strategy for creating the routed
event named MyRoutedEvent1. Choose the steps to create a custom routed event in the
correct order.
A.
Answer: A
Question: 9
You work as an Application Developer for certkey. The company uses Visual Studio .NET
Framework 3.5 as its application development platform. You are working on a WPF
application named WeatherApp that displays daily weather forecast of any places of the world.
The application contains a ComboBox, ProgressBar, some Button controls, and several other
WPF controls. If a user types an invalid place name, an error message is displayed
immediately.
You have applied the OneWayToSource directional binding mode in the application. As soon
as a user types or selects a valid place name in the ComboBox and clicks a button, the
ProgressBar shows the exact temperature for that selected place at the current date and time.
You want to determine the timing for setting the updates for the source binding property.
Which of the following members will you consider appropriate for this functionality?
A. Binding.BindsDirectlyToSource property
B. Binding.UpdateSourceTrigger property
C. BindingExpression.UpdateSource method
D. BindingExpression.UpdateTarget method
Answer: B
Question: 10
You work as an Application Developer for certkey Inc. The company uses Visual Studio .NET
Framework 3.5 as its application development platform. You are working on a WPF browser-
hosted application using Visual Studio 2008 for advertising agent companies. You need to
deploy the application under a partial trust security zone. You want to implement the following
tasks for the application:
· Perform edit operation using spell checking options for the formatted text displayed on the
application.
· Create 2-D and 3-D graphics and animations.
· Load audio and visual files.
· Implement bitmap effects.
Which of the above-mentioned tasks are NOT safe to perform under the partial trust
environment?
Each correct answer represents a complete solution. Choose all that apply.
Answer: B,C
Question: 11
You work as an Application Developer for certkey. The company uses Visual Studio .NET
Framework 3.5 as its application development platform. You are responsible for debugging a
new accounting application that was designed using WPF. You use data binding throughout
the application. You write the following XAML code for each text box in the application:
However, beta testers complain that they do not see values in the text boxes that change
either in response to the data source, or in response to calculations based on other text boxes.
What is the most likely cause of this problem?
A. The Binding Path is listed but should also include the source.
B. The Binding Mode should be set only to TwoWay in order to see updates.
C. The Binding Mode should be set to anything other than OneTime.
D. The TextBlock Name and the Binding Path both use the same name.
Answer: C
Question: 12
You work as an Application Developer for certkey Inc. The company uses Visual Studio .NET
Framework 3.5 as its application development platform. You are working on a WPF
application. One requirement is to be able to display documents. Another requirement is that
those documents must also show bold, italic, and underline features. Furthermore, they
should support the Span feature.
Which of the following is the best way to implement these requirements?
Answer: A
Question: 13
You work as an Application Developer for certkey. The company uses Visual Studio .NET
Framework 3.5 as its application development platform. You are working on a WPF
application that displays shopping cart to online users. You need to dynamically change the
appearance and behavior of all Button controls in the application without having to create a
new control for each button. Which of the following features will you use for this requirement?
A. Control templates
B. Styles
C. Data templates
D. Triggers
Answer: D
Question: 14
You work as an Application Developer for certkey. The company uses .NET Framework 3.5
as its application development platform. You need to ensure that the following conditions are
met before creating a WPF application:
Which of the following WPF applications will you create to meet all the above-mentioned
requirements?
Answer: A
Question: 15
You work as an Application Developer for certkey Inc. The company uses Visual Studio .NET
Framework 3.5 as its application development platform. You have developed a WPF
application that uses XAML serialization and saves files via the SaveFileDialog class. You
A. The XCOPY installation will not properly install, and so you need to use a .msi installation.
B. Browser-based applications are not fully trusted and cannot use the SaveFileDialog or
XAML serialization.
C. The client computer has used Internet Explorer 7.0 for the XBAP application.
D. The XCOPY installation process does not register the application with the client; therefore,
the client cannot access system resources.
Answer: B