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 Junior Software Developer Interview Questions and Answers

Updated 23 Jun 2025

6 Interview questions

A Junior Software Developer was asked 3mo ago
Q. What is the difference between a Controller and a Rest Controller in the context of web applications?
Ans. 

A Controller handles web requests, while a Rest Controller specifically manages RESTful web services.

  • A Controller typically returns views (HTML) for web applications.

  • A Rest Controller returns data (JSON/XML) for APIs.

  • Example of Controller: @Controller in Spring MVC.

  • Example of Rest Controller: @RestController in Spring Boot.

  • Rest Controllers are stateless and focus on resource representation.

🔥 Asked by recruiter 5 times
A Junior Software Developer was asked 12mo ago
Q. What is a database?
Ans. 

A database is a structured collection of data that is organized in a way to easily access, manage, and update information.

  • Database stores data in tables with rows and columns.

  • It allows for efficient retrieval, insertion, and updating of data.

  • Examples include MySQL, PostgreSQL, MongoDB.

Junior Software Developer Interview Questions Asked at Other Companies

asked in Amazon
Q1. Given n coins for two players playing a game. Each player picks c ... read more
Q2. Which of the following is not a storage class in C? a) auto b) ex ... read more
asked in Pisolv Tech
Q3. Did You Know what is golang and where did You uses that? Why You ... read more
Q4. What does 'int x:4;' mean? a) x is a four-digit number. b) x is a ... read more
Q5. What is a lint? a) Analyzing tool. b) Compiler. c) Debugger. d) I ... read more
A Junior Software Developer was asked 12mo ago
Q. How many types of databases are there?
Ans. 

There are mainly four types of databases: relational, NoSQL, object-oriented, and graph databases.

  • Relational databases: store data in tables with rows and columns (e.g. MySQL, PostgreSQL)

  • NoSQL databases: store data in non-tabular format, suitable for large amounts of data (e.g. MongoDB, Cassandra)

  • Object-oriented databases: store data as objects, allowing for complex data structures (e.g. db4o)

  • Graph databases: stor...

🔥 Asked by recruiter 2 times
A Junior Software Developer was asked
Q. Where are you from?
Ans. 

I am from a small town in the Midwest of the United States.

  • Midwest region of the United States

  • Small town upbringing

  • Cultural diversity in the Midwest

What people are saying about Cognizant

View All
schedule2
Verified Icon
1w
works at
Cognizant
Salary expectation
I have 5+ years of experience in springboot microservices, currently working in CTS and having 10L CTC , wanted to switch in Infosys or Accenture like companies, how much should I ask for 15L-18L ? Just worried if I ask more they can reject my application, please help me with some numbers
Got a question about Cognizant?
Ask anonymously on communities.
A Junior Software Developer was asked
Q. What are header files, and what are they used for?
Ans. 

Header files contain declarations of functions, variables, and constants used in a program.

  • Header files are included in source code files using #include directive.

  • They help in organizing code by separating declarations from implementation.

  • Common header files in C/C++ include , , and .

A Junior Software Developer was asked
Q. What input and output functions are used in the C language?
Ans. 

Input and output functions in C language are used to interact with the user and the external environment.

  • Input functions in C include scanf() for reading input from the user and getchar() for reading a single character.

  • Output functions in C include printf() for displaying output to the user and putchar() for displaying a single character.

  • File input and output functions in C include fopen(), fclose(), fread(), and ...

Cognizant Junior Software Developer Interview Experiences

12 interviews found

Interview experience
3
Average
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Selected Selected

I appeared for an interview before Jul 2021, where I was asked the following questions.

  • Q1. What are the advantages of using Spring Boot?
  • Ans. 

    Spring Boot simplifies Java development with rapid setup, built-in features, and microservices support.

    • Rapid Development: Spring Boot allows developers to create stand-alone applications quickly with minimal configuration.

    • Convention over Configuration: It provides sensible defaults, reducing the need for extensive XML configuration.

    • Embedded Servers: Spring Boot includes embedded servers like Tomcat and Jetty, enabling ...

  • Answered by AI
  • Q2. What is the difference between a Controller and a Rest Controller in the context of web applications?
  • Ans. 

    A Controller handles web requests, while a Rest Controller specifically manages RESTful web services.

    • A Controller typically returns views (HTML) for web applications.

    • A Rest Controller returns data (JSON/XML) for APIs.

    • Example of Controller: @Controller in Spring MVC.

    • Example of Rest Controller: @RestController in Spring Boot.

    • Rest Controllers are stateless and focus on resource representation.

  • Answered by AI
