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

Filter interviews by

Cognizant Full Stack Software Developer Interview Questions and Answers

Updated 16 Oct 2024

27 Interview questions

A Full Stack Software Developer was asked
Q. How do you implement JWT security in Angular?
Ans. 

Jwt security implementation in Angular

  • Install angular-jwt package

  • Create an auth service to handle token storage and retrieval

  • Add an HttpInterceptor to attach the token to outgoing requests

  • Use guards to protect routes based on authentication status

A Full Stack Software Developer was asked
Q. Briefly explain the method you would use to implement an array-based linked list.
Ans. 

An array linked list can be executed using a loop to traverse through the array and access the linked nodes.

  • Create an array to store the linked nodes

  • Assign the first node to the first element of the array

  • Use a loop to traverse through the array and access the linked nodes

  • To access the next node, use the index of the current node as the index of the next node in the array

  • Stop the loop when the last node is reached

Full Stack Software Developer Interview Questions Asked at Other Companies

asked in Synergy
Q1. Oops in Java Patterns in Java JDK,JRE,JVM MVC Array questions str ... read more
asked in UST
Q2. If an application is running slowly, what process would you follo ... read more
asked in Cognizant
Q3. Briefly explain the method you would use to implement an array-ba ... read more
asked in Cognizant
Q4. What is the difference between a primary key, foreign key, candid ... read more
asked in Cognizant
Q5. What are streams in C++? What are predefined streams in C++?
A Full Stack Software Developer was asked
Q. What are character constants in C++?
Ans. 

Character constants are fixed values represented by a single character in C++.

  • They are enclosed in single quotes (' ')

  • Examples include 'a', 'B', '5', '$'

  • They are also known as character literals

A Full Stack Software Developer was asked
Q. Define the terms OSI, TCP, and IP.
Ans. 

OSI, TCP & IP are networking protocols used for communication between devices on a network.

  • OSI (Open Systems Interconnection) is a conceptual model that defines how data is transmitted over a network.

  • TCP (Transmission Control Protocol) is a protocol that ensures reliable transmission of data between devices.

  • IP (Internet Protocol) is a protocol that handles the addressing and routing of data packets between devices...

What people are saying about Cognizant

View All
armycarat
Verified Icon
3d
works at
Cognizant
Cognizant Notice Period: Need hacks to cut it short!
Hey everyone! 👋 I joined Cognizant in July 2021 and I'm a billable resource. My notice period is showing as 90 days, BUT my offer letter doesn't mention any notice period at all 🤨 I’m planning to resign soon and want to reduce the notice period to 60 days. I’m open to buyout or leave encashment. For those who've been through this: * Who should I approach first — manager or HR? * What worked for you? * Any tricks to speed up the release? Really need some guidance from anyone who’s navigated this 🙏
Got a question about Cognizant?
Ask anonymously on communities.
A Full Stack Software Developer was asked
Q. What is "top-n analysis" in DBMS?
Ans. 

Top-n analysis is a technique used in DBMS to retrieve the top n records based on a specific criteria.

  • Used to retrieve top n records

  • Based on specific criteria

  • Commonly used in data analysis and reporting

A Full Stack Software Developer was asked
Q. Why is DML provided?
Ans. 

DML is provided to manipulate data in a database.

  • DML stands for Data Manipulation Language.

  • It is used to insert, update, delete, and retrieve data from a database.

  • DML commands include INSERT, UPDATE, DELETE, and SELECT.

  • DML is essential for managing and maintaining data in a database.

Cognizant HR Interview Questions

684 questions and answers

Q. Are you willing to work flexible hours?
Q. Tell me about a time you faced a challenge at work and how you handled it.
Q. What are you looking for in a new position?
A Full Stack Software Developer was asked
Q. Where are indexes generally created?
Ans. 

INDEX is generally created on columns that are frequently used in WHERE, JOIN, and ORDER BY clauses.

  • INDEX improves the performance of SELECT queries.

  • INDEX should be created on columns with high selectivity.

  • INDEX should not be created on columns with low selectivity.

  • Examples of columns to create INDEX on are primary keys, foreign keys, and columns used in search queries.

