首页
题库
网课
在线模考
搜标题
搜题干
搜选项
MCPD单项选择题每日一练(2018.12.21)
单项选择题
You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. You plan to create a window that has a layout as shown in the following exhibit. You need to define the code fragment to create the window layout. Which code fragment should you use?()
A.
B.
C.
D.
点击查看答案
单项选择题
您正在创建一个可列出远程计算机上的进程的应用程序。该应用程序需要一个执行以下任务的方法:以名为strComputer 的字符串参数的形式接受远程计算机名称。返回一个包含该计算机上正在运行的所有进程的名称的ArrayList 对象。您需要编写一个代码段,该代码段检索远程计算机上正在运行的每个进程的名称,并将名称添加到ArrayList对象。您应该使用哪个代码段?()
A.
B.
C.
D.
点击查看答案&解析
单项选择题
You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5. You create a Web page named enterName.aspx. The Web page contains a TextBox control named txtName. The Web page cross posts to a page named displayName.aspx that contains a Label control named lblName. You need to ensure that the lblName Label control displays the text that was entered in the txtName English Chinese Japan Korean - 95 - Test Information Co., Ltd. All rights reserved. TextBox control. Which code segment should you use?()
A.A
B.B
C.C
D.D
点击查看答案
单项选择题
You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. You need to ensure that the application meets the following requirements: Displays a menu that is specific to the control selected by the user. Displays the menu next to the control. Which control should you use? ()
A. Menu
B. PopUp
C. ListBox
D. ContextMenu
点击查看答案&解析
单项选择题
You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5. You create a Web form by using ASP.NET AJAX. The Web form contains the following code fragment. (Line numbers are included for reference only.) 01 <script type="text/javascript"> 02 03 Sys.Application.add_init(initComponents); English Chinese Japan Korean - 150 - Test Information Co., Ltd. All rights reserved. 04 05 function initComponents() { 06 07 } 08 09 </script> 10 11 <asp:ScriptManager ID="ScriptManager1" 12 runat="server" /> 13 <asp:TextBox runat="server" ID="TextBox1" /> You need to create and initialize a client behavior named MyCustomBehavior by using the initComponents function. You also need to ensure that MyCustomBehavior is attached to the TextBox1 Textbox control. Which code segment should you insert at line 06? ()
A.A
B.B
C.C
D.D
点击查看答案