Unite Wings

Capgemini interview questions

18 questions candidates report from Capgemini interviews, plus the general HR questions every interviewer asks. Each has a model answer and the follow-ups to expect.

Typical selection process

Pseudocode and English test, game-based aptitude, a written essay, then a technical interview and an HR interview.

As reported by recent candidates. Always check the latest official notification.

35 questions

HRFlexibilityEasy

Are you willing to relocate to any location and work in night shifts if needed?

Reported at TCS, Infosys, Wipro, Accenture, Cognizant, Capgemini

What they are checking: Mass recruiters place freshers wherever projects need them. A hesitant answer can end the interview.

Model answer

Yes. I understand that projects are spread across cities and time zones, and as a fresher I want the widest set of opportunities.

I have already lived away from home for four years in a hostel, so moving cities is not a concern for me. If a client needs support in their time zone I'm comfortable with shifts. I'd only ask to know the schedule in advance so I can plan around it.

Tips

  • If you have a genuine constraint, mention it honestly but briefly; do not bargain in the first round.
HRCommitmentEasy

Are you comfortable signing a service agreement for the first year or two?

Reported at TCS, Infosys, Wipro, Cognizant, Capgemini, Accenture

What they are checking: The company spends months training freshers and wants confidence you will stay.

Model answer

Yes. The company invests a lot in training freshers, so it's fair to expect a commitment in return. I'm planning to build my career here for the long term anyway, so the agreement doesn't change my plans.

Could you share the details of the agreement, such as its duration, so I understand it fully before signing?

Tips

  • Read the agreement terms before accepting the offer, but do not argue about them in the interview.
HRMotivationMedium

You studied mechanical engineering. Why do you want to move into IT?

Reported at TCS, Infosys, Wipro, Cognizant, Accenture, Capgemini

What they are checking: Whether the switch is a real interest backed by effort, or just a fallback.

Model answer

I enjoyed mechanical engineering, but the part I liked most was writing MATLAB and Python scripts to analyse our lab data. In my third year I automated our thermodynamics lab calculations, which saved my batch hours every week, and I realised I wanted to build software full time.

Since then I've completed [the NPTEL Python and DBMS courses], solved around 150 coding problems, and built a small inventory app for a local hardware shop using Python and SQLite.

My mechanical background also helps: I'm used to working with real-world constraints and data, which is useful in manufacturing and automotive client projects.

Tips

  • Show what you have already done to make the switch.
  • Turn your core branch into an advantage.
HRFlexibilityEasy

You may be placed in testing or support rather than development. Is that okay?

Reported at Accenture, Capgemini, Cognizant, TCS

What they are checking: Flexibility. Freshers are allocated based on project needs, not preference.

Model answer

Yes. Whatever I start with, I'll learn how real systems work in production, how clients use them, and how problems are found and fixed. Testing especially builds the habit of thinking about edge cases, which makes you a better developer later.

I'd do the work well and, over time, show through my performance and certifications that I'm ready for development work as well.

HRMotivationEasy

Why Capgemini?

Reported at Capgemini

What they are checking: Company research and fit.

Model answer

Capgemini is a French multinational with a strong European client base, so I'd get to work with clients and colleagues from different cultures early on.

It is also strong in engineering services through Capgemini Engineering, which interests me because I like the overlap between software and physical products like cars and aircraft.

Its focus on employee learning, and the variety of domains, means I can keep growing without needing to switch companies.

BehaviouralLearning agilityEasy

Tell me about a time you had to learn something new quickly.

Reported at TCS, Infosys, Accenture, Cognizant, Capgemini, Wipro

What they are checking: Service companies assign freshers to any technology, so they need fast learners.

Model answer

For a college hackathon our team decided to build a chatbot, and I was the only one free to handle deployment, although I had never used AWS.

I gave myself one evening: I followed AWS's own getting-started guide for EC2, deployed a sample app, and wrote down every command in a doc. The next day I deployed our Flask bot and set up a domain. When something broke I read the error, searched it, and noted the fix.

We finished on time, and the doc I wrote became the deployment guide our club still shares with juniors. My approach to anything new is official docs first, a tiny working example, then the real task.

TechnicalOOPEasy

