Where can you find an area code map of the US?
A. On the first page of the telephone book.
B. At the end of the telephone book.
C. In the front of the white pages.
D. Right after the white pages.
第1题:
You are creating a custom user control. The custom user control will be used on 10 Web Forms for an ASP.NET Web site that allows users to register and log on to a personalized experience. The custom user control uses two TextBox controls and two Button controls. You need to ensure that the controls are visible only when users are not logged on to the Web site. You also need to minimize the amount of effort in development and maintenance for the Web site.Which two actions should you perform? ()
A. Add the OnClick event handler for the Login button to the code used in the custom user control.
B. Add the OnClick event handler for the Login button to the code used in the Web Form where the control is added.
C. In the Page_Load method of the Web Form, add a code segment to set the visibility of the TextBox and Button controls where the control is added.
D. In the Page_Load method of the custom user control, add a code segment to set the visibility of the TextBox and Button controls.
第2题:
Passage Two
Telephone books in the United States have white, blue and yellow pages. The white pages list people with phones by last name, the blue pages contain numbers of city services, government agencies and public schools. Businesses and professional (专业的) services are listed in a special section, the yellow pages. To make a long-distance call, you need an area code. Each area in the U. S. has an area code. The area covered by one area code may be small or large. For example, New York City has one area code, but so does the whole state of Oregon. If you want to know the area code of a place, you can look it up in the area code map, which is printed in the front of the white pages.
There are a lot of publlic telephones in the US. They have their own numbers. If you are making a long-distance call on a pubic telephone and run out of money, give the number on you phone to the person you are talking to, then hang up the receiver, and he can call you back. If you make a long-distance call and get a wrong number, call the operator and explain what happened. This means that you can make the call again to the right number without having to pay more money.
36. Where can you find the telephone number of a city council (市议会) in the telephone book?
A. In the blue pages.
B. In the white pages.
C. In the yellow pages.
D. In a special section.
36.答案为A 从第一段the blue pages contain numbers of city services,government agencies可知蓝页中可查到政府机构,因此选A。
第3题:
Where will you find the requirements for the signals that must be sounded by a mobile offshore drilling unit that is being towed through an area of restricted visibility?
A.COLREGS
B.MMS Rules
C.SOLAS Convention
D.Coast Pilot
第4题:
第5题:
A JSP page needs to perform some operations before servicing the first request. Where can this be done?()
第6题:
You are testing an existing ASP.NET page. The page includes a text box. You are able to execute malicious JavaScript code by typing it in the text box and submitting. You need to configure the page to prevent JavaScript code from being submitted by the text box. In the @ Page directive, which attribute should you set to true?()
第7题:
You are developing an ASP.NET Web application. You create a master page. The master page requires a region where you can add page-specific content by using theASP.NET page designer. You need to add a control to the master page to define the region. Which control should you add?()
第8题:
You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5. You create a custom Web user control named SharedControl. The control will be compiled as a library. You write the following code segment for the SharedControl control: 01 protected override void OnInit(EventArgs e) 02 { 03 base.OnInit(e); 04 ► 05 } All the master pages in the ASP.NET application contain the following directive. <%@ Master Language="C#" EnableViewState="false" %> You need to ensure that the state of the SharedControl control can persist on the pages that reference a master page. Which code segment should you insert at line 04?()
第9题:
within a method called jspInit
within the page directive of the JSP page
within a scriptlet at the top of the JSP page
within the
第10题:
<%@ page isThreadSafe=’false’ %>
<%@ implements SingleThreadModel %>
<%! implements SingleThreadModel %>
<%@ page useSingleThreadModel=’true’ %>
<%@ page implements=’SingleThreadModel’ %>
第11题:
第12题:
COLREGS
MMS Rules
SOLAS Convention
Coast Pilot
第13题:
A. Make sure that the network server can be accessed.
B. Check that the authentication for access is set.
C. Assure that the network server has adequate space for the code image.
D. Verify any file naming and path requirements.
E. Make sure that the server can load and run the bootstrap code.
第14题:
Which of the following statement is NOT true?
A. When you run out of money, you can ask your partner to call back.
B. Telephone books in the US have different colors.
C. The state of Oregon has several area codes.
D. An area code is necessary in making a long-distance call.
40.答案为C 从全文可知A、B、D选项是正确的陈述,从第一段可知一个地区只有一个区号,不论该地区是大是小。
第15题:
第16题:
Excuse me, could you help to find my son?()
第17题:
You have created a JSP that includes instance variables and a great deal of scriptlet code. Unfortunately,after extensive load testing, you have discovered several race conditions in your JSP scriptlet code. To fixthese problems would require significant recoding, but you are already behind schedule. Which JSP codesnippet can you use to resolve these concurrency problems?()
第18题:
You are developing a Web application. The Web application restricts access to an administrative page. The Web application uses the following code segment to protect the page.if (Page.User.Identity.Name != @"CONTOSO/Administrator") { the page, you are redirected to Login.aspx. You discover that the User.Identity.Name property is not being correctly populated. You need to ensure that you can access the page when you are logged on as Administrator. Which two actions should you perform? ()
第19题:
You are implementing an ASP.NET page that will retrieve large sets of data from a data source. You add a ListView control and a DataPager control to the page. You need to ensure that the data can be viewed one page at a time. What should you do?()
第20题:
Sydney 2000.com
Beijing 2008.com
Guangzhou 2010.com
London 2012.com
第21题:
第22题:
the EnableEventValidation attribute
the ResponseEncoding attribute
the ValidateRequest attribute
the Strict attribute
第23题:
Move the Products.aspx page to the App_Code folder.
Create a code-behind file for the Products.aspx page.
Rename the Products.aspx page to Products.ascx.
Remove all server controls from the Products.aspx page.
Replace the Page directive with a Control directive.