Upload Button Icon Add office photos
Engaged Employer

i

This company page is being actively managed by Cognizant Team. If you also belong to the team, you can get access from here

Cognizant Verified Tick

Compare button icon Compare button icon Compare
3.8

based on 48.4k Reviews

Proud winner of ABECA 2024 - AmbitionBox Employee Choice Awards

zig zag pattern zig zag pattern

Filter interviews by

Cognizant DOT NET Developer Interview Questions and Answers

Updated 1 Aug 2024

Cognizant DOT NET Developer Interview Experiences

6 interviews found

Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
-
Round 1 - One-on-one 

(2 Questions)

  • Q1. About the SQL server basic question
  • Q2. .net fundamentals
Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
-

I applied via Job Fair

Round 1 - Technical 

(1 Question)

  • Q1. Explain MVC life cycle?
  • Ans. 

    MVC life cycle involves request handling, routing, controller execution, view rendering, and response generation.

    • Request is received by the application

    • Routing determines which controller and action to execute

    • Controller executes the requested action and processes data

    • View is rendered to display the data

    • Response is generated and sent back to the client

  • Answered by AI
Round 2 - HR 

(1 Question)

  • Q1. Salary Discussion

Skills evaluated in this interview

DOT NET Developer Interview Questions Asked at Other Companies

asked in Infosys
Q1. What is the difference between windows application development an ... read more
Q2. What is Trigger,Store procedure, join in sql query and their synt ... read more
Q3. How many ways are there to send data to controller from View?
asked in Nagarro
Q4. Can Two Primary keys can be made possible in Sql Table ?
asked in Infosys
Q5. What kind of database you used in projects
Interview experience
5
Excellent
Difficulty level
-
Process Duration
-
Result
-
Round 1 - One-on-one 

(1 Question)

  • Q1. C# basics, Middleware, Exception handling,JWT token
Interview experience
5
Excellent
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(1 Question)

  • Q1. Oops concept based questions

Cognizant interview questions for designations

 full stack .net developer

 (1)

 Developer

 (6)

 .NET Trainee

 (1)

 Software Developer

 (126)

 Java Developer

 (26)

 Salesforce Developer

 (19)

 Python Developer

 (11)

 Web Developer

 (10)

I applied via Recruitment Consulltant and was interviewed in Jun 2022. There were 2 interview rounds.

Round 1 - Technical 

(1 Question)

  • Q1. SOLID Principal, OOPS Concept
Round 2 - Technical 

(1 Question)

  • Q1. MVC , .Net Core , .Net assembly related.

Interview Preparation Tips

Interview preparation tips for other job seekers - Have knowledge about MVC , .Net basic and oops concept.

I applied via Naukri.com and was interviewed in Nov 2021. There were 3 interview rounds.

Interview Questionnaire 

5 Questions

  • Q1. Design pattern
  • Q2. Solid principle
  • Q3. Button trigger in mvc
  • Ans. 

    Button trigger in MVC allows for user interaction and execution of server-side code.

    • Buttons can be created using HTML helpers in MVC

    • Button click events can be handled using jQuery or JavaScript

    • Server-side code can be executed using AJAX calls or form submissions

  • Answered by AI
  • Q4. Delegate in c sharp
  • Ans. 

    Delegate is a type that represents references to methods with a specific parameter list and return type.

    • Delegates are similar to function pointers in C++.

    • Delegates can be used to pass methods as arguments to other methods.

    • Delegates can be used to define callback methods.

    • Delegates can be chained together using the + or += operator.

    • Delegates can be removed from a chain using the - or -= operator.

  • Answered by AI
  • Q5. Function delegate

Interview Preparation Tips

Interview preparation tips for other job seekers - Please prepare well on technical side

Skills evaluated in this interview

DOT NET Developer Jobs at Cognizant

View all

Interview questions from similar companies

Interview experience
5
Excellent
Difficulty level
Hard
Process Duration
Less than 2 weeks
Result
Not Selected

I applied via Walk-in

Round 1 - Technical 

(2 Questions)

  • Q1. What are the types and number of constraints in your specific context?
  • Ans. 

    There are various types of constraints in DOT NET development, including primary key, foreign key, unique, check, and default constraints.

    • Primary key constraints ensure each record in a table is unique.

    • Foreign key constraints enforce referential integrity between tables.

    • Unique constraints ensure that all values in a column are distinct.

    • Check constraints validate the data before it is inserted or updated.

    • Default constra...

  • Answered by AI
  • Q2. What is the difference between an independent class and an abstract class?
  • Ans. 

    Independent class can be instantiated while abstract class cannot be instantiated directly.

    • Independent class can be directly instantiated using the 'new' keyword.

    • Abstract class cannot be instantiated directly, it can only be used as a base class for other classes.

    • Independent class does not require any derived class to implement its members.

    • Abstract class can have abstract methods that must be implemented by derived cla

  • Answered by AI