Explain the four pillars of object-oriented programming with examples.

Reported at TCS, Infosys, Wipro, Cognizant, Accenture, Capgemini

What they are checking: The single most common fresher technical question. They want clear definitions and an everyday example for each, not textbook lines.

Model answer

  • Encapsulation: keeping data and the methods that change it together, and hiding the data behind those methods. A BankAccount class keeps balance private and only allows changes through deposit() and withdraw(), which can check for a negative balance.
  • Abstraction: showing only what the user needs and hiding how it works. You call car.start() without knowing how the fuel injection works. In Java this is done with abstract classes and interfaces.
  • Inheritance: a class reusing and extending another class. SavingsAccount extends BankAccount and adds interest calculation without rewriting deposit and withdraw.
  • Polymorphism: one interface, many forms. A Shape reference can hold a Circle or a Square, and shape.area() runs the right version at run time (overriding). Method overloading, the same method name with different parameters, is compile-time polymorphism.

Encapsulation is about protecting data, while abstraction is about hiding complexity; interviewers often ask for that difference next.

Likely follow-ups

  • What is the difference between overloading and overriding?
  • Can you achieve multiple inheritance in Java?
  • Abstraction vs encapsulation?
TechnicalOperating systemsEasy

What is the difference between a process and a thread?

Reported at TCS, Infosys, Wipro, Capgemini, Microsoft

What they are checking: Basic OS understanding, often a lead-in to concurrency questions.

Model answer

A process is a running program with its own memory space. A thread is a unit of execution inside a process; all threads of a process share its memory.

  • Memory: processes are isolated from each other; threads share heap memory and global data but each has its own stack.
  • Cost: creating and switching between processes is more expensive than threads.
  • Communication: processes need inter-process communication (pipes, sockets, shared memory); threads can simply read shared variables, which is fast but needs locks to stay correct.
  • Failure: if one process crashes others keep running; a crashing thread can bring down its whole process.

Example: each Chrome tab runs as a separate process so one bad tab doesn't crash the browser, while inside a tab, separate threads handle rendering and JavaScript.

Likely follow-ups

  • What is a race condition?
  • What is a mutex?
TechnicalDatabasesMedium

What is normalisation? Explain 1NF, 2NF and 3NF.

Reported at TCS, Infosys, Wipro, Cognizant, Capgemini

What they are checking: DBMS fundamentals, very common in service-company interviews.

Model answer

Normalisation is organising tables to reduce duplicate data and avoid update problems.

  • 1NF: every column holds a single value, with no lists or repeating groups. A "phones" column holding "98xxx, 99xxx" breaks 1NF; move phones to separate rows or a separate table.
  • 2NF: 1NF, plus every non-key column depends on the whole primary key, not part of it. In a table keyed on (student_id, course_id), student_name depends only on student_id, so it belongs in a Students table.
  • 3NF: 2NF, plus non-key columns depend only on the key, not on other non-key columns. If a Students table has department_id and department_name, department_name depends on department_id, so move it to a Departments table.

Without normalisation, renaming a department means updating thousands of rows, and missing one leaves the data inconsistent. In analytics systems, we sometimes denormalise on purpose to make reads faster.

Likely follow-ups

  • What is BCNF?
  • When would you denormalise?
TechnicalJavaMedium

What is the difference between an abstract class and an interface in Java?

Reported at TCS, Infosys, Cognizant, Wipro, Capgemini

What they are checking: Java OOP depth.

Model answer

  • Methods: an abstract class can have abstract and fully implemented methods. An interface has abstract methods, and since Java 8 can also have default and static methods.
  • State: an abstract class can have instance variables and constructors. Interface fields are always public static final constants.
  • Inheritance: a class can extend only one abstract class but implement many interfaces.
  • Access: abstract class members can be private or protected; interface methods are public.

Use an abstract class when related classes share code and state, such as a base Vehicle with a common fuel field. Use an interface to define a capability that unrelated classes can share, such as Comparable or Runnable.

interface Payable { double pay(); }

abstract class Employee implements Payable {
    protected String name;
    Employee(String name) { this.name = name; }
    abstract double monthlySalary();
    public double pay() { return monthlySalary(); }
}