Are these interview questions helpful?
A Full Stack Software Developer was asked
Q. What is the object-oriented model?
Ans. 

Object oriented model is a programming paradigm that uses objects to represent real-world entities.

  • Objects have properties and methods that define their behavior

  • Encapsulation, inheritance, and polymorphism are key concepts in OOP

  • Examples of OOP languages include Java, C++, and Python

A Full Stack Software Developer was asked
Q. Can you tell us something about scope rules in C++?
Ans. 

Scope rules in C++ determine the visibility and accessibility of variables and functions within a program.

  • Variables declared within a block have local scope and are only accessible within that block.

  • Global variables have file scope and can be accessed from any function within the file.

  • Function parameters have function scope and are only accessible within that function.

  • Nested blocks can have their own scope, and va...

A Full Stack Software Developer was asked
Q. What are reference variables and how are they defined in C++?
Ans. 

Reference variables in C++ are aliases for other variables, allowing direct access and manipulation of the original data.

  • Reference variables are declared using an ampersand (&) symbol.

  • They must be initialized when declared and cannot be reassigned to refer to a different variable.

  • Changes made to a reference variable affect the original variable it refers to.

  • They are commonly used to pass variables by reference to ...

Cognizant Full Stack Software Developer Interview Experiences

5 interviews found

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

I applied via Naukri.com and was interviewed in Apr 2024. There were 2 interview rounds.

Round 1 - Coding Test 

Was easy. hashmap array question

Round 2 - Aptitude Test 

Easy apti questions.

I applied via Naukri.com and was interviewed in Oct 2022. There were 4 interview rounds.

Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Keep your resume crisp and to the point. A recruiter looks at your resume for an average of 6 seconds, make sure to leave the best impression.
View all tips
Round 2 - Coding Test 

Because it's so easy And because of that I have prepared for it

Round 3 - Aptitude Test 

Because it's so easy and become of that I have prepared for it

Round 4 - HR 

(7 Questions)

  • Q1. Because it's so easy and become of that I have prepared for it
  • Q2. Your self.how to prepare on this exam
  • Q3. What are your strengths? How do you think they will be an advantage for this position?
  • Q4. Do you have good time management skills? Tell me how you use them on a typical day.
  • Q5. Do you have any hobbies? What are the things you enjoy doing the most?
  • Q6. What do you consider to be a good work ethic?
  • Q7. Would you call yourself a team player?

Interview Preparation Tips

Topics to prepare for Cognizant Full Stack Software Developer interview:
  • Ideas
  • Project Management
  • Software Testing
Interview preparation tips for other job seekers - Hard working person,and intelligent for solving problems

I applied via Naukri.com and was interviewed in Jul 2022. There were 2 interview rounds.

Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Keep your resume crisp and to the point. A recruiter looks at your resume for an average of 6 seconds, make sure to leave the best impression.
View all tips
Round 2 - Technical 

(3 Questions)

  • Q1. Diff. Between promise and observable
  • Q2. Lifecycle hooks in angular
  • Ans. 

    Angular lifecycle hooks are methods that get called at specific stages of a component's lifecycle.

    • ngOnInit() - called after the component is initialized

    • ngOnChanges() - called when the component's input properties change

    • ngOnDestroy() - called just before the component is destroyed

    • ngAfterViewInit() - called after the component's view has been initialized

    • ngAfterContentInit() - called after the component's content has been...

  • Answered by AI
  • Q3. Jwt security implementation in angular
  • Ans. 

    Jwt security implementation in Angular

    • Install angular-jwt package

    • Create an auth service to handle token storage and retrieval

    • Add an HttpInterceptor to attach the token to outgoing requests

    • Use guards to protect routes based on authentication status

  • Answered by AI

Interview Preparation Tips

Topics to prepare for Cognizant Full Stack Software Developer interview:
  • Angular
  • Java
  • MySQL
Interview preparation tips for other job seekers - Yes , it was quite easy but not selected

Skills evaluated in this interview

I applied via Walk-in and was interviewed in Nov 2020. There were 5 interview rounds.

Interview Questionnaire 