Round 2 - Technical 

(1 Question)

  • Q1. Technical coding with the technical team
Round 3 - HR 

(1 Question)

  • Q1. What are your reasons for changing your job?
  • Ans. 

    Seeking new challenges, growth opportunities, and a better work-life balance.

    • Looking for new challenges and opportunities to learn and grow.

    • Seeking a better work-life balance.

    • Interested in working with new technologies or in a different industry.

    • Wanting to advance my career and take on more responsibilities.

    • Company restructuring or changes in management.

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - It's important to prepare thoroughly in order to succeed in the interview.
Interview experience
1
Bad
Difficulty level
Moderate
Process Duration
4-6 weeks
Result
No response

I applied via Naukri.com and was interviewed in Dec 2024. There was 1 interview round.

Round 1 - Technical 

(2 Questions)

  • Q1. What is the repository design pattern?
  • Ans. 

    Repository design pattern is a design pattern that separates the data access logic from the business logic in an application.

    • It helps in achieving separation of concerns by isolating the data access code in a separate layer.

    • It provides a centralized way to access data from various sources such as databases, web services, etc.

    • It makes the codebase more maintainable and testable by abstracting the data access logic.

    • Examp...

  • Answered by AI
  • Q2. What is the difference between IEnumerable and IQueryable?
  • Ans. 

    IEnumerable is used for in-memory collection operations, while IQueryable is used for database query operations.

    • IEnumerable is used for querying data from in-memory collections like arrays, lists, etc.

    • IQueryable is used for querying data from a database using LINQ to SQL or Entity Framework.

    • IEnumerable executes the query in-memory, while IQueryable executes the query on the database server.

    • IEnumerable is suitable for L...

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - I was ghosted after successfully completing all interview rounds and finalizing the salary package.
Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Not Selected

I applied via Company Website and was interviewed in Nov 2024. There were 2 interview rounds.

Round 1 - Technical 

(2 Questions)

  • Q1. How to call abstract constructor
  • Q2. Difference between generic list and list which is faster
Round 2 - Coding Test 

Write prime number code

Interview Preparation Tips

Topics to prepare for Wipro DOT NET Developer interview:
  • C#
Interview experience
3
Average
Difficulty level
Moderate
Process Duration
More than 8 weeks
Result
No response

I applied via Naukri.com and was interviewed in Aug 2024. There was 1 interview round.

Round 1 - One-on-one 

