多选题You are creating an application that provides information about the local computer.The application contains a form that lists each logical drive along with the drive properties,such as type,volume label,and capacity.You need to write a procedure that r

题目
多选题
You are creating an application that provides information about the local computer.The application contains a form that lists each logical drive along with the drive properties,such as type,volume label,and capacity.You need to write a procedure that retrieves properties of each logical drive on the local computer. What should you do?()
A

Retrieve an instance of the FileSystemInfo class.

B

Retrieve an instance of the DriveInfo class.

C

Retrieve the drive capacity by using the DriveInfo.TotalSize property.

D

Determine if the drive is available by using the FileSystemInfo.Attributes property.

E

Retrieve the drive names of all logical drives on a computer by using the DriveInfo.GetDrives method.

F

Retrieve the drive capacity by using the FileSystemInfo.Attributes property.


相似考题
更多“You are creating an application that provides information ab”相关问题
  • 第1题:

    You are currently in the process of creating an application that reads binary information from a file.You need to ensure that the only the first kilobyte of data is retrieved.What should you do?()

    A.

    B.

    C.

    D.


    参考答案:B

  • 第2题:

    You work as a Web Developer at Certkiller.com. You are in the process of creating a Webapplication using Microsoft ASP.NET 3.5.  You host the Web application in Microsoft Internet Information Services (IIS) 6.0. You browse theapplication and receive the following error message:  Server Application Unavailable  The web application you are attempting to access on this web server is currently unavailable.Please hit the "Refresh" button in your web browser to retry your request.  You view the Application event log and discover the following message:  It is not possible to run two different versions of ASP.NET in the same IIS process. Please use theIIS Administration Tool to reconfigure your server to run the application in a separate process.  To ensure productivity you need to solve this problem as quick as possible.  What should you do?()

    • A、You should change the IIS isolation mode.
    • B、You should assign the application to another application pool.
    • C、You should configure all applications that are part of your application's application pool in orderto use the same version of ASP.NET.
    • D、You should run the Aspnet_regiis.exe Tool.
    • E、You should restart the application pool that hosts the application.

    正确答案:B,C

  • 第3题:

    You work as a database administrator for Certkiller .com. You enabled tracing while creating a listener to your database.  What additional information is available to you when you enable tracing?()

    • A、Information about each Oracle Net connection.
    • B、Information about each entry in theLinstener.orafile
    • C、Information about the changed done in the database
    • D、Information about the different listeners in your system
    • E、Information about all thenondatabasefiles required to operate the database

    正确答案:A

  • 第4题:

    You are designing a Windows Azure web application.   The application will be accessible at a standard cloudapp.net URL.  You need to recommend a DNS resource record type that will allow you to configure access to the application through a custom domain name.  Which type should you recommend?()

    • A、 A
    • B、 CNAME
    • C、 MX
    • D、 SRV

    正确答案:B

  • 第5题:

    Your company has an Active Directory Domain Services (AD DS) domain. You virtualize applications by using Microsoft Application Virtualization (App - V). You are creating an application virtualization package. Which sh ould you use?()

    • A、Microsoft Application Virtualization Sequencer
    • B、Microsoft Application Virtualization Desktop Client
    • C、Microsoft System Center Application Virtualization Streaming Server
    • D、Microsoft System Center Application Virtualization Management Server

    正确答案:A

  • 第6题:

    You are creating a Windows Forms application by using the .NET Framework 3.5 The application is used by a financial service provider.You discover that the service provider transfers large amounts of data by using XML.You need to read and validate the XMLdocuments in the most time efficient manner.Which technology should you use?()

    • A、The XmlReader class
    • B、The XmlDocument class
    • C、The XmlResolver class
    • D、The LINQ to XML method

    正确答案:A

  • 第7题:

    单选题
    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 Company1.dll into the current application domain. Which code segment should you use?()
    A

    A

    B

    B

    C

    C

    D

    D


    正确答案: A
    解析: 暂无解析

  • 第8题:

    单选题
    You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. You plan to use a PresentationTraceSources object when the application is executed by users. When the application is executed in a test environment, all debug information is successfully captured. You need to be able to capture debug information when the application is deployed. What should you do?()
    A

     Enable WPF tracing in the registry.Restart the application.

    B

     Enable tracing by modifying local Group Policy.Restart the application.

    C

     Open the XML configuration file for your application on the user's computer.Set tracing to a verbose level.Restart the application.

    D

     Open the XML configuration file for your application on the user's computer.Add a trace listener.Restart the application.


    正确答案: A
    解析: 暂无解析

  • 第9题:

    单选题
    You are designing a plan to migrate an existing application to Windows Azure. The application currently resides on a server that has 20 GB of hard disk space.  You need to recommend the smallest compute instance size that provides local storage equivalent to that of the existing server.  Which size should you recommend?()
    A

     ExtraSmall

    B

     ExtraLarge

    C

     Small

    D

     Large


    正确答案: A
    解析: 暂无解析

  • 第10题:

    多选题
    You are creating a Windows Forms application by using the .NET Framework 3.5.You plan to deploy the application in multiple countries and languages.You need to ensure that the application meets the globalization requirements. Which two actions should you perform?()
    A

    Handle server names and URLs as ASCII data

    B

    Use Unicode strings throughout the application

    C

    Use the NumberFormatInfo class for numeric formatting

    D

    Handle strings as a series of individual characters instead of entire strings

    E

    Avoid usage of the SortKey class and the CompareInfo class for sorting purposes


    正确答案: D,E
    解析: 暂无解析

  • 第11题:

    单选题
    You are designing a Windows Azure web application.   The application will be accessible at a standard cloudapp.net URL.  You need to recommend a DNS resource record type that will allow you to configure access to the application through a custom domain name.  Which type should you recommend?()
    A

     A

    B

     CNAME

    C

     MX

    D

     SRV


    正确答案: A
    解析: 暂无解析

  • 第12题:

    多选题
    You work as a Web Developer at Certkiller.com. You are in the process of creating a Webapplication using Microsoft ASP.NET 3.5.  You host the Web application in Microsoft Internet Information Services (IIS) 6.0. You browse theapplication and receive the following error message:  Server Application Unavailable  The web application you are attempting to access on this web server is currently unavailable.Please hit the "Refresh" button in your web browser to retry your request.  You view the Application event log and discover the following message:  It is not possible to run two different versions of ASP.NET in the same IIS process. Please use theIIS Administration Tool to reconfigure your server to run the application in a separate process.  To ensure productivity you need to solve this problem as quick as possible.  What should you do?()
    A

    You should change the IIS isolation mode.

    B

    You should assign the application to another application pool.

    C

    You should configure all applications that are part of your application's application pool in orderto use the same version of ASP.NET.

    D

    You should run the Aspnet_regiis.exe Tool.

    E

    You should restart the application pool that hosts the application.


    正确答案: A,D
    解析: 暂无解析

  • 第13题:

    You have recently completely creating a new application for Certkiller .com.This new application has to load an instance of the Inventory class from a large file named Inventory.dat.You need to ensure that the application executes the loading process in as little time as possible.What should you do?()

    A.

    B.

    C.

    D.


    参考答案:C

  • 第14题:

    You are creating a Windows Forms Application by using the .NET Framework 3.5.Your applciation will be used by a government depertment.You need to ensure that the application meets "accessibilty" requirements.Which three actions should you perform?()

    • A、Expose keyboard focus visually and programmatically.
    • B、Use the NeutralResourceLanguageAttribute attribute in the assembly.
    • C、Provide documented keyboard access to all application features.
    • D、Set all the colors to primary colors when the high contrast mode is on.
    • E、Display all user interface elements by using the system color scheme when high contrast mode is off.
    • F、Either display all visual cues or create sound effects for any information.

    正确答案:A,C,E

  • 第15题:

    You are designing a plan to migrate an existing application to Windows Azure. The application currently resides on a server that has 20 GB of hard disk space.  You need to recommend the smallest compute instance size that provides local storage equivalent to that of the existing server.  Which size should you recommend?()

    • A、 ExtraSmall
    • B、 ExtraLarge
    • C、 Small
    • D、 Large

    正确答案:A

  • 第16题:

    You work as a Web Developer at Certkiller.com. You are in the process of creating a Webapplication using Microsoft ASP.NET 3.5.  You need to ensure that the application is able to load staff information from an XML file into aDataSet instance. The XML file contains an inline schema. You have to call a method of theDataSet class in order to load the information.  Identify how you can accomplish this?()

    • A、You should call the ReadXml method with the ReadSchema XML read mode.
    • B、You should call the ReadXml method with the InferTypedSchema XML read mode.
    • C、You should call the ReadXmlSchema method.
    • D、You should call the ReadXml method with the InferSchema XML read mode.

    正确答案:A

  • 第17题:

    You are a desktop administrator for your company. You are responsible for deploying a new application. The application is packaged in an .msi file. You need to deploy the application to only three users in the company. The .msi file contains all of the information necessary to correctly install the application. You need to install the application so that users see information about the installation progress, but no other user interface is displayed during the installation. What should you do?()

    • A、Use the Msiexec.exe program to perform a quiet installation of the application.
    • B、Use the Msiexec.exe program to perform a passive installation of the application. 
    • C、Create a Group Policy object (GPO) that assigns the application. Link the GPO to the site containing the users who will use the application. 
    • D、Create a Group Policy object (GPO) that advertises the application. Link the GPO to the domain. 

    正确答案:B

  • 第18题:

    You are creating an application that provides information about the local computer.The application contains a form that lists each logical drive along with the drive properties,such as type,volume label,and capacity.You need to write a procedure that retrieves properties of each logical drive on the local computer. What should you do?()

    • A、Retrieve an instance of the FileSystemInfo class.
    • B、Retrieve an instance of the DriveInfo class.
    • C、Retrieve the drive capacity by using the DriveInfo.TotalSize property.
    • D、Determine if the drive is available by using the FileSystemInfo.Attributes property.
    • E、Retrieve the drive names of all logical drives on a computer by using the DriveInfo.GetDrives method.
    • F、Retrieve the drive capacity by using the FileSystemInfo.Attributes property.

    正确答案:B,C,E

  • 第19题:

    单选题
    You work as an application developer at Certkiller .com. You are currently in the process of creating a shared assembly.  You are required to perform many integration tests to make sure the assembly works properly with multiple applications. You want to avoid constantly updating each application’s reference when the assembly is updated.  You have set the DEVPATH environmental variable to the default build location for the shared assembly.  You need to ensure that the Common Language Runtime (CLR) uses DEVPATH to locate the shared assembly. What should you do?()
    A

    A

    B

    B

    C

    C

    D

    D


    正确答案: A
    解析: 暂无解析

  • 第20题:

    单选题
    You work as a Web Developer at Certkiller.com. You are in the process of creating a Webapplication using Microsoft ASP.NET 3.5.  You need to ensure that the application is able to load staff information from an XML file into aDataSet instance. The XML file contains an inline schema. You have to call a method of theDataSet class in order to load the information.  Identify how you can accomplish this?()
    A

    You should call the ReadXml method with the ReadSchema XML read mode.

    B

    You should call the ReadXml method with the InferTypedSchema XML read mode.

    C

    You should call the ReadXmlSchema method.

    D

    You should call the ReadXml method with the InferSchema XML read mode.


    正确答案: A
    解析: 暂无解析

  • 第21题:

    单选题
    You are developing a Windows Presentation Foundation (WPF) application. You configure PresentationTraceSource to track errors in a bound TextBox control in the application. You need to choose the window that the Trace information is sent to Which Visual Studio window should you select ?()
    A

     Autos

    B

     Immediate

    C

     Locals

    D

     Output


    正确答案: D
    解析: 暂无解析

  • 第22题:

    多选题
    You work as an ASP.NET Web Application Developer for SomeCompany. The company uses Visual Studio .NET 2010 as its application development platform.  You are creating an ASP.NET Web application using .NET Framework 4.0.  The application holds a Web page named MyHome.aspx.  You are creating a button with a rolloverimage on MyHome.aspx. However, when mouse hovered over the button image, the rolloverimage is retrieved from the server in a separate request. You need to use an improved rollover button in which the button„s rolloverimage is already downloaded and stored in the browser’s cache, as a result when you hover over the button, it is instantly displayed. What will you do to accomplish this?()
    A

    Use JavaScript Object Notation.

    B

    Use the RegisterClientScriptBlock method.

    C

    Use the RegisterClientScriptlnclude method.

    D

    Build a JavaScript function.

    E

    Use the RegisterClientScriptResource method.


    正确答案: A,B
    解析: 暂无解析

  • 第23题:

    单选题
    You are creating an online catalog application that will display product information on the company Web site. The product data is stored in a SQL Server 2005 database. The data is stored as relational data but must be passed to the application as an XML document by using FOR XML. You test your application and notice that not all of the items matching your query appear in the XML document. Only those products that have values for all elements in the schema appear.   You need to modify your Transact-SQL statement so that all products matching your query appear in the XML document. What should you do?()
    A

    Add an XML index to the table that contains the product data.

    B

    Add the XSINIL argument to the ELEMENTS directive in the query.

    C

    Add a HAVING clause to the query.

    D

    Add the replace value of clause to the query.


    正确答案: B
    解析: 暂无解析

  • 第24题:

    单选题
    You work as an application developer at Certkiller .com. You have been given the responsibility of creating a class named CalcSalary that will determine the salaries of Certkiller .com’s staff.The CalcSalary class includes methods to increment and decrement staff salaries.You would like to invoke the IncrementSalary and  DecrementSalary methods dynamically at runtime from the sales manager application when needed. After viewing the information displayed in the exhibit, you decide to use the Salary delegate to invoke these methods.  using System;  public delegate boolSalary (Employee Emp, double Amount); public class CalcSalary {  // for promotions  public static bool IncrementSalary (Employee Emp, double Amount) {  // implementation details }  // for demotions  public static bool DecrementSalary (Employee Emp, double Amount) {  // implementation details }  What code should you use?()
    A

    A

    B

    B

    C

    C

    D

    D


    正确答案: C
    解析: 暂无解析