TRG Interview Question for Technical Architects


Country: India
Interview Type: Phone Interview




Comment hidden because of low score. Click to expand.
0
of 0 vote

create mapping respect to employee type. assign the roles to employee type.

- venkat saginatham December 03, 2015 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

In the database design create employee type and specify the roles as needed

- venkat saginatham December 03, 2015 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

The design will have following models
1) Building
- ID
- Name

2) Employee
- ID
- EmployeeType

3) BuildingEmployeeMap
- ID
- BuildingID (refers ID of Building )
- EmployeeID (refers ID of Emloyee )

- Trilok March 07, 2016 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

It will have 3 entities
1) Building
2) Employee
3) BuildingEmployeeMap

- Trilok March 07, 2016 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

It will have 3 entities
1) Building
2) Employee
3) BuildingEmployeeMap

- TSA March 07, 2016 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

It will have 3 entities
1) Building
2) Employee
3) BuildingEmployeeMap

- trilok.arora March 07, 2016 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

namespace SampleArchitectureQuestions
{

public class BuildingA : BuildingB
{
public virtual void BuildA()
{

}

public virtual void CardSwapBuildA()
{
}
}

public class BuildingB: BuildingC
{
public virtual void BuildB()
{
}

public virtual void CardSwapBuildB()
{
}
}

public class BuildingC
{
public virtual void BuildC()
{
}

public virtual void CardSwapBuildC()
{
}

}

public class Permanent: BuildingA
{
public override void BuildA()
{
base.BuildA();
}

public override void BuildB()
{
base.BuildB();
}

public override void BuildC()
{
base.BuildC();
}
}

public class Temporary: BuildingC
{
public override void BuildC()
{
base.BuildC();
}
}

}

- krayknot October 16, 2016 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

namespace SampleArchitectureQuestions
{

public class BuildingA : BuildingB
{
public virtual void BuildA()
{

}

public virtual void CardSwapBuildA()
{
}
}

public class BuildingB: BuildingC
{
public virtual void BuildB()
{
}

public virtual void CardSwapBuildB()
{
}
}

public class BuildingC
{
public virtual void BuildC()
{
}

public virtual void CardSwapBuildC()
{
}

}

public class Permanent: BuildingA
{
public override void BuildA()
{
base.BuildA();
}

public override void BuildB()
{
base.BuildB();
}

public override void BuildC()
{
base.BuildC();
}
}

public class Temporary: BuildingC
{
public override void BuildC()
{
base.BuildC();
}
}

}

- krayknot October 16, 2016 | Flag Reply


Add a Comment
Name:

Writing Code? Surround your code with {{{ and }}} to preserve whitespace.

Books

is a comprehensive book on getting a job at a top tech company, while focuses on dev interviews and does this for PMs.

Learn More

Videos

CareerCup's interview videos give you a real-life look at technical interviews. In these unscripted videos, watch how other candidates handle tough questions and how the interviewer thinks about their performance.

Learn More

Resume Review

Most engineers make critical mistakes on their resumes -- we can fix your resume with our custom resume review service. And, we use fellow engineers as our resume reviewers, so you can be sure that we "get" what you're saying.

Learn More

Mock Interviews

Our Mock Interviews will be conducted "in character" just like a real interview, and can focus on whatever topics you want. All our interviewers have worked for Microsoft, Google or Amazon, you know you'll get a true-to-life experience.

Learn More