Software Engineering Mcqs

In ASP.NET in form page the object which contains the user name is ________________?

(A) Page.User.IsInRole

(B) Page.User.Name

(C) Page.User.Identity

(D) None of these

Submitted By: Ali Uppal


Which of the following is faster and consume lesser memory ?

(A) SQLDataReader

(B) Data Set

(C) Both A and B

(D) None of these

Submitted By: Ali Uppal


Which of the following ASP.NET object encapsulates the state of the client ?

(A) Application object

(B) Session object

(C) Server object

(D) Response object

Submitted By: Ali Uppal


File extension used for ASP.NET files ?

(A) .ASP

(B) .Web

(C) .ASPX

(D) None of these

Submitted By: Ali Uppal


Difference between Response.Write() and Response.Output.Write() ?

(A) Response.Output.Write() allows you to write formatted output

(B) Response.Output.Write() allows you to stream output

(C) Response.Output.Write() allows you to buffer output

(D) Respons

(D) Output.Write() allows you to flush output

Submitted By: Ali Uppal


Submitted By: Ali Uppal


What attributes do you use to hide a public .Net class from COM ?

(A) ComVisible attributes

(B) DLLImport Attributes

(C) COM Interop

(D) All of the above

Submitted By: Ali Uppal


When does Garbage collector run ?

(A) It runs random

(B) When application is running for more than 15 minutes

(C) When application is running low of memory

(D) None of these

Submitted By: Ali Uppal


Submitted By: Ali Uppal


We can manage states in asp.net application using_______________?

(A) Session Objects

(B) Application Objects

(C) Viewstate

(D) All of the above

Submitted By: Ali Uppal