Dotnet interview Question :Capgemini Interview


Dot net interview Question in interview main topics are Dot net framework , CLR(Common language run time ) ,Code access security , object oriented programming concept concepts (oops) ,Sql Query , normalization of tables

Dear Friends

Company name :CapGemini
details :Technical interview phase 1


Q:1.

What is code access Security ?

Q:2.

what is the work of CLR (Common language Run time)?

Q:3.

Tell me about your product and how many tier application it has ?

Q:4.

tell about application domain ?

Q:5.

How Dot net interact with com component ?

Q.6.

what are oops concept ?

Q:7.

what is inheritance ?

Q:8.



class A
function T1()
//msgbox( class A T1 )
end function
End class

class B inherits class A
function T1()
//msgbox( class B T1 )
end function
End class

now what is the output of or which class method t1 is called
A obj=new B
A.T1()


Q:9.

what are delegates how you use it ?

Q:10.

what are normalization ?

Q:11.

what is data reader ?

Q:12.

what is difference between data table copy and clone ?

Q:13.

Suppose 2 Tables A and B , b has one column (FK of A table dentity column) now Firstly i insert data in table A then B how i find what value i insert in table B (How i find identity column value) ?

Q:14.

what are constructor can we create private constructor ?



now i want also tell what answer i put up (please check answer i mention what i give answer)



A1.

code access Security is a way to restrict of resources and operation where we can access or not .

A2.

work of CLR (Common language Run time) are Gar base collection , convert programming code to intermediate language Code(managed code) ,multiple language integration

A3.

Tell me about your product ? how many tier application it has ?
i tell about my export project and it is three tier application .

A:4.

i have no idea about it .

Q:5.

Dot net interact with com component using RCW (Run time scramble wrapper )

Q.6.

oops concept :encapsulations ,inheritance ,abstractions ,polymorphism

Q:7.

inheritance is way to reuse code you just create a base class and this code also use in derived classes .

A:8.


class A
function T1()
//msgbox( class A T1 )
end function
End class

class B inherits class A
function T1()
//msgbox( class B T1 )
end function
End class


A obj=new B
A.T1()

output of or A class method T1 is called because A is native object .(i think wrong one )

A:9.

A delegate is a type references a method. Once a delegate is assigned a method, it behaves exactly like that method.

A:10.

decomposition of one table schema into smaller schema so that no data redundancy , and anomaly can remove .

A:11.

data reader read data sequential and forward method . read one record at a time .

A:12.

between data table copy and clone , in copy copy complete data table data and schema but in clone just copy schema .

A:13.

using Trigger !

A:14.

yes we can create private constructor .


Comments

Author: jagadeeswar21 Mar 2011 Member Level: Silver   Points : 1

Q4)

answer : application domain is the block of memory created for that application when you first execute that application . It contains all the info related to that appllication.

Guest Author: priyanarayan15 Mar 2012

Application domain is a logical concept.It will isolate one application from another.
AppDomains are generally created by Hosts for example Internet Explorer and Asp.net.
AppDomains can also created using the CreateDomain method. AppDomain instances are used to load and execute assemblies (Assembly). When an AppDomain is no longer in use, it can be unloaded.

public class MyAppDomain : MarshalByRefObject
{
public string GetInfo()
{
return AppDomain.CurrentDomain.FriendlyName;
}
}

public class MyApp

{

public static void Main()

{

AppDomain apd = AppDomain.CreateDomain("Rajendrs Domain");

MyAppDomain apdinfo = (MyAppDomain)apd.CreateInstanceAndUnwrap (Assembly.GetCallingAssembly().GetName().Name, "MyAppDomain");

Console.WriteLine("Application Name = " + apdinfo.GetInfo());

}

}



  • Do not include your name, "with regards" etc in the comment. Write detailed comment, relevant to the topic.
  • No HTML formatting and links to other web sites are allowed.
  • This is a strictly moderated site. Absolutely no spam allowed.
  • Name:
    Email: