Telco Infotech Previous Years Solved Sample Placement Papers
-
What is the name of the Page object’s property that determines if a Web page is being requested without data being submitted to server?
A. IsCallback
B. IsReusable
C. IsValid
D. IsPostBack
Ans: D -
If a user wants to create controls at runtime which event should be used to write code?
A. PreLoad
B. Load
C. Init
D. PreInit
Ans: D -
Which of the following control provides a link for unauthenticated users to log on?
A. Login
B. LoginView
C. LoginStatus
D. LoginName
Ans: C -
Where do we include the user lists for Form authentication?
A. < credential>
B. < authorization>
C. < Identity>
D. < authentication>
Ans: A -
Which of the following function is used to find the first occurrence of a given string in another string?
A. strchr()
B. strrchr()
C. strstr()
D. strnset()
Ans: C -
What will be the output of the program in 16-bit platform (Turbo C under DOS)?
#include
int main() { printf(“%d, %d, %d”, sizeof(3.0f), sizeof(‘3’), sizeof(3.0)); return 0; } A. 8, 1, 4
B. 4, 2, 8
C. 4, 2, 4
D. 10, 3, 4
Ans: B -
Point out the error in the program?
#include
int main() { struct emp { char name[20]; float sal; }; struct emp e[10]; int i; for(i=0; i<=9; i++) scanf(“%s %f”, e[i].name, &e[i].sal); return 0; } A. Error: invalid structure member
B. Error: Floating point formats not linked
C. No error
D. None of above
Ans: B -
To kill a users session explicitly which of the following will you use?
A. Session.Close()
B. Session.End()
C. Session.Abondon()
D. Session.Discard()
Ans: C. Session.Abondon() -
What ASP.NET object encapsulates the state of the client and the browser?
A. Application Object
B. Session Object
C. Response Object
D. Request Object
Ans: B. Session Object -
Default Session data is stored in ASP.Net.
A. StateServer
B. Session Object
C. InProcess
D. Schedule object
Ans: B. Session Object -
If you are using the DataSet and you have to display the data in sorted order what will you do?
A. Use Sort method of DataTable
B. Use Sort method of DataSet
C. Use DataViev object with each sort
D. Use datapaging and sort the data.
Ans: C. Use DataViev object with each sort -
How do you determine the actual SQL data type of a SqlParameter (the type expected by the SQL Server)?
A. It is the .NET Framework data type in your application that the parameter represents.
B. It is the type of column or data in SQL Server that the command expects.
C. It is the type of column in a DataTable that it represents.
D. It is any type defined in the SqlDbDataType enumeration.
Ans: B. It is the type of column or data in SQL Server that the command expects. -
What are the three primary kinds of parameters?
A. Input, Integer, String
B. Integer, String, DateTime
C. int, varchar, nvarchar
D. Input, Output, InputOutput
Ans: D. Input, Output, InputOutput