Interview experience
5
Excellent
Difficulty level
Easy
Process Duration
Less than 2 weeks
Result
Not Selected

I applied via LinkedIn and was interviewed in Sep 2023. There was 1 interview round.

Round 1 - Technical 

(4 Questions)

  • Q1. Basics of C language.
  • Ans. C language is a procedural oriented language,rich In library, Feature of modularity,easy to extend, memory management language.
  • Answered Anonymously
  • Q2. What is input and output functions used in c language,..ect
  • Ans. 

    Input and output functions in C language are used to interact with the user and the external environment.

    • Input functions in C include scanf() for reading input from the user and getchar() for reading a single character.

    • Output functions in C include printf() for displaying output to the user and putchar() for displaying a single character.

    • File input and output functions in C include fopen(), fclose(), fread(), and fwrit...

  • Answered by AI
  • Q3. What are header files,and use .?
  • Ans. 

    Header files contain declarations of functions, variables, and constants used in a program.

    • Header files are included in source code files using #include directive.

    • They help in organizing code by separating declarations from implementation.

    • Common header files in C/C++ include , , and .

  • Answered by AI
  • Q4. Datatypes in c language.
  • Ans. 

    Datatypes in C language include int, float, char, double, and more.

    • Basic datatypes: int, float, char, double

    • Derived datatypes: arrays, pointers, structures, unions

    • Enumerated datatypes: enum

    • Void datatype: void

    • Example: int num = 10; char letter = 'A'; float value = 3.14;

  • Answered by AI

Skills evaluated in this interview

Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Aptitude Test 

Easy and all were based upon the logics

Round 2 - Coding Test 

It was moderate level where 2 coding questions and 2 sql questions where asked.

Round 3 - One-on-one 

(2 Questions)

  • Q1. What is database
  • Ans. 

    A database is a structured collection of data that is organized in a way to easily access, manage, and update information.

    • Database stores data in tables with rows and columns.

    • It allows for efficient retrieval, insertion, and updating of data.

    • Examples include MySQL, PostgreSQL, MongoDB.

  • Answered by AI
  • Q2. How many types of database
  • Ans. 

    There are mainly four types of databases: relational, NoSQL, object-oriented, and graph databases.

    • Relational databases: store data in tables with rows and columns (e.g. MySQL, PostgreSQL)

    • NoSQL databases: store data in non-tabular format, suitable for large amounts of data (e.g. MongoDB, Cassandra)

    • Object-oriented databases: store data as objects, allowing for complex data structures (e.g. db4o)

    • Graph databases: store dat...

  • Answered by AI
Interview experience
5
Excellent
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Aptitude Test 

Work time aptitute questions

Round 2 - Coding Test 

Switch two variable without 3rd variable

Round 3 - HR 

(1 Question)

  • Q1. Why would you like to join cognizant
Interview experience
3
Average
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Double-check your resume for any spelling mistakes. The recruiter may consider spelling mistakes as careless behavior or poor communication skills.
View all tips
Round 2 - Aptitude Test 

Basic aptitude questions available on internet

Round 3 - Technical 

(2 Questions)

  • Q1. Technical questions from curriculum, basics coding questions
  • Q2. Dbms, sql , python. Basic coding like palindrome, Fibonacci , pattern printing.

Interview Preparation Tips

Interview preparation tips for other job seekers - Just learn the basics thoroughly, the job is yours.
Interview experience
5
Excellent
Difficulty level
-
Process Duration
-
Result
Selected Selected
Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Do not use an unprofessional email address such as cool_boy@email.com. It shows a lack of professionalism by the candidate.
View all tips
Round 2 - Coding Test 

I hava knowledge about the coding

Round 3 - Technical 

(2 Questions)

  • Q1. Palindrome num, reverse num
  • Q2. Armstrong num, prime num
Interview experience
3
Average
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
No response

I appeared for an interview before Jun 2024, where I was asked the following questions.

  • Q1. Introduction , project
  • Q2. Coding , hr questions

Junior Software Developer Interview Questions & Answers

user image Chitambaranadhan R

posted on 13 Jan 2023

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

I applied via Campus Placement and was interviewed in Jul 2022. There were 4 interview rounds.

Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Properly align and format text in your resume. A recruiter will have to spend more time reading poorly aligned text, leading to high chances of rejection.
View all tips
Round 2 - Aptitude Test 