class FullTime extends Employee {
    FullTime(String name) { super(name); }
    double monthlySalary() { return 50000; }
}
TechnicalData structuresEasy

What is the difference between a stack and a queue? Give real uses.

Reported at TCS, Infosys, Wipro, Cognizant, Capgemini

What they are checking: Data structure basics.

Model answer

A stack is Last In, First Out: you push and pop from the same end, like a pile of plates. A queue is First In, First Out: you add at the back and remove from the front, like a ticket line.

Stack uses: undo in an editor, the browser back button, function calls (the call stack), checking balanced brackets, depth-first search.

Queue uses: printer jobs, handling requests in order on a server, breadth-first search, message queues between services.

Both support their main operations in O(1) time.

Likely follow-ups

  • How would you implement a queue using two stacks?
TechnicalCodingEasy

Write a program to reverse a string without using built-in reverse functions.

Reported at TCS, Infosys, Wipro, Cognizant, Capgemini

What they are checking: Basic coding fluency. Talk through the approach before writing.

Model answer

Use two pointers, one at each end, and swap characters as they move towards the middle. O(n) time and O(n) space (Java strings are immutable, so we work on a char array).

static String reverse(String s) {
    char[] c = s.toCharArray();
    int i = 0, j = c.length - 1;
    while (i < j) {
        char t = c[i];
        c[i] = c[j];
        c[j] = t;
        i++;
        j--;
    }
    return new String(c);
}

Test cases to mention: an empty string, a single character, and an even and an odd length.

Likely follow-ups

  • Reverse the words in a sentence instead of the characters.
  • Check whether a string is a palindrome.
TechnicalCodingEasy

Find the second largest element in an array in one pass.

Reported at TCS, Infosys, Accenture, Capgemini

What they are checking: Edge-case thinking: duplicates of the maximum, and arrays with fewer than two distinct values.

Model answer

Track the largest and second largest as you scan. Sorting would work but costs O(n log n); one pass is O(n).

def second_largest(arr):
    first = second = float("-inf")
    for x in arr:
        if x > first:
            first, second = x, first
        elif first > x > second:
            second = x
    return None if second == float("-inf") else second

print(second_largest([10, 5, 10, 8]))   # 8
print(second_largest([7, 7]))           # None

The condition first > x skips duplicates of the maximum, so [10, 5, 10, 8] returns 8 and not 10.

TechnicalExcelEasy

What is the difference between VLOOKUP, INDEX-MATCH and XLOOKUP?

Reported at Deloitte, Accenture, Capgemini

What they are checking: Excel fluency, still central in many analyst roles.

Model answer

  • VLOOKUP searches the first column of a range and returns a value from a column to the right. It can't look left, breaks if columns are inserted (because you give a column number), and defaults to approximate match unless the last argument is FALSE.
  • INDEX-MATCH: MATCH finds the row position, INDEX returns the value from any column. It can look left and doesn't break when columns move.
  • XLOOKUP (Excel 365 and 2021): =XLOOKUP(lookup_value, lookup_array, return_array, "Not found"). It looks in any direction, defaults to exact match, has a built-in "if not found" value, and can search from the bottom.

I use XLOOKUP when it's available, and INDEX-MATCH for files that need to work on older Excel versions.

TechnicalRequirementsMedium

How do you gather requirements from stakeholders?

Reported at Accenture, Deloitte, Cognizant, Capgemini

What they are checking: Whether you know the techniques and how to turn vague asks into clear requirements.

Model answer

  1. Identify stakeholders: who uses the system, who pays, who approves, who supports it.
  2. Understand the current process: interviews, watching users do their actual work, and reading existing documents and data.
  3. Run workshops to agree on problems and priorities with groups, especially when departments disagree.
  4. Use questionnaires when there are many users across locations.
  5. Build prototypes or wireframes, because people often only know what they want once they see something.

Then I document requirements as user stories or a BRD, with acceptance criteria, and confirm them with stakeholders. I ask "why" a lot: a request for "an Excel export" is often really a need for a specific weekly report.

TechnicalDocumentationEasy

What is the difference between a BRD and an FRD?

Reported at Accenture, Cognizant, Capgemini, Deloitte

What they are checking: BA vocabulary and documentation practice.

