(1) Access (2) Code (3) Evidence (4) Permission (5) Principal
Q2: Class SuperList implements an indexer: public string this [int index]; When index is
not within valid range, the indexer should throw:
(1) NotSupportedException (2) IndexOutOfRangeException
(3) InvalidOperationException (4)ArgumentOutOfRangeException
Ans—3,4,3,3
1 . Which one of the following namespaces contains the definition for IdbConnection ?
A. System.Data.Interfaces
B. System.Data.Common
C. System.Data
D. System.Data.Connection
Ans-c
2 . Select the Interface which provides Fast, connected forward-only access to data
A. IdataRecord
B. Idatabase
C. IdataReader
D. Irecorder
Ans-c
A. Using SQLDataAdapter
B. Using SQLDataReader
C. Using SQLCommand
D. None
Ans-a
A. BeginTransaction
B. EndTransaction
C. Execute
D. Open
Ans-b
A. Yes
B. No
Ans-a
D. None
Ans-c
A. No Difference
A. VB
B. JAVA
C. COBOL
A..Asmx
B..Aspx
C..Ascx
D..Resx
Ans-a
A. Public Key
B. Private Key
A. No
B. Yes
Ans-a
15 . What is a diffgram ?
B. 20 mins
C. 2 mins
D. 2 sec
Ans-a
A. Integer
B. String
C. Date
18 . Select the output of the statement < form method=post action="test.aspx" >
B. Transfers all the form data to test.aspx with out HTTP headers
19 . What is the out put of the following code : byte a=200; byte b=100; byte c=a+b; Response.Write
( C );
A. 300
20 . What is the out put of Following code : String a="Hello"; String b="World" ; String c= a+b ;
Response.Write ( "C");
A. Hello world
B. C
C. A+b
C. None
Ans-a
A. Execute
B. Transfer
C. Open
D. HTMLDecode
Ans-c
A. Returns the physical file path that corresponds to virtual specified path
D. None
Ans-a
D. None
Ans-a
A. System.Web.Ui.Forms.Security
B. System.Web.Security
C. System.Web.Configuration
D. System.Web.Services
Ans-b
A. The Prerender
B. Render
C. Page_Load
D. Display
Ans-b