i
Capgemini
Filter interviews by
Pseudocode for a basic DSA question
Start by defining the problem statement and input/output requirements
Identify the key data structures and algorithms needed to solve the problem
Write step-by-step instructions in pseudocode to solve the problem
Test the pseudocode with sample inputs to ensure correctness
The main method in Java cannot be overridden, but it can be overloaded in subclasses.
The main method is static, so it belongs to the class, not instances.
Overriding requires an instance of the superclass, which is not applicable for static methods.
You can overload the main method, e.g., public static void main(String[] args, int num) {}
When you run a Java application, the JVM looks for the main method with the exa...
POST creates resources, while PUT updates existing ones. Both are HTTP methods used in RESTful APIs.
POST is used to create a new resource on the server. Example: POST /users creates a new user.
PUT is used to update an existing resource. Example: PUT /users/1 updates the user with ID 1.
POST can result in multiple resources being created, while PUT is idempotent, meaning repeated calls have the same effect.
POST does...
EMR stands for Electronic Medical Record, a digital version of a patient's paper chart.
EMR is used by healthcare providers to store patient information electronically.
It includes medical history, diagnoses, medications, treatment plans, immunization dates, allergies, radiology images, and laboratory test results.
EMRs can be accessed and shared by authorized providers and staff across different healthcare organizat...
What people are saying about Capgemini
Slicing in Python is a way to extract a subset of elements from a list, tuple, or string.
Slicing is done using square brackets and specifying start, stop, and step values.
The syntax for slicing is myList[start:stop:step].
Slicing can be used to extract a range of elements or every nth element from a sequence.
Factorial code in Python using recursion
Define a function that takes an integer as input
Base case: if input is 0, return 1
Recursive case: return input multiplied by factorial of input-1
Example: def factorial(n): return 1 if n == 0 else n * factorial(n-1)
Retrieve the 3rd highest salary from a table using SQL query with various methods.
Use the 'DISTINCT' keyword to avoid duplicate salaries: SELECT DISTINCT salary FROM employees.
Use 'ORDER BY' to sort salaries in descending order: ORDER BY salary DESC.
Use 'LIMIT' with an offset to get the 3rd highest salary: LIMIT 1 OFFSET 2.
Alternatively, use a subquery: SELECT MAX(salary) FROM employees WHERE salary < (SELECT M...
List is mutable, tuple is immutable in Python.
List can be modified, tuple cannot be modified
List uses square brackets [], tuple uses parentheses ()
List is used for collections of items that may need to be changed, tuple is used for fixed collections
An object is an instance of a class in programming, encapsulating data and behavior related to that data.
Objects are created from classes, which define their structure and behavior.
An object can have attributes (data) and methods (functions) that operate on the data.
Example: In a 'Car' class, an object could be 'myCar' with attributes like color and model, and methods like drive() and stop().
Objects support encaps...
A constructor is a special method in a class that initializes objects when they are created.
Constructors have the same name as the class they belong to.
They do not have a return type, not even void.
Constructors can be overloaded, allowing multiple ways to initialize an object.
Example: In Java, 'public ClassName()' is a default constructor.
If no constructor is defined, a default constructor is provided by the compi...
I appeared for an interview in Feb 2025.
I applied via Naukri.com and was interviewed in Nov 2024. There were 3 interview rounds.
Coding questions on java
I appeared for an interview in Jun 2025, where I was asked the following questions.
Microservices communicate through APIs, messaging queues, and event-driven architectures for efficient data exchange.
RESTful APIs: Microservices expose endpoints for HTTP requests, allowing services to communicate over the web. Example: A user service and an order service can interact via REST APIs.
gRPC: A high-performance RPC framework that uses Protocol Buffers for serialization, enabling efficient communication betw...
I applied via Campus Placement and was interviewed in Dec 2024. There was 1 interview round.
OOPs (Object-Oriented Programming) is a programming paradigm based on the concept of objects, DBMS (Database Management System) is software for managing databases, and SQL (Structured Query Language) is a language used to communicate with databases.
OOPs focuses on creating objects that contain data and methods to manipulate that data.
DBMS is a software system that allows users to interact with a database, storing and r...
I applied via Campus Placement
Basic aptitude and pseudo codes
Bsic coding questions- easy to solve
I applied via Campus Placement and was interviewed in Sep 2024. There was 1 interview round.
I appeared for an interview in May 2025, where I was asked the following questions.
Spark and MapReduce are both distributed computing frameworks used for processing large datasets.
Spark is a fast and general-purpose cluster computing system that provides in-memory processing capabilities.
MapReduce is a programming model for processing and generating large data sets with a parallel, distributed algorithm on a cluster.
Spark is known for its speed and ease of use, while MapReduce is more traditional and...
Some of the top questions asked at the Capgemini Software Engineer interview -
The duration of Capgemini Software Engineer interview process can vary, but typically it takes about less than 2 weeks to complete.
based on 250 interview experiences
Difficulty level
Duration
based on 1.6k reviews
Rating in categories
Consultant
59.6k
salaries
| ₹8.9 L/yr - ₹15 L/yr |
Associate Consultant
51.2k
salaries
| ₹4.5 L/yr - ₹10 L/yr |
Senior Consultant
50.9k
salaries
| ₹12.5 L/yr - ₹21 L/yr |
Senior Analyst
22.5k
salaries
| ₹3.1 L/yr - ₹7.7 L/yr |
Senior Software Engineer
21.8k
salaries
| ₹4.6 L/yr - ₹13.5 L/yr |
Wipro
Accenture
Cognizant
TCS