0

web technology Online Quiz - 43

Description: web technology Online Quiz - 43
Number of Questions: 20
Created by:
Tags: web technology
Attempted 0/20 Correct 0 Score 0

How do enable output cache for an ASP.Net page?


Correct Option: B

Whats the top .NET class that everything is derived from?

  1. System.Object

  2. System.Page

  3. System.Web

  4. System.Namespace


Correct Option: A

Can you store multiple data types in System.Array?

  1. True

  2. False


Correct Option: B

Is it possible to add object in ViewState in .NET?

  1. Not Possible

  2. Always Possible

  3. Only If object have Serializable feature or have TypeConverter option

  4. Only if object is an String


Correct Option: C

What is the default port for Http?

  1. 8081

  2. 80

  3. 7071

  4. 500


Correct Option: B

How can we maintain the page scroll position after postback?

  1. Set PositionOnPostback as true in Page directive

  2. Set MaintainScrollPositionOnPostback as true in Page directive

  3. Set ViewState as true in Page directive

  4. Not Possible


Correct Option: B

Which of the following Protocols can be used to call a Web Services in Asp.net?

  1. Http-Post

  2. Http-Get

  3. SOAP

  4. All the above


Correct Option: D

How to get last month date from C# code?

  1. DateTime.Now.PreviousMonth;

  2. DateTime.Now.CurrentMonth - 1;

  3. DateTime.Now.AddMonths(-1);

  4. DateTime.Now.AddMonths(1);


Correct Option: C
  1. Data Object Model

  2. Document Object Model

  3. Derived Object Model

  4. None of the above


Correct Option: B
  1. using AliasName = System.Text;

  2. using System.Text AliasName;

  3. Alias System.Text AliasName;

  4. Not Possible


Correct Option: A
  1. Request.ClientAddress

  2. Request.UserHostAddress

  3. Request.IPAddress

  4. Request.Client.IPAddress


Correct Option: B

Only Abstract class, Static class and Sealed class are in .Net

  1. True

  2. False


Correct Option: B

An assembly is the basic unit used by the .NET CLR

  1. True

  2. False


Correct Option: A

DLL and assembly are same

  1. True

  2. False


Correct Option: A

Multiple catch blocks cannot be executed for a single try statement

  1. True

  2. False


Correct Option: A

Which utility has the set commands?

  1. BTEQ

  2. Fastexp

  3. Multiload

  4. Tpump


Correct Option: A

Once ASP.NET automatically parses and compiles the global.asax file into a dynamic .NET Framework class, which base class is extended?

  1. ASPApplication

  2. HttpsApplication

  3. ASPNETApplication

  4. NETApplication

  5. HttpApplication


Correct Option: E

You develop a page expecting a DataGrid to appear upon rendering, but it does not appear when you run the application. What is the likely explanation for the problem in the above scenario?

  1. The DataGrid control is not bound to its DataTable property.

  2. The DataGrid control is not bound to the table Header

  3. The DataGrid control is not bound to its DataSource property.

  4. The DataGrid control is not bound to its DataKeyField property

  5. The DataGrid control is not bound to its DataKeys property.


Correct Option: D
- Hide questions