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

String mystring; Creates a(n)

  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

The CLR uses which format for assembly version numbers?

  1. Major:Minor:Revision:Build

  2. Major:Build:Minor:Revision

  3. Major:Revision:Minor:Build

  4. Major:Minor:Build:Revision


Correct Option: D

AI Explanation

To answer this question, you need to understand the format used by the Common Language Runtime (CLR) for assembly version numbers. Let's go through each option to understand why it is correct or incorrect:

Option A) Major:Minor:Revision:Build - This option is incorrect because it does not match the format used by the CLR for assembly version numbers.

Option B) Major:Build:Minor:Revision - This option is incorrect because it does not match the format used by the CLR for assembly version numbers.

Option C) Major:Revision:Minor:Build - This option is incorrect because it does not match the format used by the CLR for assembly version numbers.

Option D) Major:Minor:Build:Revision - This option is correct because it matches the format used by the CLR for assembly version numbers. The CLR uses the format Major.Minor.Build.Revision, where each component represents a different aspect of the version number.

The correct answer is D. This option is correct because it matches the format used by the CLR for assembly version numbers.

Therefore, the correct answer is option D.

C# language does not support

  1. multiple inheritance

  2. interface

  3. abstract

  4. None of the above


Correct Option: A

Which one is faster? response.redirect or server.transfer

  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

You have been asked to debug a Web-based ASP.NET application. For some reason, the debugging information is not presented. What could be missing?


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

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

If you want to ask the user to select between two or more mutually exclusive options, you would employ which of the following controls?

  1. TabControl

  2. Button

  3. RadioButton

  4. CheckBox


Correct Option: C

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