Telco Infotech Previous Years Solved Sample Placement Papers
-
Which SqlCommand execution returns the number of effected records in the table?
A. ExecuteNonQuery
B. ExecuteReader
C. ExecuteXmlReader
D. ExecuteScalar
Ans: A. ExecuteNonQuery -
Which CommandType value is incorrect?
A. StoredProcedure
B. TableDirect
C. TableSchema
D. Text
Ans: C. TableSchema -
Which data provider gives the maximum performance from a connection to SQL Server?
A. The OLE DB data provider.
B. The JDBC data provider.
C. The SqlClient data provider.
D. The Oracle data provider
Ans: C. The SqlClient data provider. -
In a SQL Statement while working with SqlCommand it returns a single value, at that time which method of Command Object will be used?
A. ExecuteNonQuery
B. ExecuteReader
C. ExecuteScalar
D. NonQuery
Ans: C. ExecuteScalar -
You want to secure the connection strings contained within your Web.config file to ensure that no one can open the file easily and see the connection information. Which tool must you use to encrypt the connection strings?
A. ASPNET_WP.EXE
B. ASPNET_REGSQL.EXE
C. ASPNET_REGIIS.EXE
D. ASP.NET SYSTEM
Ans: C. ASPNET_REGIIS.EXE -
What type of data can Cookies store?
A. String
B. DateTime
C. System.Int32
D. Data
Ans: A. String -
From the following which is not a valid state management object?
A. Querystate
B. Cookies
C. Application state
D. Hidden form fields
Ans: A. Querystate -
What are the different types of real data type in C?
A. float, double
B. short int, double, long int
C. float, double, long double
D. double, long int, float
Ans: C -
Which statement will you add in the following program to work it correctly?
#include<stdio.h> int main() { printf("%f\n", lof(36.0)); return 0; }
A. #include<conio.h>
B. #include<math.h>
C. #include<stdlib.h>
D. #include<dos.h>
Ans: B -
What do the following declaration signify?
int *ptr[30];
A. ptr is a pointer to an array of 30 integer pointers.
B. ptr is an array of 30 pointers to integers.
C. ptr is an array of 30 integer pointers.
D. ptr is an array 30 pointers.
Ans: B