25 Questions

  • Q1. Briefly explain the method you will use to execute an array linked list?
  • Q2. What are character constants in C++?
  • Q3. Define the terms OSI, TCP & IP.
  • Q4. What are streams in C++? What are predefined streams in C++?
  • Ans. 

    Streams in C++ are used for input and output operations. Predefined streams in C++ include cin, cout, cerr, and clog.

    • Streams in C++ are objects that allow reading from or writing to external sources or destinations.

    • cin is the standard input stream used for reading input from the user.

    • cout is the standard output stream used for printing output to the console.

    • cerr is the standard error stream used for printing error mess...

  • Answered by AI
  • Q5. Define RDBMS.
  • Q6. What do you mean by normalisation?
  • Q7. Where do we generally create INDEX?
  • Q8. What is object oriented model?
  • Ans. 

    Object oriented model is a programming paradigm that uses objects to represent real-world entities.

    • Objects have properties and methods that define their behavior

    • Encapsulation, inheritance, and polymorphism are key concepts in OOP

    • Examples of OOP languages include Java, C++, and Python

  • Answered by AI
  • Q9. What is the "top-n analysis" in DBMS?
  • Q10. Why is DML provided?
  • Q11. What are reference variables and how is it defined in C++?
  • Q12. Differentiate RDBMS and DBMS.
  • Q13. What are the various forms of normalisation?
  • Ans. 

    Normalization is a process of organizing data in a database to eliminate redundancy and improve data integrity.

    • First Normal Form (1NF) - Eliminate duplicate data by separating them into multiple tables.

    • Second Normal Form (2NF) - Remove partial dependencies by creating separate tables for sets of attributes.

    • Third Normal Form (3NF) - Eliminate transitive dependencies by creating separate tables for related attributes.

    • Boy...

  • Answered by AI
  • Q14. Can you tell us something about scope rules in C++?
  • Ans. 

    Scope rules in C++ determine the visibility and accessibility of variables and functions within a program.

    • Variables declared within a block have local scope and are only accessible within that block.

    • Global variables have file scope and can be accessed from any function within the file.

    • Function parameters have function scope and are only accessible within that function.

    • Nested blocks can have their own scope, and variabl...

  • Answered by AI
  • Q15. Do you think BCNF is better than 2NF & 3NF? Why?
  • Ans. 

    BCNF is not necessarily better than 2NF & 3NF, it depends on the specific requirements of the database.

    • BCNF is the highest normal form and ensures that there are no non-trivial functional dependencies between any subset of candidate keys.

    • 2NF and 3NF are also important and should be used when appropriate.

    • For example, if a database has a composite primary key and non-key attributes that depend on only one part of the key...

  • Answered by AI
  • Q16. What is Operating System?
  • Ans. 

    An operating system is a software that manages computer hardware and software resources.

    • It acts as an interface between the user and the computer hardware.

    • It provides services to applications and manages system resources.

    • Examples include Windows, macOS, Linux, Android, and iOS.

  • Answered by AI
  • Q17. Differentiate exclusive lock and shared lock.
  • Ans. 

    Exclusive lock is used when a resource is being modified and prevents other processes from accessing it. Shared lock allows multiple processes to read a resource simultaneously.

    • Exclusive lock is used for write operations, while shared lock is used for read operations.

    • Exclusive lock blocks other processes from acquiring both exclusive and shared locks on the same resource.

    • Shared lock allows multiple processes to acquire...

  • Answered by AI
  • Q18. What is difference between rand() and srand()?
  • Ans. 

    rand() generates a random number, srand() seeds the random number generator.

    • rand() generates a pseudo-random number between 0 and RAND_MAX

    • srand() sets the seed for the random number generator used by rand()

    • srand() should be called before rand() to ensure different sequences of random numbers

    • Example: srand(time(NULL)) sets the seed to the current time, ensuring a different sequence each time the program is run

  • Answered by AI
  • Q19. Define subquery.
  • Q20. Explain these terms - Linked List, Stack, Queue.
  • Ans. 

    Linked List is a linear data structure. Stack and Queue are abstract data types.

    • Linked List: A collection of nodes where each node points to the next node.

    • Stack: A data structure where elements are added and removed from the top only.

    • Queue: A data structure where elements are added at the rear and removed from the front only.

    • Example: Browser history can be implemented using a Linked List.

    • Example: Undo/Redo functionalit...

  • Answered by AI
  • Q21. Define triggers. Give its applications.
  • Q22. What is the difference between a "semaphore" and a "monitor"?
  • Ans. 

    Semaphore and monitor are synchronization tools used in concurrent programming.

    • Semaphore is a signaling mechanism that allows multiple threads to access a shared resource simultaneously.

    • Monitor is a synchronization construct that allows threads to have both mutual exclusion and the ability to wait (block) for a certain condition to become true.

    • Semaphore is a lower-level primitive, while monitor is a higher-level abstra...

  • Answered by AI
  • Q23. Discuss transparent DBMS.
  • Ans. 

    Transparent DBMS allows users to see and control the underlying database operations.

    • Transparent DBMS provides visibility into the database operations and allows users to monitor and control them.

    • It enables users to see how data is being stored, accessed, and manipulated in real-time.

    • Examples include Oracle Transparent Data Encryption and Microsoft SQL Server Transparent Data Encryption.

    • Transparent DBMS can improve secu...

  • Answered by AI
  • Q24. What is RDBMS KERNEL?
  • Ans. 

    RDBMS KERNEL is not a commonly used term in the industry.

    • There is no widely accepted definition of RDBMS KERNEL.

    • It may refer to the core components of a relational database management system.

    • It could also be a term used by a specific company or product.

    • Without more context, it is difficult to provide a specific answer.

  • Answered by AI
  • Q25. What is the difference between primary key, foreign key, candidate key & super key?