Apptitude test of 60 questions

Round 3 - Communication round 

(2 Questions)

  • Q1. Repeating the words as in audio file Briefing about the topic given
  • Q2. Reading tha passage Conversation
Round 4 - Technical 

(2 Questions)

  • Q1. Related to c language What is Pass by value ? What is pass by reference? Structure? List?
  • Q2. Project related questions

Interview Preparation Tips

Topics to prepare for Cognizant Junior Software Developer interview:
  • Communication Skills
  • Technical Skills
  • Core
Interview preparation tips for other job seekers - Be strong on what you have written in resume and be aware of what you write in resume

Junior Software Developer Interview Questions & Answers

user image Shivaji Suryavanshi

posted on 10 May 2024

Interview experience
4
Good
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Selected Selected

I applied via LinkedIn and was interviewed before May 2023. There were 3 interview rounds.

Round 1 - Aptitude Test 

Basic aptitudes it was around 2 hour

Round 2 - Technical 

(2 Questions)

  • Q1. Basic c interview question, basic SQL question, and 2 aptitude quesitons
  • Q2. Keys from sql, triggr, told me to write syntxt of triggeran use of = and == @@ how to copy date form excel fileto sql
Round 3 - HR 

(3 Questions)

  • Q1. She aseked me basic intro and the basic HR questions you can google u will get name address how u applied she wants to check ur english and confidance
  • Q2. Whr ar eu from
  • Ans. 

    I am from a small town in the Midwest of the United States.

    • Midwest region of the United States

    • Small town upbringing

    • Cultural diversity in the Midwest

  • Answered by AI
  • Q3. Checked my documets

Interview Preparation Tips

Interview preparation tips for other job seekers - be prepared and be to the point

I applied via Walk-in and was interviewed in Mar 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 - Aptitude Test 

Same asusal, logical reasoning apptitude English

Round 3 - Technical 

(2 Questions)

  • Q1. About the role, language, depth in languages and project i have worked and Known
  • Q2. SQL commands , table selection
Round 4 - HR 

(2 Questions)

  • Q1. What are your strengths and weaknesses?
  • Q2. Leadership skills, how u will make our company in a great position

Interview Preparation Tips

Topics to prepare for Cognizant Junior Software Developer interview:
  • YouTube
Interview preparation tips for other job seekers - Be confident, say whatever u know about the role and contribution, give the best output, if u don't know about the answer just say them i will figure it out, keep on saying the answers , don't stop u will get good job practice well

Cognizant Interview FAQs

How many rounds are there in Cognizant Junior Software Developer interview?
Cognizant interview process usually has 2-3 rounds. The most common rounds in the Cognizant interview process are Aptitude Test, Resume Shortlist and Technical.
What are the top questions asked in Cognizant Junior Software Developer interview?

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

  1. What is the difference between a Controller and a Rest Controller in the contex...read more
  2. What is input and output functions used in c language,.....read more
  3. What are the advantages of using Spring Bo...read more

Tell us how to improve this page.

Overall Interview Experience Rating

4.1/5

based on 10 interview experiences

Difficulty level

Easy 20%
Moderate 80%

Duration

Less than 2 weeks 80%
4-6 weeks 20%
View more
Cognizant Junior Software Developer Salary
based on 356 salaries
₹2.9 L/yr - ₹8 L/yr
17% more than the average Junior Software Developer Salary in India
View more details

Cognizant Junior Software Developer Reviews and Ratings

based on 47 reviews

3.8/5

Rating in categories

3.9

Skill development

3.7

Work-life balance

3.3

Salary

3.4

Job security

3.6

Company culture

3.1

Promotions

3.3

Work satisfaction

Explore 47 Reviews and Ratings
Associate
73.1k salaries
unlock blur

₹5.3 L/yr - ₹12.5 L/yr

Programmer Analyst
56.1k salaries
unlock blur

₹3.5 L/yr - ₹7.3 L/yr

Senior Associate
55.2k salaries
unlock blur

₹10 L/yr - ₹23.3 L/yr

Senior Processing Executive
29.8k salaries
unlock blur

₹2.3 L/yr - ₹6.5 L/yr

Technical Lead
19k salaries
unlock blur

₹6 L/yr - ₹21.2 L/yr

Explore more salaries
Compare Cognizant with

TCS

3.6
Compare

Infosys

3.6
Compare

Wipro

3.7
Compare

Accenture

3.7
Compare
write
Share an Interview