i
Capgemini
Filter interviews by
Memory allocation during object creation with 'new' involves stack and heap memory.
1. Stack Memory: Local variables and references are stored here.
2. Heap Memory: Actual object data is allocated in the heap.
3. Example: 'MyClass obj = new MyClass();' allocates 'obj' reference on the stack and the 'MyClass' instance on the heap.
4. Constructor Execution: Memory is allocated before the constructor is called.
To find the count of different types of joins between two tables A and B.
Left join: Includes all records from table A and matching records from table B.
Right join: Includes all records from table B and matching records from table A.
Inner join: Includes only the matching records from both tables.
Full outer join: Includes all records when there is a match in either table A or table B.
The Slowly Changing Dimension Type 2 (SCD2) transformation is used for handling historical data changes in a data warehouse.
SCD2 transformation is used to track historical changes in dimension tables.
It maintains multiple versions of a record by adding new rows with updated information and end-dating the previous record.
Commonly used in scenarios where historical data needs to be preserved and queried.
Example: Whe...
Use the 'find' command in Unix to locate a specific file within a directory and its subdirectories.
Use the command: find /path/to/directory -name 'filename' to search for a specific file.
To search for files with a specific extension, use: find /path/to/directory -name '*.txt'.
To search case-insensitively, use: find /path/to/directory -iname 'filename'.
To limit the search to a specific depth, use: find /path/to/dir...
What people are saying about Capgemini
Single Sign-On (SSO) allows users to authenticate once and gain access to multiple applications seamlessly.
SSO simplifies user experience by reducing password fatigue.
Examples include Google SSO for accessing Gmail, YouTube, and Google Drive.
SSO enhances security by centralizing authentication and reducing password-related risks.
Protocols used in SSO include SAML, OAuth, and OpenID Connect.
ETL stands for Extract, Transform, Load. It is a process used to extract data from various sources, transform it into a consistent format, and load it into a target database or data warehouse.
Extract: Involves extracting data from multiple sources such as databases, files, APIs, etc.
Transform: Involves cleaning, filtering, aggregating, and converting the extracted data into a format suitable for analysis.
Load: Inv...
SAGA design pattern is used for managing long-lived transactions in distributed systems.
SAGA pattern breaks down a long transaction into a series of smaller, more manageable steps.
Each step in the SAGA pattern is a separate transaction that can be rolled back if needed.
SAGA pattern ensures that the overall transaction is eventually consistent.
Examples of SAGA pattern implementation include using compensating trans...
Springboot is a framework that simplifies the development of Java applications by providing a set of tools and conventions.
Springboot uses embedded servers like Tomcat or Jetty to run applications.
It auto-configures many components based on dependencies added to the project.
It uses annotations like @SpringBootApplication to define the main class of the application.
Springboot uses Spring Framework's Inversion of Co...
Yes, you can deactivate in Angular using the ngIf directive.
Use ngIf directive to conditionally show or hide elements in Angular templates.
Set the condition to false to deactivate the element.
Example:
TCP Flag contains control information in the TCP header.
TCP flags are used to control the flow of data in a TCP connection.
There are 6 TCP flags: URG, ACK, PSH, RST, SYN, and FIN.
Each flag serves a specific purpose in the TCP communication process.
For example, the SYN flag is used to initiate a connection, while the ACK flag is used to acknowledge received data.
I have worked with design patterns such as Singleton, Factory, Observer, and Strategy.
Singleton pattern ensures a class has only one instance and provides a global point of access to it.
Factory pattern creates objects without specifying the exact class of object that will be created.
Observer pattern defines a one-to-many dependency between objects so that when one object changes state, all its dependents are notified a...
I would immediately investigate the issue, identify the root cause, and work on a solution to prevent it from happening again.
Investigate the issue thoroughly to understand the scope and impact
Identify the root cause by analyzing logs, code, and configurations
Work on a solution to fix the issue and prevent it from reoccurring
Communicate with stakeholders about the issue and the steps taken to resolve it
I would embrace the challenge of leading a team by fostering collaboration, setting clear goals, and leveraging individual strengths.
Establish clear communication channels to ensure everyone is on the same page.
Set specific, measurable goals for the team to achieve, such as completing a project by a certain deadline.
Encourage team members to share their ideas and expertise, fostering a culture of collaboration.
Provide ...
Yes, I am able to work under pressure by staying organized, prioritizing tasks, and maintaining a positive attitude.
I stay organized by creating to-do lists and setting deadlines for tasks.
I prioritize tasks based on urgency and importance to ensure critical tasks are completed first.
I maintain a positive attitude by taking short breaks, practicing deep breathing exercises, and seeking support from colleagues when need...
SOLID is a set of five principles in object-oriented programming that help make software designs more understandable, flexible, and maintainable.
S - Single Responsibility Principle: A class should have only one reason to change.
O - Open/Closed Principle: Software entities should be open for extension but closed for modification.
L - Liskov Substitution Principle: Objects of a superclass should be replaceable with object...
A detailed approach to solving a moderately difficult coding problem with edge case considerations.
Understand the problem requirements and constraints clearly.
Break down the problem into smaller, manageable parts.
Consider edge cases such as empty inputs or maximum limits.
Choose an efficient algorithm based on time and space complexity.
Test the solution with various test cases to ensure robustness.
I appeared for an interview in Dec 2024.
I have over 10 years of experience in designing and implementing complex software systems.
Designed and implemented scalable software solutions for various clients
Led a team of developers in delivering projects on time and within budget
Worked closely with stakeholders to gather requirements and ensure customer satisfaction
I have used tools such as ANSYS, Abaqus, and SolidWorks Simulation for performing finite element analysis (FEA).
ANSYS
Abaqus
SolidWorks Simulation
Basic knowledge of strength of materials and finite element method (FEM) is essential for analyzing structural behavior and designing components.
Understanding of stress, strain, and material properties is crucial in analyzing the behavior of materials under different loading conditions.
Knowledge of FEM helps in simulating complex structures and predicting their response to various loads.
Ability to interpret FEM results...
SFD and BMD for cantilever beams of two different materials under point load P at free end
Calculate reactions at the fixed end of the beam
Determine the shear force at different points along the beam by considering the applied load and reactions
Draw the SFD by plotting the shear force values against the beam length
Calculate the bending moment at different points along the beam using the shear force values
Draw the BMD by...
Static analysis is a software testing technique used to analyze code without executing it.
Identify potential bugs and security vulnerabilities in the code
Ensure code quality and adherence to coding standards
Help in detecting performance issues and memory leaks
Examples: linting tools like ESLint, static code analyzers like SonarQube
I appeared for an interview in Jun 2025, where I was asked the following questions.
I appeared for an interview in Jan 2025.
First, you must clear the aptitude test.
Coding will involve understanding the basics.
Implemented a new CRM system for a large retail company
Led a team of developers to customize the CRM system to meet the company's specific needs
Conducted training sessions for employees on how to use the new system effectively
Collaborated with stakeholders to gather requirements and ensure successful implementation
OOP is a programming paradigm based on the concept of objects, which can contain data in the form of fields and code in the form of procedures.
Objects: Instances of classes that encapsulate data and behavior.
Classes: Blueprint for creating objects, defining their attributes and methods.
Inheritance: Ability of a class to inherit properties and behavior from another class.
Polymorphism: Objects of different classes can be...
I have extensive experience in consulting, strong analytical skills, and a proven track record of delivering results.
10+ years of experience in consulting industry
Strong analytical skills with ability to identify and solve complex problems
Proven track record of delivering successful projects on time and within budget
Excellent communication and presentation skills
Ability to work effectively in a team and lead cross-func...
C is a procedural programming language, while C++ is an object-oriented programming language.
C is a procedural programming language, focusing on functions and procedures.
C++ is an object-oriented programming language, allowing for classes, objects, and inheritance.
C++ is an extension of C, adding features like classes, templates, and exception handling.
C++ supports polymorphism and encapsulation, which are not present ...
To find the number of 1s in a binary number, count the occurrences of '1' in the binary representation.
Iterate through each digit of the binary number and count the occurrences of '1'.
Use bitwise operations to check if a digit is '1'.
Example: For binary number '10101', count the occurrences of '1' which is 3.
I applied via Naukri.com and was interviewed in Sep 2024. There were 3 interview rounds.
I possess comprehensive knowledge in my technical field, covering fundamental concepts to advanced applications.
Fundamentals: Understanding basic principles, such as algorithms and data structures in software development.
Intermediate Concepts: Proficiency in frameworks and libraries, like React for front-end development.
Advanced Topics: Expertise in system architecture and design patterns, ensuring scalable and maintai...
I appeared for an interview before Jul 2024, where I was asked the following questions.
I applied via Naukri.com and was interviewed in Nov 2024. There were 2 interview rounds.
Write a java code to find the vowels from given string
A string is a sequence of characters. It is immutable because once created, its value cannot be changed.
Strings are used to represent text data in programming languages.
Immutable means that the value of a string cannot be altered once it is created.
Any operation that appears to modify a string actually creates a new string with the modified value.
Example: 'hello' -> 'hello world'
API to fetch employee details
Create a GET endpoint /employees to fetch all employee details
Include parameters like employee ID or department to filter results
Return employee details in JSON format with fields like name, age, position, etc.
I appeared for an interview in May 2025, where I was asked the following questions.
XPath allows selection of multiple elements using logical operators and functions for efficient querying.
Use '|' operator to combine multiple XPath expressions. Example: //div | //span selects all divs and spans.
Utilize predicates to filter elements. Example: //div[@class='example'] | //span[@id='test'] selects specific divs and spans.
Use 'or' within predicates for multiple conditions. Example: //div[@class='example' o...
This code demonstrates how to reverse a string in Java using a simple method.
Use StringBuilder for efficient string manipulation. Example: StringBuilder sb = new StringBuilder(originalString);
Call the reverse() method on StringBuilder. Example: sb.reverse();
Convert StringBuilder back to String. Example: String reversedString = sb.toString();
Consider edge cases like empty strings or single-character strings.
posted on 9 Jan 2025
I applied via LinkedIn and was interviewed in Dec 2024. There was 1 interview round.
Find the second largest number in an array of strings.
Convert the array of strings to an array of integers.
Sort the array in descending order.
Return the second element in the sorted array.
Some of the top questions asked at the Capgemini interview for experienced candidates -
The duration of Capgemini interview process can vary, but typically it takes about less than 2 weeks to complete.
based on 1.2k interview experiences
Difficulty level
Duration
based on 46.5k reviews
Rating in categories
Consultant
58.6k
salaries
| ₹8.9 L/yr - ₹16.5 L/yr |
Associate Consultant
51.2k
salaries
| ₹4.5 L/yr - ₹10 L/yr |
Senior Consultant
50k
salaries
| ₹12.4 L/yr - ₹21 L/yr |
Senior Analyst
22.1k
salaries
| ₹3.1 L/yr - ₹7.5 L/yr |
Senior Software Engineer
21.6k
salaries
| ₹4.7 L/yr - ₹12.9 L/yr |
Wipro
Accenture
Cognizant
TCS