Study Guides and Actual Real Exam Questions For Oracle OCP, MCSE, MCSA, CCNA, CompTIA


Advertise

Submit Braindumps

Forum

Tell A Friend

    Contact Us

 Home

 Search

Latest Brain Dumps

 BrainDump List

 Certifications Dumps

 Microsoft

 CompTIA

 Oracle

  Cisco
  CIW
  Novell
  Linux
  Sun
  Certs Notes
  How-Tos & Practices 
  Free Online Demos
  Free Online Quizzes
  Free Study Guides
  Free Online Sims
  Material Submission
  Test Vouchers
  Users Submissions
  Site Links
  Submit Site

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Online Training Demos and Learning Tutorials for Windows XP, 2000, 2003.

 

 

 

 





Braindumps for "HP0-795" Exam

help

 can any one help by hp0-795 dump 



Google
 
Web www.certsbraindumps.com


Braindumps: Dumps for 70-551 Exam Brain Dump

Study Guides and Actual Real Exam Questions For Oracle OCP, MCSE, MCSA, CCNA, CompTIA


Advertise

Submit Braindumps

Forum

Tell A Friend

    Contact Us





Braindumps for "70-551" Exam

UPGRADE: MCAD Skills to MCPD Web Developer by Using the Microsoft .NET Framework

 Question 1.
You work as a Microsoft ASP.NET developer at ITCertKeys.com. ITCertKeys.com uses the Microsoft Visual Studio .NET 2005 as their application development platform. You use a Microsoft Windows XP Professional client computer named ITCertKeys-WS528 as your development computer. Internet Information Services (IIS) is installed on ITCertKeys-WS528. All ASP.NET 1.1 Web applications hosted by IIS on ITCertKeys-WS528 are accessed on port 80.

You are required to develop a new ASP.NET inventory application named ITK_Invtry that will be integrated into ITCertKeys.com's existing e-Commerce Web site. You want to store all source files for the ITK_Invtry application in the C:\Inetpub\wwwroot\ITK_Invtry folder on TESTING-WS528. During development you must be able to access ITK_Invtry at the URL "http://localhost:80/ITK_Invtry". You need to configure the New Web site dialog box in Visual Studio 2005 to meet your requirements.

What should you do?

A. In the Location field, select File System and set the location to http://localhost/ITK_Invtry.
B. In the Location field, select HTTP and set the location to C:\Inetpub\wwwroot\ITK_Invtry.
C. In the Location field, select File System and set the location to C:\Inetpub\wwwroot\ITK_Invtry.
D. In the Location field, select HTTP and set the location to http://localhost/ITK_Invtry.

Answer: D

Explanation: 
When you select HTTP in the location field, Visual Studio 2005 will create and configure a Web application in IIS. The source files will be stored in folder associated with the Web application in IIS. By default this is a folder in C:\Inetpub\wwwroot.

Incorrect Answers:
A, C: When you select File System in the Location field, Visual studio allows you to create the Web application in a specified folder. However, you will not be able to access the application on port 80 as port 80 is used by IIS.
B: When you select HTTP in the location field, you must specify the URL for the project and not the path. The folder path must be configured in IIS.

Question 2.
You work as a Microsoft ASP.NET developer at ITCertKeys.com. ITCertKeys.com uses the Microsoft Visual Studio .NET 2005 as their application development platform. You use a Microsoft Windows XP Professional client computer named ITCertKeys-WS528 as your development computer. Internet Information Services (IIS) is installed on ITCertKeys-WS528. You are developing a page named Process.aspx in a shopping cart Web application that will be integrated into ITCertKeys.com's existing e-Commerce Web site. The Process.aspx page allows customers to pay for purchases using their credit cards. The Process.aspx page contains a Button control that confirms the customer's payment and calls an external Web service that charges the customer's credit card. You must implement confirmation and prevent postback unless the customer confirms payment.

What should you do?

A. Set the OnClientCliIck property to a JavaScript statement.
B. Set the PostBackUrl property to a JavaScript statement.
C. Set the PostBackUrl property to the URL of a confirmation page.
D. Set the OnClientClick property to the URL of a confirmation page.

Answer: A

Explanation: 
The OnClientClick property allows you to override the client script that causes postback to the server. You need to use a JavaScript statement as the default action of the OnClick event of an HTML element is to submit the page. The JavaScript statement that will process the confirmation; if the customer declines the payment, the JavaScript statement will return a false to the control and postback will not occur.

Incorrect Answers:
B: The PostbackUrl property cannot be set to a JavaScript statement. It can only be set to
a URL. If it is set to a URL it will cause postback to that URL.
C: If you set the PostbackUrl property to the URL of a confirmation page as this cause the Button control to postback to the confirmation page. You must prevent postback.
D: You should set the OnClientClick property to a JavaScript statement that will process the confirmation without causing postback.

