You work as an application developer at Certkiller .com. Certkiller .com uses an application that calculates monthly payments based upon client input.You are currently debugging this application using the Microsoft Visual Studio 2005 IDE.The application c

题目

You work as an application developer at Certkiller .com. Certkiller .com uses an application that calculates monthly payments based upon client input.You are currently debugging this application using the Microsoft Visual Studio 2005 IDE.The application contains the following code:public double CalculateMonthlyPayment (Single rate, double principal) {//Implementation code}You have discovered that unexpected results are being returned by the application. You would like to pause execution and display a message box containing an error message in the event of a negative or zero rate value is Passed to the CalculateMonthlyPayment method.You need to ensure that this only occurs during debugging mode.What should you do?()

A.

B.

C.

D.


相似考题
参考答案和解析
参考答案:A
更多“You work as an application developer at Certkiller .com. Certkiller .com uses an applicati ”相关问题
  • 第1题:

    Certkiller.COM有两个ActiveDirectory命名CertKiller.com和vervoks.com的森林。公司网络有三个名为Certkiller甲,Certkiller乙,和CertkillerC.DNS服务器,DNS服务器的配置,如图表所示。属于vervoks.com域的所有计算机Certkiller彗星作为首选的DNS服务器配置。所有其他计算机上使用,作为首选的DNS服务器Certkiller。从acme.com域的用户无法连接到服务器,属于Certkiller.com域的。您需要确保在acme.com域的用户都能够解决所有Certkiller.COM查询。来实现这个任务,你应该怎么做呢()

    A.创建一个副本Certkillerc服务器_msdcs.CertKiller.com区。

    B.配置上Certkiller甲和Certkiller乙条件转发,转发vervoks.com查询到Certkillerc。

    C.Certkiller彗星配置条件转发转发CertkillerCOM查询Certkillera。

    D.创建一个Certkiller服务器和Certkillerb服务器上的vervoks.com区域的副本。


    参考答案:C

  • 第2题:

    Certkiller.comhasamainofficeandabranch&ens

    Certkiller.comhasamainofficeandabranchoffice.Certkiller.com’snetworkconsistsofasingleActiveDirectoryforest.SomeoftheserversinthenetworkrunWindowsServer2008andtherestrunWindowsserver2003.

    YouaretheadministratoratCertkiller.com.YouhaveinstalledActiveDirectoryDomainServices(ADDS)onacomputerthatrunsWindowsServer2008.Thebranchofficeislocatedinaphysicallyinsecureplace.IthasnotITpersonnelonsiteandtherearenoadministratorsoverthere.YouneedtosetupaRead-OnlyDomainController(RODC)ontheServerCoreinstallationcomputerinthebranchoffice.WhatshouldyoudotosetupRODConthecomputerinbranchoffice()


    参考答案:B

  • 第3题:

    Certkiller .com has a file server named Certkiller -SR07 that stores old inventory files. Certkiller .com has given you the task of creating an application to archive these old inventory files.The inventory files have to be compressed prior to being uploaded to Certkiller .com‘s Web server.You are currently writing a method that will receive a byte array and compress it into a new file.You need to ensure that a data corruption check takes place during the decompression process.What should you do?()

    A.

    B.

    C.

    D.


    参考答案:D

  • 第4题:

    YouworkastheapplicationdeveloperatCertkiller.com.Certkiller.comusesVisualStudio.NET2005asitsapplicationdevelopmentplatform.Youareintheprocessofstoringnumericalvaluesupto2,100,000,000intoavariableandmayrequirestoringnegativevaluesusinga.NETFramework2.0application.Youarerequiredtooptimizememoryusage.Whatshouldyoudo?()

    A.Int32

    B.UInt16

    C.UInt32

    D.Int16


    参考答案:A

  • 第5题:

    YouareemployedasthesystemadministratoratCertkiller.com.YoumakeuseofMicrosoftASP.NET3.5inordertocreateaWebapplication.YouareintheprocessofcreatingacustomservercontrolnamedTestCircle.TestCircleexistsintheCertkiller.WebControlsnamespace.

    TestCirclecontainsasingleread-writepropertynamedRadiusoftypeDouble.Youdecideto

    implementthecontrolasanAsynchronousJavaScriptaswellasanXML(AJAX)extendercontrolthatwillpermittheRadiuspropertytobesetinclientscript.YouthenimplementthefollowingcodeinanassociatedJavaScriptfile(Thelinenumbersareincludedforreferencepurposes):

    01Type.registerNamespace("Certkiller.WebControls");

    02Certkiller.WebControls.TestCircle=

    19Certkiller.WebControls.TestCircle.registerClass(‘Certkiller.WebControls.TestCircle‘,

    20Sys.UI.Control);

    YouneedtoidentifytheRadiuspropertyintheJavaScriptfile.Youthereforeneedtodeterminethecodesegmentthatshouldbeinsertedatline17.

    Whatshouldyoudo?()


    参考答案:B

  • 第6题:

    Certkiller .com has asked you to create a file management application to monitor the hosts file.Certkiller .com has instructed you to change the hosts file if it has been changed.You, therefore, need to display the size and whether the hosts file is set to read-only.What should you do?()

    A.

    B.

    C.

    D.


    参考答案:A