Interview Preparation Tips

Interview preparation tips for other job seekers - Re-examine and Apply your Past Experience to the IT Industry.
Get Industry Certifications.
Your Degree in Another Field May Be a Huge Asset.
Be Open to Starting at the Bottom.
Don't Forget the Power of Networking.
Teach Yourself Relevant Tech Skills.
Look for Crossover Positions.
Network with the Right People.
Find the Right Internship.
Create an Effective Resume.

Skills evaluated in this interview

I applied via Recruitment Consultant and was interviewed in May 2021. There was 1 interview round.

Interview Questionnaire 

1 Question

  • Q1. Abstract class vs interface, cte vs temp table, dependency injection , delete and truncate, action filters , primary , unique key , foreign key , oops concepts.

Interview Preparation Tips

Interview preparation tips for other job seekers - It is easy process.

Interview questions from similar companies

Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
2-4 weeks
Result
Not Selected

I applied via Naukri.com and was interviewed in Jul 2023. There were 4 interview rounds.

Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Keep your resume crisp and to the point. A recruiter looks at your resume for an average of 6 seconds, make sure to leave the best impression.
View all tips
Round 2 - Aptitude Test 

Quantitive aptitude, reasoning

Round 3 - HR 

(3 Questions)

  • Q1. Tell me about yourself
  • Q2. What is your weakness and strength?
  • Q3. Why should I hire you
Round 4 - Technical 

(1 Question)

  • Q1. Programming related questions
Interview experience
4
Good
Difficulty level
Moderate
Process Duration
-
Result
Not Selected

I applied via Company Website

Round 1 - Coding Test 

It was javascript and reactjs. multiple choices and coding test

Round 2 - Technical 

(1 Question)

  • Q1. Mostly advanced javascript questions
Interview experience
5
Excellent
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Aptitude Test 

Good morning sir have a you sir my name is hemant Ramchandra narkhede

Round 2 - Coding Test 

Java script simple frame

Round 3 - HR 

(2 Questions)

  • Q1. What are the different data types present in javascript?
  • Ans. 

    JavaScript has several data types including string, number, boolean, object, function, undefined, and null.

    • String: 'hello', '123'

    • Number: 123, 3.14

    • Boolean: true, false

    • Object: { key: 'value' }

    • Function: function() { }

    • Undefined: undefined

    • Null: null

  • Answered by AI
  • Q2. Difference between var and let keyword in javascript.
Round 4 - One-on-one 

