Skip to main content

TCS Interview Questions .Net experienced



   TCS Interview Questions .Net experienced


1)How did you implemented classes in your project?
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?
81)How did you implemented interfaces in your project?
82)How did you call javascript from c#?
83)Differences between 1.1 and 2.0 versions of .net?
84)Caching types?
85)Session state modes?
86)what is the connection between IIS and client browser?
87)How do they communicate?
88)which session statemode u used in your current project?why?
89)How did you handle exceptions in sql server?
90)Two methos with same name in parent and inherited classes. If you create
an objct of child which method will be invoked?
91)Garbage colllector how it works in Background? 


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)How do you handle errors in stored procedures?






Comments

Popular posts from this blog

Gemini software Dot net interview question for experienced

Gemini Interview questions 4-8 year experienced Dot net professional Gemini Interview questions 4-8 year experienced Dot net professional 1,Asp .net mvc request life cycle. 2,How routing works 3,Where codes for routing are written 4,What is attribute based routing in aap.net Mvc 5,Is multiple routes possible on a single action method. 6,What is action filters. 7,what is authentication and authorization filters 8,What are the types of authentication 8,What is the use of data annotation 9,Can we fire data annotation in client side. 10,What is model binding 11,what are Html helpers

15 Essential jQuery Interview Questions

15 Essential jQuery Interview Questions 15 Essential jQuery Interview Questions 1,Explain what the following code will do: $( "div#first, div.first, ol#items > [name$='first']" ) Ans:This code performs a query to retrieve any element with the id first, plus all elements with the class first, plus all elements which are children of the element and whose name attribute ends with the string "first". This is an example of using multiple selectors at once. The function will return a jQuery object containing the results of the query. 2,What is wrong with this code, and how can it be fixed to work properly even with buttons that are added later dynamically? // define the click handler for all buttons $( "button" ).bind( "click", function() {     alert( "Button Clicked!" ) }); /* ... some time later ... */ // dynamically add another button to the page $( "html" ).append( " Click...

ASP .Net MVC

ASp .Net MVC 1. Explain MVC (Model-View-Controller) in general? MVC (Model-View-Controller) is an architectural software pattern that basically decouples various components of a web application. By using MVC pattern, we can develop applications that are more flexible to changes without affecting the other components of our application. §    “Model”, is basically domain data. §    “View”, is user interface to render domain data. §    “Controller”, translates user actions into appropriate operations performed on model. 2. What is ASP.NET MVC? ASP.NET MVC is a web development framework from Microsoft that is based on MVC (Model-View-Controller) architectural design pattern. Microsoft has streamlined the development of MVC based applications using ASP.NET MVC framework. 3. Difference between ASP.NET MVC and ASP.NET WebForms? ASP.NET Web Forms uses Page controller pattern approach for rendering layout, whereas ASP.NET MVC uses Front con...