Software Engineering Mcqs » ASP.net
What is the extension of a web user control file ?

A. .Aspx
B. .Asmx
C. .Ascx
D. None of these

How do we create a FileSystemObject ?

A. Server.CreateObject(“Scripting.FileSystemObject”)
B. Create Object:”Scripting.FileSystemObject”
C. Server.CreateObject(“FileSystemObject”)
D. Create(“FileSystemObject”)

Which one of the following namespaces contains the definition for IdbConnection ?

A. System.Data.Interfaces
B. System.Data.Connection
C. System.Data.Common
D. System.Data

Why is Global.asax is used ?

A. Implement application and session level events
B. Declare Global variables
C. No use
D. All of the above

Which of the following control is used to validate that two fields are equal ?

A. equals() method
B. RegularExpressionValidator
C. RequiredFieldValidator
D. CompareValidator

Which of the following represents the best use of the Table, TableRow, and Table-Cell controls ?

A. To create a customized control that needs to display data in a tabular fashion
B. To create and populate a Table in Design view
C. To create and populate a Table with images
D. To display a tabular result set

By default, ASP.NET store SessionIDs in ___________________?

A. Global variable
B. Cookies
C. Database
D. Database

Which of the following denote ways to manage state in an ASP.Net Application ?

A. Application objects
B. Session objects
C. ViewState
D. All of the above