Free Computer Mock Test for Competitive Exams - 1

Question: 1

The interface used by ASP.Net to create Unique Id's?

(A) IAsyncResult

(B) CustomFormatter

(C) System.UI.Naming.Container

(D) AppDomainsetup

Ans: C

System.UI.Naming.Container

Question: 2

Which of the following is not a member of Connection Object?

(A) Open

(B) Execute

(C) End Transaction

(D) Begin Transaction

Ans: B

Execute

Question: 3

What is the purpose of code behind?

(A) To ignore HTML usage

(B) To separate HTML layout and code to different file

(C) To merge HTML layout and code in to one file

(D) To separate different sections of a page in to different files

Ans: B

To separate HTML layout and code to different file

Question: 4

In ASP.NET if one wants to maintain session, then which of the following is used?

(A) Session State Service

(B) Microsoft SQL Server

(C) In-process storage

(D) All of these

Ans: D

All of these

Question: 5

The control used in ASP.NET to display information from data set but with better formatting and editing behavior is

(A) Pane

(B) Button

(C) DataList

(D) None of these

Ans: C

DataList

Related Questions