0
Alien head

programming languages Online Quiz - 170

Description: programming languages Online Quiz - 170
Number of Questions: 20
Created by:
Tags: programming languages
Attempted 0/20 Correct 0 Score 0

After capturing the SelectedIndexChanged event for a ListBox control, you find that the event handler doesn’t execute. What could the problem be ?

  1. The AutoEventWireup attribute is set to False

  2. The AutomaticPostBack attribute is set to False

  3. The codebehind module is not properly compiled

  4. The ListBox must be defined WithEvents


Correct Option: B

What is the Web.config file used for ?

  1. To store the global information and variable definitions for the application

  2. Configures the time that the server-side codebehind module is called

  3. To configure the web server

  4. To configure the web browser


Correct Option: A

What tool is used to manage the GAC ?

  1. GacMgr.exe

  2. GacSvr32.exe

  3. GacUtil.exe

  4. RegSvr.exe


Correct Option: C

What HTML element is the asp:Label control rendered as when the target is Netscape Communicator ?


Correct Option: B

Which is true about ASP.net support ?

  1. ASP.NET doesn't support server-side includes

  2. ASP.NET doesn't support server-side includes but supports server-side object tags

  3. ASP.NET doesn't server-side object tags

  4. ASP.NET support server-side includes and server-side object tags


Correct Option: D

Can two different .net programming languages be mixed in a single ASPX file ?

  1. Yes

  2. No

  3. May be

  4. None of the above


Correct Option: B

Which is not ture about Smartnavigation ?

  1. retain only the last page visited in the browser's history

  2. eliminate any flash caused by navigation

  3. Doesn't work with sites protected with SSL

  4. persist scroll position when moving from page to page


Correct Option: C

You are the developer of a web application that is retrieving historical books information from a database server and displays it to the users of your application. What cache strategy will give you the best performance ?

  1. Use the output cache

  2. Use the cache object

  3. Use the ASP.NET central cache

  4. Use the client cache


Correct Option: A

What is used to validate complex string patterns like an e-mail address ?

  1. Extended expressions

  2. Regular expressions

  3. Irregular expressions

  4. Basic expressions


Correct Option: B

What method must be overridden in a custom control ?

  1. The Paint() method

  2. The Control_Build() method

  3. The Render() method

  4. The default constructor


Correct Option: C

What HTML element is the asp:Label control rendered as when the target is Netscape Communicator ?


Correct Option: B

After capturing the SelectedIndexChanged event for a ListBox control, you find that the event handler doesn’t execute. What could the problem be ?

  1. The AutoEventWireup attribute is set to False

  2. The AutomaticPostBack attribute is set to False

  3. The codebehind module is not properly compiled

  4. The ListBox must be defined WithEvents


Correct Option: B

What is the Web.config file used for ?

  1. To store the global information and variable definitions for the application

  2. Configures the time that the server-side codebehind module is called

  3. To configure the web server

  4. To configure the web browser


Correct Option: A

When an ASP.NET server control is added to a Web Form, Visual Studio .NET adds one item to the class for the form. What item is added ?

  1. The event registration

  2. A protected class member for the control

  3. A default event handler for the click event

  4. A default class that inherits from the control’s base class


Correct Option: C

What method(s) must be used with the Application object to ensure that only one process accesses a variable at a time ?

  1. Synchronize()

  2. Lock() and UnLock()

  3. Lock()

  4. Asynchroize()


Correct Option: B

What ASP.NET object is used to get information about the web servers ?

  1. The Server object

  2. The Application object

  3. The Request object

  4. The Response object


Correct Option: A

What is the file extension used for ASP.NET files ?

  1. .ASP

  2. .ASPX

  3. .Web

  4. None of the above


Correct Option: B

What tool is used to manage the GAC ?

  1. GacMgr.exe

  2. GacSvr32.exe

  3. GacUtil.exe

  4. RegSvr.exe


Correct Option: C

Given an ASP.NET Web Form called WebForm1, what class does the WebForm1 class inherit from by default ?

  1. System.Web.Form

  2. System.Web.GUI.Page

  3. System.Web.UI.Page

  4. System.Web.UI.Form


Correct Option: C

What important standard is used to connect client browsers with web servers ?

  1. HTTP

  2. TCP/IP

  3. ASP.NET

  4. HTML


Correct Option: B
+ View questions