(2 Questions)

  • Q1. What are the advantages of pair programming?
  • Ans. 

    Pair programming promotes collaboration, knowledge sharing, and code quality.

    • Enhances code quality through immediate code review and feedback

    • Promotes knowledge sharing and learning from each other

    • Fosters collaboration and teamwork

    • Reduces the likelihood of bugs and errors

    • Increases productivity by leveraging two minds on the same problem

    • Helps in breaking down complex problems into smaller tasks

    • Improves communication skil...

  • Answered by AI
  • Q2. How do you handle constructive feedback about your full-stack development projects?
Round 5 - Technical 

(2 Questions)

  • Q1. How do you identify bugs in your code?
  • Q2. How long have you been coding primarily in Python?
  • Ans. 

    I have been coding primarily in Python for 5 years.

    • I started learning Python in college and have been using it extensively in my professional career.

    • I have worked on various projects using Python, including web development, data analysis, and automation.

    • I am proficient in Python libraries such as NumPy, Pandas, and Django.

  • Answered by AI
Round 6 - Case Study 

HR round full stack developer experience

Round 7 - Group Discussion 

Best atitude round questions

Interview Preparation Tips

Interview preparation tips for other job seekers - Another source of career guidance is to consult a career counselor or coach. These are trained professionals who can help you with various aspects of your career development, such as exploring your options, setting your goals, making your plans, overcoming your challenges, and enhancing your skills.24 Aug

Skills evaluated in this interview

Interview experience
5
Excellent
Difficulty level
-
Process Duration
Less than 2 weeks
Result
No response

I applied via Company Website and was interviewed in Aug 2023. There were 2 interview rounds.

Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Don’t add your photo or details such as gender, age, and address in your resume. These details do not add any value.
View all tips
Round 2 - One-on-one 

(2 Questions)

  • Q1. Basic questions about javascript
  • Q2. Basic questions about nodejs
Interview experience
5
Excellent
Difficulty level
-
Process Duration
-
Result
-
  • Q1. Sql second highest salary
  • Q2. Node related question

Cognizant Interview FAQs

How many rounds are there in Cognizant Full Stack Software Developer interview?
Cognizant interview process usually has 2-3 rounds. The most common rounds in the Cognizant interview process are Resume Shortlist, Coding Test and Aptitude Test.
How to prepare for Cognizant Full Stack Software 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 AWS, Devops, Microservices, Node.Js and React.Js.
What are the top questions asked in Cognizant Full Stack Software Developer interview?

Some of the top questions asked at the Cognizant Full Stack Software Developer interview -

  1. Briefly explain the method you will use to execute an array linked li...read more
  2. What is the difference between primary key, foreign key, candidate key & super ...read more
  3. What are streams in C++? What are predefined streams in C...read more

Tell us how to improve this page.

Overall Interview Experience Rating

5/5

based on 1 interview experience

Difficulty level

Moderate 100%

Duration

Less than 2 weeks 100%
View more
Cognizant Full Stack Software Developer Salary
based on 279 salaries
₹3.3 L/yr - ₹16.6 L/yr
At par with the average Full Stack Software Developer Salary in India
View more details

Cognizant Full Stack Software Developer Reviews and Ratings

based on 27 reviews

3.2/5

Rating in categories

3.7

Skill development

3.0

Work-life balance

2.4

Salary

3.2

Job security

3.4

Company culture

2.3

Promotions

3.1

Work satisfaction

Explore 27 Reviews and Ratings
Associate
71.2k salaries
unlock blur

₹5.3 L/yr - ₹12.6 L/yr

Programmer Analyst
56.1k salaries
unlock blur

₹3.5 L/yr - ₹8 L/yr

Senior Associate
55.8k salaries
unlock blur

₹9.8 L/yr - ₹23.8 L/yr

Senior Processing Executive
30.1k salaries
unlock blur

₹2.5 L/yr - ₹6.5 L/yr

Technical Lead
18.6k salaries
unlock blur

₹6 L/yr - ₹21.3 L/yr

Explore more salaries
Compare Cognizant with

TCS

3.5
Compare

Infosys

3.6
Compare

Wipro

3.7
Compare

Accenture

3.7
Compare
write
Share an Interview