Question 3.
You work as a Microsoft ASP.NET developer at ITCertKeys.com. ITCertKeys.com uses the Microsoft Visual Studio .NET 2005 as their application development platform. You use a Microsoft Windows XP Professional client computer named ITCertKeys-WS528 as your development computer. Internet Information Services (IIS) is installed on ITCertKeys-WS528. You are developing a product search page named Search.aspx for Web application that will be integrated into ITCertKeys.com's existing e-Commerce Web site. The Search.aspx page allows customers search for products that match specific criteria. The search criteria are implemented as CheckBox controls. The Search button is implemented as a Button control. You want the CheckBox controls to be cleared when the Search button is clicked.
What should you do?

A. Set the Checked property of each CheckBox to False in the designer.
    Set the EnableViewState property of each CheckBox to False in the designer.
B. Set the Checked property of each CheckBox to False in the Page_Load event handler if the 
    Search.aspx page's IsPostback property is True.
    Set the AutoPostback property of each CheckBox to False in the designer.
C. Set the Checked property of each CheckBox to False in the designer.
    Set the Checked property of each CheckBox to False in the event handler for the Search 
    button's Click event.
D. Set the EnableViewState property of each CheckBox to False in the designer. 
    Set the AutoPostback property of each CheckBox to False in the designer.

Answer: C

Explanation:
To ensure that the initial state of the CheckBox controls are clear, you must set the Checked property of each CheckBox to False in the designer. You should then set the Checked property of each CheckBox to False in the event handler for the Search button's Click event to reset the CheckBox controls to their initial state upon the Click event.

Incorrect Answers:
A: You should set the Checked property of each CheckBox to False in the designer to ensure that the initial state of the CheckBox controls are clear. But setting the EnableViewState property will not clear the CheckBox controls. The EnableViewState property determines whether the CheckBox controls should be visible or not.
B: Setting the Checked property of each CheckBox to False in the Page_Load event handler if the Search.aspx page's IsPostback property is True and the AutoPostback property of each CheckBox to False in the designer will clear the CheckBox controls whenever a postback occurs. You want the CheckBox controls to be cleared when the Search Button is clicked, not when a postback occurs.
D: The EnableViewState property determines whether the CheckBox controls should be visible or not. It does not clear the CheckBox controls. The AutoPostback property will clear the CheckBox controls whenever a postback occurs. You want the CheckBox controls to be cleared when the Search Button is clicked, not when a postback occurs.

Question 4.
You work as a Microsoft ASP.NET developer at ITCertKeys.com. ITCertKeys.com uses the Microsoft Visual Studio .NET 2005 as their application development platform. You use a Microsoft Windows XP Professional client computer named ITCertKeys-WS528 as your development computer. Internet Information Services (IIS) is installed on ITCertKeys-WS528. You are developing a product search page named Search.aspx for Web application that will be integrated into ITCertKeys.com's existing e-Commerce Web site. The Search.aspx page allows customers search for products that match specific criteria. Once a product is located, you want an image of the product to be displayed. You want to use an Image control to display the image. You want to configure the Image control to display a description of the image if the image cannot be displayed in the customer's Web browser.

What should you do?

A. Set the ToolTip property of the Image control.
B. Set the ImageUrl property of the Image control.
C. Set the AlternateText property of the Image control.
D. Set the DescriptionUrl property of the Image control.

Answer: C

Explanation: 
The text entered in the AlternateText property is displayed if the image cannot be displayed in the customer's Web browser.

Incorrect Answers:
A: The text entered in the ToolTip property is displayed when the mouse hovers over the image. It is not displayed when the image cannot be displayed in the customer's Web browser.
B: The text entered in the ImageUrl property specified the path to the Image. It does not display a description when the image cannot be displayed in the customer's Web browser.
D: The text entered in the DescriptionUrl property is used when accessibility features are turned on. It does not display a description when the image cannot be displayed in the customer's Web browser.

Question 5.
You work as a Microsoft ASP.NET developer at ITCertKeys.com. ITCertKeys.com uses the Microsoft Visual Studio .NET 2005 as their application development platform. You use a Microsoft Windows XP Professional client computer named ITCertKeys-WS528 as your development computer. Internet Information Services (IIS) is installed on ITCertKeys-WS528. You are developing a navigation application. You add an ImageMap control to a Web page named NYCity.aspx and set its ImageUrl property to the URL of an image that represents the street map of central New York. When a user Clicks on an area that represents a building, you want to display a street address for the building on the same page You want to configure the NYCity.aspx page and the ImageMap control to accomplish this task. 

