You use Microsoft Visual Studio

题目

You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to create a Windows Presentation Framework (WPF) application. You have a company logo that must appear on multiple forms in the application. The logo design changes frequently. You need to ensure that when the logo image is changed, you only need to update a single location. What should you do?()

  • A、 Define the image as a page resource. 
  • B、 Define the image as an application resource.
  • C、 Save the image on a network drive. 
  • D、 Include the image as an embedded resource.
如果没有搜索结果或未解决您的问题,请直接 联系老师 获取答案。
相似问题和答案

第1题:

You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to create an application. The application uses the LINQ ParallelEnumerable. AsParallel method to perform multiple queries on a database. You need to ensure that queries can execute on separate threads concurrently. What should you do? ()

  • A、 Use the AsOrdered method.
  • B、 Use the SelectMany method.
  • C、 Use the AutoBuffered option in the WithMergeOptions method.
  • D、 Use the WithExecutionMode method with the ParallelExecutionMode.ForceParallelism parameter.

正确答案:D

第2题:

You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. You plan to implement a test strategy for the application. You need to ensure that the test strategy meets the following requirements: Test data can be added to the test project without recompiling. Multiple variations of a test can be executed at run time. What should you do? ()

  • A、 Use IntelliTrace.
  • B、 Use data-driven tests.
  • C、 Create a single test class.
  • D、 Create a test method for each data variation.

正确答案:B

第3题:

You are designing a test plan for an existing Windows Azure .NET 4 application.  Method calls return incorrect results for certain input parameters.   You need to recommend an approach for debugging the method calls.  What should you recommend?()  

  • A、 Attach the remote debugger to the application.
  • B、 Use the Microsoft Visual Studio 2010 Test Manager tool.
  • C、 Use IntelliTrace to collect only eventsfrom the application.
  • D、 Use IntelliTrace to collect events and call information from the application.

正确答案:D

第4题:

You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. The application includes a function that is triggered by filling out a form and by clicking a button. Currently, the application is tested manually. You need to create an automated and iterative process to test the application. What should you do?()

  • A、 Use IntelliTrace.
  • B、 Use UISpy.exe to extract the user interface (UI) information. Then, use MSTest.exe.
  • C、 Use classes in the System.Windows.Automation and System.Windows.Automation.Text namespaces.
  • D、 Use the Action Recording methodology to record the user interface (UI) actions. Then, use MSTest.exe.

正确答案:C

第5题:

You work in a company which uses SQL Server 2008. You are the administrator of the company database. Now you are in charge of a SQL Server 2008 instance. A user reports that when he runs a query, it takes a quite long time and it is still unfinished. As the IT support, you have to verify whether the query is blocked.  Which tool should you use? () 

  • A、You should use the Database Engine Tuning Advisor tool 
  • B、You should use the Windows System Monitor tool 
  • C、You should use the Job Activity Monitor tool in Microsoft SQL Server Management Studio 
  • D、You should use the Activity Monitor tool in Microsoft SQL Server Management Studio

正确答案:D

第6题:

You create a Microsoft ASP.NET AJAX application by using the Microsoft .NET Framework version 3.5.  You attach Microsoft Visual Studio 2008 debugger to the Microsoft Internet Explorer instance to debug the JavaScript code in the AJAX application.  You need to ensure that the application displays the details of the client-side object on the debugger console.  What should you do?()

  • A、Use the Sys.Debug.fail method.
  • B、Use the Sys.Debug.trace method.
  • C、Use the Sys.Debug.assert method.
  • D、Use the Sys.Debug.traceDump method.

正确答案:D

第7题:

You create a control named ContosoUI for a Web application. You need to add the control to the toolbox of Microsoft Visual Studio .NET. Which two actions should you perform?()

  • A、Create the ContosoUI control as a Web Control Library.
  • B、Create the ContosoUI control as a Web user control.
  • C、Within the Visual Studio .NET toolbox, browse to and select ContosoUI.ascx.
  • D、Within the Visual Studio .NET toolbox, browse to and select ContosoUI.dll.

正确答案:A,D

第8题:

You create a Microsoft ASP.NET AJAX application by using the Microsoft .NET Frameworkversion 3.5.  You attach Microsoft Visual Studio 2008 debugger to the Microsoft Internet Explorer instance to debug the JavaScript code in the AJAX application.  You need to ensure that the application displays the details of the client-side object on the debugger console.  What should you do?()

  • A、Use the Sys.Debug.fail method. 
  • B、Use the Sys.Debug.trace method. 
  • C、Use the Sys.Debug.assert method. 
  • D、Use the Sys.Debug.traceDump method.

正确答案:D

第9题:

You plan to deploy a new Microsoft Visual Studio Tools for Office(VSTO) add-in for Excel.You need to ensure that the VSTO add-in is deployed appropriately.What should you do?()

  • A、Use the ClickOnce technology.Include the .Net FrameWork 3.5 as a requirement
  • B、Use the Windows Installer deployment.Include a deployment manifest that has been signed by using Authenticode certificate.
  • C、Use the ClickOnce technology.Include the Microsoft Office 2007 Primary Interop assemblies as a prerequisite.
  • D、Use the Windows Installer deployment.Inclued a deployment manifest which specifies that only administrative permission are requied.

正确答案:C

第10题:

You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. You discover that when the application runs, a user control is not rendered correctly. You need to find out the user interface (UI) element of the window that is causing the rendering problem. What should you do?()

  • A、 Use the Local Window.
  • B、 Use the WPF Visualizer.
  • C、 Generate a trace log by using IntelliTrace.
  • D、 Set a breakpoint at the control. Run the application.

正确答案:B

更多相关问题