(9 Questions)

  • Q1. What is the extension method
  • Ans. 

    Extension methods allow adding new methods to existing types without modifying the original type

    • Extension methods are static methods that can be called as if they were instance methods of the extended type

    • They are defined in static classes and must be in the same namespace as the extended type

    • They are commonly used to add functionality to existing types or interfaces without modifying them directly

  • Answered by AI
  • Q2. What is difference between union and union all
  • Ans. 

    Union combines and removes duplicates, Union All combines without removing duplicates.

    • Union removes duplicates from the result set, while Union All does not.

    • Union is slower than Union All because it has to perform an additional step to remove duplicates.

    • Union is used when you want to combine two result sets and remove duplicates, while Union All is used when you want to combine two result sets without removing duplicat

  • Answered by AI
  • Q3. What is constructor chaining
  • Ans. 

    Constructor chaining is the process of calling one constructor from another constructor within the same class.

    • Allows for reusing code and avoiding duplication

    • Can be achieved using 'this' keyword in the constructor

    • Example: public MyClass(int x) : this(x, 0) {}

  • Answered by AI
  • Q4. What is CTE and explain
  • Ans. 

    CTE stands for Common Table Expressions, which is a temporary result set that can be referenced within a SELECT, INSERT, UPDATE, or DELETE statement.

    • CTEs are defined using the WITH keyword in SQL.

    • They help improve readability and maintainability of complex queries.

    • CTEs can be recursive, allowing for hierarchical data querying.

    • Example: WITH CTE AS (SELECT * FROM table_name) SELECT * FROM CTE;

    • Example: WITH RECURSIVE CTE ...

  • Answered by AI
  • Q5. What is constructor
  • Ans. 

    A constructor is a special method in a class that is automatically called when an object of that class is created.

    • Constructors have the same name as the class they belong to.

    • They are used to initialize the object's state.

    • Constructors can be parameterized or default (no parameters).

    • Example: public class Person { public Person(string name) { this.Name = name; } }

  • Answered by AI
  • Q6. How to send bulk of data through db
  • Ans. 

    Use bulk insert or batch processing to send large amounts of data through the database.

    • Use bulk insert operations provided by the database management system.

    • Consider using batch processing techniques to optimize performance.

    • Use stored procedures or parameterized queries for efficient data transfer.

  • Answered by AI
  • Q7. Which design pattern do you used in your project
  • Ans. 

    I have used the MVC (Model-View-Controller) design pattern in my project.

    • Separates the application into three main components: Model, View, and Controller

    • Promotes code reusability, modularity, and maintainability

    • Example: ASP.NET MVC framework

  • Answered by AI
  • Q8. What are the characteristics of singleton pattern and how to use
  • Ans. 

    Singleton pattern ensures a class has only one instance and provides a global point of access to it.

    • Characteristics include private constructor, static instance variable, static method to access instance, lazy initialization, and thread safety.

    • Example: public class Singleton { private static Singleton instance; private Singleton() {} public static Singleton getInstance() { if (instance == null) { instance = new Singlet

  • Answered by AI
  • Q9. Write a linq to fetch the data from db table(students) and data (studentid) should be in asending rder
  • Ans. 

    Use LINQ to fetch data from the 'students' table in ascending order of 'studentid'.

    • Use LINQ query syntax or method syntax to retrieve data from the 'students' table.

    • Order the data by 'studentid' in ascending order using the 'OrderBy' or 'OrderByDescending' method.

    • Ensure that the LINQ query is executed against the database to fetch the data.

  • Answered by AI

Skills evaluated in this interview

Cognizant Interview FAQs

How many rounds are there in Cognizant DOT NET Developer interview?
Cognizant interview process usually has 1-2 rounds. The most common rounds in the Cognizant interview process are Technical, One-on-one Round and HR.
How to prepare for Cognizant DOT NET Developer interview?
Go through your CV in detail and study all the technologies mentioned in your CV. Prepare at least two technologies or languages in depth if you are appearing for a technical interview at Cognizant. The most common topics and skills that interviewers at Cognizant expect are .Net, C#, ASP.Net, MVC and SQL.
What are the top questions asked in Cognizant DOT NET Developer interview?

Some of the top questions asked at the Cognizant DOT NET Developer interview -

  1. Button trigger in ...read more
  2. Delegate in c sh...read more
  3. Explain MVC life cyc...read more

Tell us how to improve this page.

Cognizant DOT NET Developer Interview Process

based on 4 interviews

1 Interview rounds

  • Technical Round
View more
Cognizant DOT NET Developer Salary
based on 305 salaries
₹3.5 L/yr - ₹11.6 L/yr
57% more than the average DOT NET Developer Salary in India
View more details

Cognizant DOT NET Developer Reviews and Ratings

based on 21 reviews

3.8/5

Rating in categories

4.0

Skill development

4.0

Work-life balance

3.4

Salary

3.5

Job security

3.8

Company culture

3.2

Promotions

3.7

Work satisfaction

Explore 21 Reviews and Ratings
Cognizant Hiring Dotnet Developers!!!

Hyderabad / Secunderabad,

Chennai

+1

5-10 Yrs

Not Disclosed

FSD DOT NET Developer

Indore

5-9 Yrs

Not Disclosed

Dot Net Developer

Hyderabad / Secunderabad,

Pune

+1

6-10 Yrs

Not Disclosed

Explore more jobs
Associate
72.4k salaries
unlock blur

₹5.1 L/yr - ₹15.9 L/yr

Programmer Analyst
55.5k salaries
unlock blur

₹2.4 L/yr - ₹9.7 L/yr

Senior Associate
48.4k salaries
unlock blur

₹8.9 L/yr - ₹27.1 L/yr

Senior Processing Executive
28.7k salaries
unlock blur

₹1.8 L/yr - ₹9 L/yr

Technical Lead
17.6k salaries
unlock blur

₹5.9 L/yr - ₹24.4 L/yr

Explore more salaries
Compare Cognizant with

TCS

3.7
Compare

Infosys

3.7
Compare

Wipro

3.7
Compare

Accenture

3.9
Compare
Did you find this page helpful?
Yes No
write
Share an Interview