What should you do? To answer, select the appropriate actions and arrange them in the correct order in the work area.
 

Answer:
 

Explanation:
You need to define a hotspot as a set of polygonal coordinates for each building on the ImageMap. You then need to handle the Click event for the ImageMap to capture user input. The Click event contains an ImageMapEventArgs parameter that contains a PostbackValue property that identifies the polygon. You should then set the PostbackValue to a value that will identify the address that needs to be displayed. 

Incorrect Answers:
Setting the HotSpotMode of either the ImageMap or PolygonHotSpot will treat these controls as hyperlinks but you want the data top be displayed on the same page. Therefore you do not need hyperlinks. You also don't need IPostbackEventHandler and IPostbackDataHandler as these raise server-side events based on client-side events.

Question 6.
You work as a Microsoft ASP.NET developer at ITCertKeys.com. ITCertKeys.com uses the Microsoft Visual Studio .NET 2005 as their application development platform. You use a Microsoft Windows XP Professional client computer named ITCertKeys-WS528 as your development computer. Internet Information Services (IIS) is installed on ITCertKeys-WS528. You are developing a page named Products.aspx in a Web application that contains three DropDownList controls that are dynamically loaded from a SQL Server 2005 database file. The DropDownList controls represent a vendor list, a certification list, and an exam list. ITCertKeys.com customers use the Products.aspx page to select exams related to particular certifications on offer from a particular vendor. A Go button initiates the selection. Each DropDownList control has an associated RequiredFieldValidator control.

Whenever the customer selects a vendor, and the vendor offers certifications, then the customer must also select a certification if the. If the vendor only offers exams and not certifications, the certification list should remain hidden. Whenever the customer selects a certification, the customer must also select an exam. Validation error messages should only be displayed when the Go button is clicked. You need to set properties on the vendor DropDownList control.

What should you do?

A. Set the AutoPostback property to True and the CausesValidation property to False.
B. Set the AutoPostback property to False and the CausesValidation property to True.
C. Set the AutoPostback property to True and the CausesValidation property to True.
D. Set the AutoPostback property to False and the CausesValidation property to False.

Answer: A

Explanation: 
You need to set the AutoPostback property to True so that you can programmatically determine whether or not the certifications DropDownList control should be displayed. By default, validation occurs when a postback takes place. To prevent this, you should set the CausesValidation property to False.

Incorrect Answers:
B: If you set the AutoPostback property to False, you will not be able to determine if the certification DropDownList control should be displayed or not.
C: If you set the CausesValidation property to True then validation will occur when a postback takes place. Validation error messages are displayed whenever validation occurs.
D: If you set the AutoPostback property to False, you will not be able to determine if the certification DropDownList control should be displayed or not as postback will not occur. Validation will also not occur as it occurs when a postback takes place.

Question 7.
You work as a Microsoft ASP.NET developer at ITCertKeys.com. ITCertKeys.com uses the Microsoft Visual Studio .NET 2005 as their application development platform. You use a Microsoft Windows XP Professional client computer named ITCertKeys-WS528 as your development computer. Internet Information Services (IIS) is installed on ITCertKeys-WS528. You are developing a page named Products.aspx in a Web application. You need to allow external vendors to insert product information into the Products.aspx page. You decide to implement this functionality by using a DropDownList control. You add the following code to the Products.aspx page. 
 
You need to ensure that the DropDownList control defaults to [None] and that [None] is the first item in the DropDownList.

What should you do? (Each correct answer presents part of the solution. Choose two.)

A. Set the DataSourceID property of the DropDownList control to "".
B. Add the string "[None]" to the Items property of the DropDownList control.
C. Change the SelectCommand property SqlDataSource control to "SELECT [None], 
    [CategoryID], [CategoryName] FROM [Categories]".
D. Set the AppendDataBopundItems property of the DropDownList control to True.

Answer: B, D

Explanation: 
You must add a static item to the DropDownList in the Items property. You should then set the AppendDataBopundItems property of the DropDownList control to True to prevent DataBound items from overwriting the static item.

Incorrect Answers:
A: You cannot set the DataSourceID property of the DropDownList control to and empty string. This will prevent you from binding data to the DropDownList.
C: The SELECT statement lists database columns from which data must be selected. [None] is not a column in the database and should not be listed in the SELECT statement as it will cause the DataBound operation to return an error.