Model answer

  • BRD (Business Requirements Document): what the business needs and why. Written in business language for stakeholders. Example: "Customers must be able to track their order status without calling support, to cut support calls by 30%."
  • FRD (Functional Requirements Document): how the system will behave to meet those needs. Written for designers, developers and testers. Example: "The order page shows status as Placed, Packed, Shipped, Delivered, updated within 5 minutes of a warehouse scan."

The BRD comes first and is approved by the business; the FRD comes from it and is reviewed with the technical team. In agile teams both are often replaced by epics, user stories and acceptance criteria.

TechnicalAgileEasy

Write a user story with acceptance criteria for a password reset feature.

Reported at Accenture, Cognizant, Capgemini

What they are checking: Can you write requirements a developer and tester can act on?

Model answer

User story: As a registered user who has forgotten my password, I want to reset it using my email, so that I can get back into my account without contacting support.

Acceptance criteria (Given / When / Then):

  • Given I am on the login page, when I click "Forgot password" and enter a registered email, then I receive a reset link within 2 minutes.
  • Given I enter an email that is not registered, then I see the same message as for a registered email, so attackers can't find out which emails exist.
  • Given I open the link within 30 minutes, then I can set a new password that meets the password rules.
  • Given the link is older than 30 minutes or has already been used, then I see "This link has expired" and can request a new one.
  • Given I reset my password, then all my other sessions are logged out.
TechnicalPrioritisationEasy

How do you prioritise requirements? Explain MoSCoW.

Reported at Accenture, Deloitte, Capgemini

What they are checking: Managing scope when everything is "urgent".

Model answer

MoSCoW sorts requirements into four groups for a release:

  • Must have: without these the release fails or is illegal. Example: payment for an e-commerce launch.
  • Should have: important but there's a workaround. Example: saved cards.
  • Could have: nice if time allows. Example: dark mode.
  • Won't have (this time): agreed to be out of scope for now, which prevents arguments later. Example: a loyalty programme.

The value is in the conversation: stakeholders must agree what goes in Must. A useful rule is to keep Musts to around 60% of the effort, so there's room if estimates are wrong. For comparing many features by value, I'd use a scoring method such as RICE as well.

HRIntroductionEasy

Tell me about yourself.

What they are checking: Can you give a short, structured story that connects your background to this job? It sets the agenda for the rest of the interview, so whatever you mention here becomes the next question.

Model answer

I'm [name], a final-year B.Tech Computer Science student at [college], graduating in 2026 with a CGPA of [8.1].

Over the last two years I have focused on backend development. My main project is a hostel complaint tracker built with Node.js and PostgreSQL that 400 students in my hostel now use. I also did a two-month internship at [company], where I wrote REST APIs and cut a slow report query from 9 seconds to under 1 second by adding the right indexes.

Outside class I solve problems on LeetCode, around 300 so far, and I coordinate our college coding club, where I run weekly contests for juniors.

I'm applying here because I want to work on systems that real users depend on, and this role gives me that from day one.

Tips

  • Use present, past, future: who you are, what you have done, why this job.
  • Keep it under 90 seconds. Mention only things you are happy to be questioned on.
  • Do not repeat your resume line by line, and skip family details unless asked.

Likely follow-ups

  • Tell me more about the complaint tracker. What was hardest?
  • Why did you add indexes rather than caching?
HRSelf-awarenessEasy

What are your strengths?

What they are checking: Whether you know what you are good at and can prove it with an example, rather than listing adjectives.

Model answer

My biggest strength is that I break unfamiliar problems into small pieces and keep going until they work.

In my second year our team had to build an attendance app using face recognition, and none of us had used OpenCV. I split the work into three parts: capturing images, training the model, and matching faces in real time. I took the matching part, read the documentation and two tutorials over a weekend, and had a working version in five days. We demoed it at the department expo and it marked attendance for a class of 60 with about 95% accuracy.

I'd bring the same habit here when I'm handed a codebase or tool I haven't used before.

Tips

  • Pick one or two strengths that matter for the role.
  • Every strength needs a short story with a result.

Likely follow-ups

  • What would your teammates say is your strength?
  • What did you do about the 5% the app got wrong?
0students
taking off