-
You create a data block based on a relation table containing a REF column. You select the REF column for your form module. Which statement about the REF column is true?()
A . It is created as a nondisplay item.
B . The Lock Record property is set to Yes.
C . It cannot be referenced in item level triggers.
D . It is placed on the canvas with the highest sequence number.
-
You create a multiple form application- Which built-in must you use to invoke the form modules to enable you to programmatically control navigation between the multiple forms in your application?()
A . NEW_FORM
B . OPEN_FORM
C . CALL_FORM
D . CLOSE_FORM
-
You are developing a custom-collection class.You need to create a method in your class. You need to ensure that the method you create in your class returns a type that is compatible with the Foreach statement. Which criterion should the method meet?()
A . The method must return a type of either IEnumerator or IEnumerable.
B . The method must return a type of IComparable.
C . The method must explicitly contain a collection.
D . The method must be the only iterator in the class.
-
You create a Web site that stores users' active themes in user profile objects. You need to apply users' preferred themes when they log on to the Web site. What should you do? ()
A . In the InitComplete event handler, set the Theme property of the Page object based on the user profile.
B . In the PreLoad event handler, set the Theme property of the Page object based on the user profile.
C . In the OnLoad event handler, set the Theme property of the Page object based on the user profile.
D . In the PreInit event handler, set the Theme property of the Page object based on the user profile.
-
You need to create a data block for DML operations in the NEW_EMPLOYEE form module. Which data source can you use for this block?()
A . REF cursor query.
B . Stored function.
C . From clause query.
D . Transactional trigger.
-
You are creating a form that will access an Oracle8 database. On which three sources can you base a data block?()
A . BFILE
B . REF column
C . Object table
D . Column object
E . INSTEAD-OF trigger
-
You are developing a Windows Presentation Foundation (WPF) application.You need to display HTML content from a Web page on the WPF form. What should you do?()
A . Add a FlowDocumentReader control to the design surface. Then create a FlowDocument control.
B . Add a DocumentViewer control to the design surface. Then create a FixedDocument control.
C . Add a WebBrowser control to the design surface. Then use the Navigate method to navigate the URI object.
D . Add a ContentControl control to the design surface. Then reference a WebClient object to return an HTML string.
-
You are developing a Windows Presentation Foundation (WPF) application. You need to display HTML content from a Web Page on the WPF form. What should you do?()
A . Add a FlowDocumentReader control to the design surface. Then create a FlowDocument control.
B . Add a ContentControl control to the design surface. The reference a WebClient object to return an HTML string.
C . Add a DocumentViewer control to the design surface. The create a FixedDocument control.
-
You are developing an ASP.NET Web page that will display the median value from a sequence of integer values. You need to create an extension method to compute the median value. Which interface should you add the extension method to?()
A . IComparer<T>
B . IEnumerable<T>
C . IEnumerator<T>
D . IEqualityComparer<T>
-
You create a Web Form. You need to add controls that use adaptive rendering to display content. The type of content rendered must depend on the device that is requesting the page. What are two possible ways to achieve this goal? ()
A . Add custom controls that emit XHTML to the Web Form.
B . Add custom controls that emit WML to the Web Form.
C . Add mobile controls to the Web Form.
D . Add Web server controls to the Web Form.
-
You create a Web page that contains the span shown in the following line of code. TextYou need replace the contents of the span with HTML that you download from a URL specified by a global variable named localURL. Which code segment should you use?()
A . $.ajax({ type: "GET", url: localURL, dataType: "jsonp", success: function(htmlText { $("#span1").text(htmlText); } });
B . $.ajax( localURL, {}, function(htmlText) { $("#span1").html(htmlText); },"html" );
C . $.ajax({ type: "GET", url: localURL, dataType: "html",success: function(htmlText) { $("#span1").innerHTML = htmlText; }});
D . $.ajax({ type: "GET", url: localURL, success: function(htmlText) { $("#span1").html(htmlText); } })
-
You use Microsoft .Net Framework 4 to create a Windows Form application. You created a new application, you then wrote the code below: Thread.CurrentThread.CurrentUICulture = Thread.CurrentThread.CurrentCulture Which of the following options are TRUE? ()
A . The user interface will make use of the currently configured culture settings in the Control Panel at present.
B . The user interface will make use of new culture settings.
C . The user interface will make use of the culture settings that were installed with the operating system.
-
You want to create a temporary table while executing a procedure in a form. Which statement is true?()
A . You cannot create a table form within Forms.
B . You must use the FORMS_DDL built-in to create the table.
C . You must use the DBMS_DYNAMIC_DDL package to create the table.
D . You can write the CREATE TABLE statement directly into the trigger.
-
You create a Web application. You need to turn on Tracing for a page that is not performing well. You must store the trace information in a database for reporting and trending. Which two actions should you perform? ()
A . Add a TraceContextEventHandler to the Trace.TraceFinished event to add the trace records into the database.
B . Add a system.diagnostics section to the Web.config file. Then add a listener to the new section.
C . Use the System.Diagnostics.Trace object to connect to a database. Then insert the trace records.
D . In the Page_Load for the page, place the Trace.Write call into a SQL INSERT statement.
-
You create a Web Form that contains connected Web Parts. You write the following declaration in your Web Form.You need to ensure that your Web Part connection is valid. Which two actions should you perform? ()
A . Include a data source identified as "WebPartConnection1" on the Web Form.
B . Include a Web Part identified as "customerPart" on the Web Form.
C . Include a Web Part identified as "ordersPart" on the Web Form.
D . Ensure that you declare an interface named "IOrdersPart".
E . Ensure that you declare an interface named "ICustomerPart".
F . Ensure that each Web Part declares either a GetInterface or ProvideInterface method.
-
You created a custom menu for the Order Entry application. Which step do you perform before attaching the menu module to the form module?()
A . Select file-->Administration-->Convert
B . Select file-->Administration-->Execute
C . Select file-->Administration-->Compile File
D . No further step is necessary.&e
-
You are creating a templated Web control for use in your Web application. You need to add the Web control to your Web application pages without compiling your control into a .dll file. What should you do?()
A . Ensure that the Web control inherits from the WebControl class.
B . Ensure that the Web control inherits from the Control class.
C . Ensure that the Web control inherits from the CompositeControl class.
D . Ensure that the Web control inherits from the UserControl class.
-
You create a Web site. The Web site has many predefined roles and associated users that will be used for security purposes. You need to manage these roles and user accounts. Which tool should you use? ()
A . the Microsoft .NET Framework Configuration tool
B . the Code Access Security Policy tool
C . the ASP.NET IIS Registration tool
D . the Web Site Administration Tool
-
You are creating an ASP.NET web application that hosts several Windows Communication Foundation (WCF) services.The services have ASP.NET Compatibility Mode enabled. Users authenticate with the Web application by using a cookie-based ASP.NET Forms Authentication model.You add a service file named Authentication.svc that contains the following code segment:<%@ ServiceHost Service="System.Web.ApplicationServices.AuthenticationService"Factory="System.Web.ApplicationServices.ApplicationServicesHostFactory" %>You need to ensure that users can access the WCF services without having to re-authenticate.Which two configuration settings should you add? (Each is part of a complete solution. Choose two.)()
A. In the system web. Extensions scripting/webServices/authenticationService element, set the enabled attribute to true.
B. In the system web. Extensions scripting/webServices/profileService element, set the enabled attribute to true.
C. Add a service endpoint with basicHttpBinding for the contract System.Web.ApplicationServices.AuthenticationService.
D. Add a custom service behavior named AuthenticationService Type Behaviors with a service AuthenticationManager element that has service AuthenticationManagerType set to System.Web.Security.SQL Membership Provider
-
You are creating a templated Web control for use in your Web application. You need to add the Web control to your Web application pages without compiling your control into a .dll file.What should you do?()
A. Ensure that the Web control inherits from the WebControl class.
B. Ensure that the Web control inherits from the Control class.
C. Ensure that the Web control inherits from the CompositeControl class.
D. Ensure that the Web control inherits from the UserControl class.
-
ExhibitYou create a Web Form for the acceptance of donations. Users type donation amounts by using a TextBox control named txtAmount. The donation amount must be between 10 dollars and 10,000 dollars. You add the following RequiredFieldValidator and RangeValidator. During testing you learn that when users fail to enter values before submitting the Web Form to the server, the message "Please enter a value" appears, as shown in the exhibit. You need to ensure that the message appears immediately following the txtAmount TextBox control without extra spaces. What should you do? ()
<img src='https://img2.soutiyun.com/shangxueba/ask/17130001-17133000/17132517/b1d408f0c34cda4c59770388ef30f279.jpg' />
A. In the RangeValidator, set the Display property to Dynamic.
B. In the RangeValidator, set the Display property to Static.
C. In the RequiredFieldValidator, set the Display property to Dynamic.
D. In the RequiredFieldValidator, set the Display property to Static.
-
You use Microsoft .NET Framework 4 to create a Windows Forms application.You plan to use a Windows Presentation Foundation (WPF) control of the UserControl1 type hosted in anElementHost control named elementHost1.You write the following code segment. (Line numbers are included for reference only.)You need to ensure that the application changes the background color of the hosted control when the background color of the form changes.Which code segment should you insert at line 05?()
<img src='https://img2.soutiyun.com/shangxueba/ask/17130001-17133000/17130030/2d777510fe2f3c75e68a192da66f7ac0.jpg' />
A.elementHost1.PropertyMap.Remove("BackColor");elementHost1.PropertyMap.Add("BackColor", new PropertyTranslator(OnBackColorChange));
B.elementHost1.PropertyMap.Remove("Background"); elementHost1.PropertyMap.Add("Background", new PropertyTranslator(OnBackColorChange));
C.elementHost1.PropertyMap.Add("BackColor", new PropertyTranslator(OnBackColorChange)); elementHost1.PropertyMap.Apply("BackColor");
D.elementHost1.PropertyMap.Add("Background", new PropertyTranslator(OnBackColorChange)); elementHost1.PropertyMap.Apply("Background");
-
You are creating a Web application that will run on an intranet. The Web application reads comma-delimited text files. The text files reside in a subdirectory below the Web application‘s root directory. Users must not be able to navigate directly to these files in a Web browser unless they are members of the Accounting role. You need to write an ASP.NET HTTP handler that will use the FileAuthorizationModule class.Which form of authentication should you use?()
A. Anonymous
B. Certificate
C. Forms
D. Microsoft Windows Integrated Security
-
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.