Tcs 3+ Experienced Dotnet Interview
Answers were Sorted based on User's Feedback
Answer / rakesh
hi
this is rakesh
i faced .net 2+ interview in tcs hyd
i am giving the questions
interview duration is 1 hr
TCS
1) Tell me about u r self?
2) Asp.net page life cycle? Explain briefly?
3) Asp.net page events?
4) How iis recognize that which web application we are
requesting?
5) How iis recognize that web application is developed in
which language?
6) How iis will use authentication?
7) Is it pages will compile in server?
8) In server pages will compile or execute?
9) What is diff between compile and execute?
10) What is appdomain?
11) What is aspnet_issapi.dll?
12) What is aspnet_wp.exe?
13) What is application?
14) What is view state?
15) Why we use view state?
16) What are the validation controls? Explain the use of
validation controls?
17) Validation controls are client side or server side?
18) How to make raise JavaScript at the page is displaying?
(which page event will use eg: page_load) ?
19) What is session?
20) Is it necessary to create session object? (ans :no)
21) What is application object?
22) Diff between session and application object?
23) When application object will create?
24) When session object will create? (ans : when user login)
25) Where u will store connection string?
26) What is appsettings?
27) How can i register my assembly in gac?
28) What is strong name?
29) How to generate strong name?
30) How to register strong name with my class library?
31) Can i register my assembly in gac with out strong name?
32) What is dataset?
33) Diff between dataset and datareder?
34) How can we made changes in database? (ans: da.update())
35) One user changed one record in dataset and updated in
database but at same time another user also changed the same
record in his dataset and try nto update in database so is
the change is accepted in database or rejected? (ans; he
said no)
36) Where dataset will store?
37) What is heap memory?
38) What is stack memory?
39) When heap memory will create?
40) When stack memory will create?
41) If heap memory is full what happens? (how much memory it
extends? Or it uses the stack memory)
42) If stack memory also full what happen?
43) What is constructor?
44) Why we use constructor?
45) What is destructor?
46) Why we use destructor?
47) Garbage collector?
48) What is dispose?
49) What is finalize?
50) How to remove the object reference?(ans : passing null
value)
51) What is final key word? (try catch final)
52) What is autopostback?
53) What is dataview? Usage?
54) What is caching?
55) How to expire my cache? ( ans : using duration in page
directive)
56) Types of caching?
57) If i store cache in server the server will over load
because of cache objects so how can i prevent that? (ans :
using downstream caching eg: net provider serve and local
system cache)
58) What is data cache?
59) How can i get the value from cache?
60) If i want insert record in database tell me the steps?
61) Diff between authentication and authorization?
62) How to authenticate user in asp.net?
63) Types of authorizations?
64) Explain the three types of authorizations?
65) How iis uses the windows authentication?
66) What is forms authentication?
67) What is impersonation?
68) What is default impersonation in asp.net?
69) What is interface?
70) Usage of interface?
71) What is abstract?
72) Interface methods are public and protected? Is it right?
73) What is protected?
74) What is polymorphism?
75) Diff between overloading and overriding?
76) How to restrict my class to inherited?
77) How to restrict my class to create object?
78) What is delegate?
79) What is thread?
80) What are the Ado.net objects?
SQL SERVER
1) What is dts?
2) What is diff between primary key and unique key?
3) How many primary keys we can create in a single table?
4) What is index?
5) Types of index?
6) How many indexes we can create?
7) How many clustered indexes we can create? (ans : 1)
8) How many non clustered indexes we can create? (ans : 246)
9) What is stored procedure? Use?
10) Diff between function and stored procedure?
11) How can we return a value in stored procedure?
12) How can we handle error in stored procedure?
13) Diff between delete and truncate?
14) If i have 10 files and i deleted 10 files and i created
11th file then what is the sequence number of the record?
| Is This Answer Correct ? | 134 Yes | 22 No |
Answer / swapna
Hi These are the questions i Faced
1)Code for updating the database by entering the data into textboxes in
aspx form?
2)How do you handle errors in stored procedures?
TCS Placement Papers | TCS Interview Procedure |
TCS Aptitude Questions | TCS Technical Questions |
TCS Interview Questions
3)How did you implemented classes in your project?
4)How did you implemented interfaces in your project?
5)How did you call javascript from c#?
6)Differences between 1.1 and 2.0 versions of .net?
TCS Placement Papers | TCS Interview Procedure |
TCS Aptitude Questions | TCS Technical Questions |
TCS Interview Questions
7)Caching types?
8)Session state modes?
9)what is the connection between IIS and client browser?
How do they communicate?
10)which session statemode u used in your current project?why?
11)How did you handle exceptions in sql server?
12)Two methos with same name in parent and inherited classes. If you create
an objct of child which method will be invoked?
13)Garbage colllector how it works in Background?
These are the technical questions and some general questions
like tell me about urself?
Education?
working experience? etc etc.
All the best
TCS Placement Papers | TCS Interview Procedure |
TCS Aptitude Questions | TCS Technical Questions |
TCS Interview Questions
| Is This Answer Correct ? | 67 Yes | 11 No |
CA placement papers --------- placement paper
Hexaware placement papers --------- placement paper 1
SNAPDEAL QUESTIONS 1. A train is going at a speed of 60kmph towards Delhi and returned back at a speed of 30kmph. What is its average speed? ANS : (2*30*60)/(30+60) = 40kmph 2. How many different 4 letter words can be framed that have at least one vowel? ANS : 264 - 214 (total no of 4 digits words – no of words with no vowels) 3. Write an algorithm to find out a number from an array of numbers where only one number occurs once and rest all occurs twice. ANS : XOR all the numbers ,you will get the number with single occurrences . 4. Which among the following have the product of the distance between opposite sides of a regular polygon and it side equals one fourth of the area. A. hexagon B. octagon C. n=16 D. n=18 ANS : n=16.(area of regular polygon = apothem*perimeter/2 Apothem = distance between opposite sides/2 Area = (opp_side_dist * n * a )/4 Product of opp_side_dist and side of reg. polygon = opp_side_dist * a For n= 16 the ration becomes 1:4 5. Which of the following cannot be a relation between two variables? ANS = 4th diagram. 6.what will be the output of this program Void print (int n) { If (n>0) { printf(“hello”); print(n-1); } printf(“world”); } ANS : N times hello followed by N+1 times world. 7. Which among the following cannot be used for future prediction? ANS : 4th Diagram. 8. There are 25 horses. We have to find out the fastest 3 horses In one race maximum 5 horses can run. How many such races are required in minimum to get the result. ANS : 7 races (A. first run all horses = 5 races, eliminate 4th 5th of all races. B. Run horses who came 1st in those 5 races = 1 race , the horse coming first is the fastest Run horses a. 2nd and 3rd with the fastest horse (in first time race A) b. 2nd and 3rd coming horse in B. c. The horse who came 2nd with the horse(who came 2nd in race B) in race A You will have the fastest 3 horses.) 9. In a game of rolling dice you are given 2 dice and you have to roll them. Whatever is the outcome the player will win that many dollars. What should the game owner charge each player (optimum) so that he doesn’t have to bear any loss? ANS : $7 10. We have a function REV(“string”,m,n).This function is capable of reversing the caharacters in the string from mth location to nth location. e.g. REV(“abcd”,2,3)  the output will be acbd We need to swap a string from a position,e.g. SWAP(“abcdefg”,4)  output needs to be efgabcd. How can the REV function used do this. ANS : L = string length,N= position given in SWAP function. SWAP(“abcdefg”,4) = REV(REV(REV(“abcdefg”,N+1,L),1,N),1,L).
POLARIS PLACEMENT PAPERS
Caritor placement papers ----------- placement paper 2
Verifone PLACEMENT PAPERS ------ Verifone Placement Paper 3
Placement Paper of Valuelabs On Aug 2006
IBM PLACEMENT PAPERS ------ IBM placement Paper 2
Persistent Interview Questions
US TECHNOLOGY 24th march 2007 at Gandhinagar
BHEL Mechanical Engineering Paper - 11 Feb 2007 - Trichy
ONMOBILE PLACEMENT PAPERS
Software (196882)
Sciences (12521)
Engineering (38019)
Business Management (7371)
Accounting (11552)
Advertising Media (662)
Architecture Design (207)
Call Centre (2482)
Fashion Modelling (332)
Government (17383)
Law (806)
Tourism Hotel (377)
Everything Else (2323)
Military Police (160)
Skills Abilities (0)
Aptitude Questions (4307)
Placement Papers (705)
Certifications (3752)
Visa Interview Questions (2230)
Code Snippets (1098)
Entrance Exams (862)
ERRORS (16636)