Question 8.
You work as a Microsoft ASP.NET developer at ITCertKeys.com. ITCertKeys.com uses the Microsoft Visual Studio .NET 2005 as their application development platform. You use a Microsoft Windows XP Professional client computer named ITCertKeys-WS528 as your development computer. Internet Information Services (IIS) is installed on ITCertKeys-WS528. You are developing a chat forum for the ITCertKeys.com Web site. You are using ASP.NET 2.0 to develop the chat forum. You are developing a Web Form that allows a subscriber to alter enter their account details. The page contains the following code snippet. 
 
You need to programmatically hide the TextBox control based on other input.

What should you do?

A. Add a Runat="server" attribute to the TextBox control.
B. Declare _Description as a TextBox in the code-behind class.
C. Replace the 
element with , , and
elements. D. Replace the
element with a Panel server control. Answer: A Explanation: Code-behind processing occurs at the server therefore you need to add the Runat="server" attribute to the TextBox control. Incorrect Answers: B: Controls are automatically declared in the code-behind page in ASP.NET 2.0. Therefore you do not need to declare the control. C, D: The
element does not have a bearing on your ability to use the TextBox control in a code-behind class. Therefore there is no need to change the
element. Question 9. You work as a Microsoft ASP.NET developer at ITCertKeys.com. ITCertKeys.com is a major supplier of Widgets for various affiliate online retail companies. ITCertKeys.com uses the Microsoft Visual Studio .NET 2005 as their application development platform. You use a Microsoft Windows XP Professional client computer named ITCertKeys-WS528 as your development computer. Internet Information Services (IIS) is installed on ITCertKeys-WS528. You are developing a Web application that allows ITCertKeys.com's affiliates to manage their accounts at ITCertKeys.com. Because of the complexity and size of the data, ITCertKeys.com implements a staging environment and a production environment for their affiliates. The URLs staging and a production environments are stored in the section of the Web.config file. The section of the Web.config file is shown in the following exhibit: You write the following code to access the connection string from the current HttpContext object: You need to place the code in the appropriate event handler. What should you do? A. Place the codes in the Application_Start event handler. B. Place the codes in the Session_Start event handler. C. Place the codes in the Application_BeginRequest event handler. D. Place the codes in the Session_End event handler. Answer: C Explanation: Items in the HttpContext object are cleared after each request; therefore you need to repopulate the object after each request using the Application_BeginRequest event handler. Once the object is populated, it can be accessed from any page throughout the request. Incorrect Answers: A: The Application_Start event is raised only when the application starts. However, items in the HttpContext object are cleared after each request; therefore you need to repopulate the object after each request using the Application_BeginRequest event handler. B: The Session_Start event is raised only when the session starts. However, items in the HttpContext object are cleared after each request; therefore you need to repopulate the object after each request using the Application_BeginRequest event handler. D: The Session_End event is raised only when the session ends. However, items in the HttpContext object are cleared after each request; therefore you need to repopulate the object after each request using the Application_BeginRequest event handler. Question 10. You are employed as an application developer at ITCertKeys.com. The ITCertKeys.com network consists of a single Active Directory domain named ITCertKeys.com. You are in the process of redeveloping the ITCertKeys.com Web application. You want to add a TreeView control to a Web Form named cisco.aspx. The following XML defines the site map data for ITCertKeys.com. You need to bind the TreeView control to the site map data so that users can navigate only within the CISCO section. What should you do? (Choose all that apply) A. To achieve this you need to set the StartingNodeUrl property of the SiteMapDataSource control to ~/cisco.aspx. B. You need to add a SiteMapDataSource control to the Web Form and bind the TreeView control to the Web Form. C. You need to ensure that the site map XML is embedded within the AppSettings node of the Web.config file. D. You need to add a SiteMapPath control to the Web Form and bind the TreeView control to the Web Form. E. You need to ensure that the site map XML is embedded within the SiteMap node of the Web.sitemap file. Answer: A, B, E Explanation: The TreeView control should be bound to a SiteMapDataSource. By default the SiteMapDataSource will extract its information from the web.sitemap file. The StartingNodeUrl property of the SiteMapDataSource can be used to restrict the SiteMap to only the marketing pages. Incorrect Answers: C: Putting the site map XML in the web.config file could be done. This will require defining a customer site map provider. This is not the ideal place for site map data. D: The SiteMapPath is not a site map provider which is what the TreeView needs to bind with. A SiteMapPath is a server control that can be used as an alternative to TreeView in order to display a site map in a more compact manner.

Google
 
Web www.certsbraindumps.com


Study Guides and Real Exam Questions For Oracle OCP, MCSE, MCSA, CCNA, CompTIA





              Privacy Policy                   Disclaimer                    Feedback                    Term & Conditions

www.helpline4IT.com

ITCertKeys.com

Copyright © 2004 CertsBraindumps.com Inc. All rights reserved.