0

web technology Online Quiz - 63

Description: web technology Online Quiz - 63
Number of Questions: 20
Created by:
Tags: web technology
Attempted 0/20 Correct 0 Score 0
  1. Class

  2. Constructor

  3. Object

  4. a and b


Correct Option: C

interfaces represent concrete types that convey implementation details such as fields and method implementations.

  1. True

  2. False


Correct Option: B

Which one of the following keywords causes a compile time error if used in a static method?

  1. this

  2. using

  3. lock

  4. continue


Correct Option: C
  1. Major:Minor:Revision:Build

  2. Major:Build:Minor:Revision

  3. Major:Revision:Minor:Build

  4. Major:Minor:Build:Revision


Correct Option: D
  1. multiple inheritance

  2. interface

  3. abstract

  4. None of the above


Correct Option: A
  1. Server.Transfer

  2. Response.Redirect

  3. All the above

  4. None of the above


Correct Option: A

alternative of multiple inheritance in c#?

  1. Interface

  2. abstract class

  3. static class

  4. All the above


Correct Option: A

What ASP.NET object encapsulates the user’s data as it is sent from a form in a page?

  1. The Session object.

  2. The Application object.

  3. The Response object.

  4. The Request object.


Correct Option: D

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

  1. The Session object.

  2. The Application object.

  3. The Response object.

  4. The Server object


Correct Option: D
  1. The Session object.

  2. The Application object.

  3. The Response object.

  4. The Request object.


Correct Option: A

When working with ASP.NET server controls, it is important to use the right event handlers to capture the event for the application to function properly. What event would you use to capture the selection of a new item in a DropDownList control?

  1. The Click event.

  2. The SelectionChanged event.

  3. The SelectedIndexChanged event.

  4. The ChangedSelection event.


Correct Option: C

What is the use of the WebForm.aspx.cs file?

  1. Holds the HTML code for the form.

  2. Holds the control configuration for the form.

  3. Holds the C# code for the codebehind module.

  4. Holds the C# code that will be translated into HTML on the client.


Correct Option: C
  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 happens if an ASP.NET server control with event-handling routines is missing the runat="server" attribute from its definition?

  1. The control will operate as usual; the default is runat="server"

  2. The control will revert to being a client-side control and function as such.

  3. The control will not function; the default is runat="client".

  4. The compilation of the application will fail.


Correct Option: D
  1. The AutoEventWireup attribute is set to False.

  2. The AutomaticPostBack attribute is set to False.

  3. comThe codebehind module is not properly piled.

  4. The ListBox must be defined WithEvents.


Correct Option: B

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

You need to identify a type that meets the following criteria: ? Is always a number.? Is not greater than 65,535. Which type should you choose?

  1. System.UInt16

  2. int

  3. System.String

  4. System.IntPtr


Correct Option: A
- Hide questions