当前位置:MCPD(70-562)题库

问题:

[单选]

You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5. 
You write the following code segment to create a JavaScript file named CalculatorScript.js. function divide(a, b) { if (b == 0) { 
var errorMsg = Messages.DivideByZero; alert(errorMsg); 
return null; 

 English 
 Chinese 
 Japan 
 Korean 
 - 72 - Test Information Co., Ltd. All rights reserved. 
} 
return a/b;
} 
You embed the CalculatorScript.js file as a resource in a Class Library project. The namespace for this project is Calculator.Resources. The JavaScript function retrieves messages from a resource file named MessageResources.resx by using the JavaScript Messages object. 
You add an AJAX Web form in the ASP.NET application. You reference the Class Library in the application. You add an ASP.NET AJAX ScriptReference element to the AJAX Web form. 
You need to ensure that the JavaScript function can access the error messages that are defined in the resource file. 
Which code segment should you add in the AssemblyInfo.vb file?()

A . A
B . B
C . C
D . D

你是TestKing网站的电脑管理员,Peter是图像设计部门的用户,他把他所有的文件都放在他的WindowsXP专业版电脑的“我的文档”文件夹里。Peter现在需要在多台电脑上工作来完成工作。Peter需要随时都能访问他的文件。你为Peter安装了一个远程用户配置文件和一个家庭目录,然而,Peter报告说,当他使用远程登陆时,要花费10分钟来登录到电脑上。你要减少Peter远程登陆电脑所花费的时间,你要怎么做呢?() 改变Peter的远程访问配置文件的UNC路径,改到他的家庭目录文件夹下。 在Peter的电脑上以本地管理员的身份登陆,改变远程访问配置文件为本地配置文件。 在Peter的电脑上以本地管理员的身份登陆,编辑本地组策略,使其不包括远程访问配置文件的目录。 在Peter的电脑上以本地管理员的身份登陆,在“我的文档”的属性中,改变文件夹的位置目标为Peter的家庭目录。 某施工企业进行土方开挖工程,按合同约定3月份的计划工作量为2400m3,计划单价是12元/m3;到月底检查时,确认承包商实际完成的工程量为2000m3,实际单价为15元/m3。 则该工程的进度偏差和进度绩效指数分别为()。   0.6万元;0.80。 一0.6万元;0.80。 一0.48万元;0.83。 0.48万元:0.83。 Your network consists of a single Active Directory domain. All servers run Windows Server 2003 Service Pack 2 (SP2).You need to ensure that computers can receive IP configurations from the DHCP server. What should you do?() Add a scope option.。 Add a server option.。 Authorize the DHCP server.。 Reconcile the DHCP scope.。 计算机软件由()和文档组成。 程序、开发平台。 数据、程序。 算法、数据。 系统软件、应用软件。 安全系统工程的研究对象和研究内容是什么?

You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5. 
You write the following code segment to create a JavaScript file named CalculatorScript.js. function divide(a, b) { if (b == 0) { 
var errorMsg = Messages.DivideByZero; alert(errorMsg); 
return null; 

 English 
 Chinese 
 Japan 
 Korean 
 - 72 - Test Information Co., Ltd. All rights reserved. 
} 
return a/b;
} 
You embed the CalculatorScript.js file as a resource in a Class Library project. The namespace for this project is Calculator.Resources. The JavaScript function retrieves messages from a resource file named MessageResources.resx by using the JavaScript Messages object. 
You add an AJAX Web form in the ASP.NET application. You reference the Class Library in the application. You add an ASP.NET AJAX ScriptReference element to the AJAX Web form. 
You need to ensure that the JavaScript function can access the error messages that are defined in the resource file. 
Which code segment should you add in the AssemblyInfo.vb file?()

参考答案:

  参考解析

本题暂无解析

在线 客服