Capgemini Interview Questions for Freshers
Last updated 2026-11-19
Capgemini's fresher process, as the company describes it, can include an aptitude test, a coding or technical assessment, a group discussion for some roles, and technical and HR interviews. This page gives twelve worked practice questions across Java, SQL, Linux, Python and HR.
For the process see how to crack the Capgemini interview; for coding practice see Capgemini coding round questions.
| Stages | Application, screening, interviews, onboarding (Capgemini India) |
|---|---|
| Fresher rounds | Aptitude, coding/technical, GD for some roles, technical, HR |
| Careers site | capgemini.com/in-en/careers |
Capgemini rounds as commonly reported
Capgemini India's own recruitment page describes four stages: application, screening, interviews and onboarding. For freshers it says the process can include an online aptitude test (logical reasoning, verbal ability and quantitative skills), a coding or technical assessment for technical roles, a group discussion for some roles, a technical interview and an HR interview, with round counts depending on role and experience level. Capgemini does not publish assessment content, and some prep material mentions game-based aptitude formats in certain drives, which you should verify against your own invitation.
Topics to prioritise
- Core Java or Python with a few Java 8 or Python idioms.
- SQL including window functions.
- Linux commands, relevant to application support and infrastructure projects.
- Pseudocode tracing and aptitude basics.
- Group discussion and communication, if your role includes it.
Hiring status
This page does not track Capgemini drives or dates. For anything time-sensitive, use Capgemini's own careers site (capgemini.com/in-en/careers) and treat any date quoted on social media or listing sites as unconfirmed until it appears there.
- Capgemini India planned to hire 40,000-45,000 people in 2025, with 35-40% laterals and the rest freshers from 50+ partner institutions (The Hindu BusinessLine via People Matters, 4 August 2025). That is a 2025 plan, not a current target.
Capgemini Interview Questions for Freshers: questions with worked answers
1 Why Capgemini?
easyUse two or three honest reasons: it is a consulting and technology services company working across industries, so freshers see varied projects; it hires in large numbers from campuses, so structured onboarding is part of the model; and you want to build both technical and client-communication skills. Add one personal link, for example a cloud certification you are working towards. Do not quote numbers about headcount or pay unless you read them on Capgemini's own pages.
2 How do you perform in a group discussion, if the role includes one?
easyCapgemini's recruitment page says a group discussion is held only for some roles. Enter early with a clear point, but do not try to speak the most. Listen, refer to others' points by name, add one fresh argument or example, and help summarise at the end. Avoid interrupting and avoid going off-topic. Practise topics around technology and society. Evaluators look at communication and team behaviour, not whether you win the argument.
3 What does chmod 754 file do on Linux?
mediumPermissions are three octal digits for owner, group and others, where read is 4, write 2 and execute 1. So 7 gives the owner read, write and execute; 5 gives the group read and execute; 4 gives others read only. The symbolic form is rwxr-xr--. Related commands interviewers like: ls -l to view permissions, chown to change owner, and find . -name "*.log" -size +10M to locate large log files. Linux basics suit Capgemini's infrastructure and application support tracks.
4 String, StringBuilder and StringBuffer in Java.
easyString is immutable, so every concatenation creates a new object; it is thread-safe by being unchangeable. StringBuilder is mutable and not synchronised, so it is the fastest choice for building strings in a single thread, for example inside loops. StringBuffer is mutable and synchronised, so it is thread-safe but slower, and rarely needed today. Concatenating inside a loop with + is O(n squared) in total characters copied; use StringBuilder instead.
5 Show how Java 8 lambdas and streams simplify filtering.
mediumA lambda is an anonymous function, usable where a functional interface is expected. Streams process collections as pipelines: filter, map and collect. For names longer than five characters in upper case, write list.stream().filter(s -> s.length() > 5).map(String::toUpperCase).collect(Collectors.toList()). Streams are lazy: nothing runs until a terminal operation such as collect. Warn that streams are not always faster than loops and that side effects inside lambdas make code hard to reason about.
6 Rank employees by salary within each department and keep the top two.
mediumUse DENSE_RANK or ROW_NUMBER partitioned by department and ordered by salary descending, then filter the rank in an outer query, since window functions cannot be used directly in WHERE. DENSE_RANK keeps ties at the same rank and does not skip numbers, ROW_NUMBER gives exactly two rows per department, and RANK leaves gaps after ties. State which you chose and why.
sqlSELECT dept_id, name, salary FROM ( SELECT dept_id, name, salary, DENSE_RANK() OVER (PARTITION BY dept_id ORDER BY salary DESC) AS rnk FROM employee ) t WHERE rnk <= 2;7 What are transaction isolation levels and what anomalies do they prevent?
hardRead uncommitted allows dirty reads (seeing uncommitted data). Read committed prevents dirty reads but allows non-repeatable reads, where the same row read twice returns different values. Repeatable read prevents that but may allow phantom reads, where a repeated range query sees new rows. Serializable prevents all of them at the cost of concurrency. Different databases implement them differently (for instance MVCC snapshots), so state which engine you are talking about.
8 Generators versus lists in Python.
mediumA list holds all items in memory at once. A generator, created with yield or a generator expression, produces items lazily, one at a time, using almost constant memory, and can be consumed only once. Use a generator for large or infinite streams, such as reading a big file line by line, and a list when you need indexing, length or multiple passes. sum(x * x for x in range(10**7)) works without building a list of ten million items.
9 State the complexity of binary search and its prerequisites.
easyBinary search halves the search range each step, so time is O(log n) and iterative space is O(1). It requires random access and sorted data; on a linked list it loses its advantage. Say the pitfalls: computing mid as (lo + hi) / 2 can overflow in languages with fixed-width integers (use lo + (hi - lo) / 2), and the loop invariants must be consistent to avoid infinite loops. It also applies to answers, not only arrays, such as finding a minimum feasible capacity.
10 Trace this pseudocode: x = 10, y = 3; if x % y == 1 then x = x + y else x = x - y; z = x * y; print z.
easyx % y is 10 % 3 = 1, so the condition holds and x becomes 13. Then z = 13 * 3 = 39, so the program prints 39. Capgemini's own recruitment page describes an aptitude test; prep sources also report pseudocode in the technical part, so practise reading conditions and modulus carefully. A frequent slip is applying the else branch after the if branch has already run.
11 How do you create and use a custom exception in Java?
mediumExtend Exception for a checked exception (callers must handle it) or RuntimeException for an unchecked one. Give it constructors that pass a message and optionally the cause: class InsufficientFundsException extends Exception { InsufficientFundsException(String m) { super(m); } }. Throw it with throw new InsufficientFundsException(...) and handle it in a catch block. Use custom exceptions to express business rules clearly, and chain the original cause so that stack traces stay useful.
12 Tell me about a project that did not go as planned.
mediumChoose a real, modest failure. Example: your team's web app crashed during demo because of an unhandled null from an external API. You explain what you owned, how you traced it with logs, the fix, and what you changed afterwards: input validation, retries and a staging test. Show accountability and learning, not blame. Keep the story under two minutes. See tell me about yourself for freshers for structuring answers.
Frequently asked questions
Does Capgemini hold a group discussion?
Its recruitment page says a group discussion is held only for some roles.
What technical topics are asked?
Commonly Java or Python, SQL, OOP and some Linux, plus your project. It depends on the role.
Is there a coding test?
Capgemini's page says a coding or technical assessment is part of the fresher process for technical roles; content is not published.
Where is Capgemini hiring news?
Check the official careers site; this page quotes only a sourced 2025 plan.
Sources
Related guides
More in Company Interview Questions
- Cisco Coding Round Questions with Solutions in Python and Java
- Cisco Interview Questions and Answers: Networking and SDE Roles
- Citi coding round questions with solutions
- Citi interview questions with answers (technology analyst)
- ClearTax Coding Round Questions
- ClearTax Interview Questions with Answers
- Coforge Coding Round Questions with Solutions
- Coforge Interview Questions for Freshers
- Cognizant Coding Round Questions with Solutions
- Cognizant Interview Questions for Freshers
- CRED Coding Round Questions with Solutions
- CRED Interview Questions and Answers