i
Capgemini
Filter interviews by
Local variables are defined within a function, while global variables are accessible throughout the entire program.
Local variables are declared inside a function or block and can only be accessed within that function.
Global variables are declared outside of all functions and can be accessed from any part of the program.
Example of a local variable: function example() { let localVar = 5; console.log(localVar); ...
I prefer a location that fosters collaboration, innovation, and work-life balance, ideally in a tech hub.
Proximity to tech companies: Being near industry leaders like Google or Amazon can provide networking opportunities.
Access to talent: Locations with a strong tech community can facilitate collaboration and knowledge sharing.
Work-life balance: Areas with good amenities and recreational options can enhance overal...
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...
What people are saying about Capgemini
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...
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...
Real-time batch processing combines real-time data processing with batch processing for efficient data handling.
Real-time batch processing allows for immediate data analysis while still processing large datasets.
Example: Financial transactions can be processed in real-time while aggregating daily summaries.
Technologies: Apache Kafka for real-time data streaming and Apache Spark for batch processing.
Use cases inclu...
SQL queries can be crafted to retrieve, manipulate, and analyze data based on specific scenarios in a database.
Use SELECT to retrieve data: Example: SELECT * FROM employees WHERE department = 'Sales';
Use JOIN to combine data from multiple tables: Example: SELECT a.name, b.salary FROM employees a JOIN salaries b ON a.id = b.employee_id;
Use WHERE to filter results: Example: SELECT * FROM orders WHERE order_date >...
In urgent situations, prioritize tasks, communicate effectively, and manage time to resolve issues efficiently.
Assess the urgency of the call and the severity of the issue you're facing.
If possible, quickly document your current problem to revisit later.
Communicate with the caller about your situation; they may offer flexibility.
Consider delegating the issue to a teammate if available.
After the call, return to the...
Java is a statically typed, compiled language, while Python is dynamically typed and interpreted, leading to different use cases and performance.
Java is statically typed, meaning variable types must be declared (e.g., int x = 5;).
Python is dynamically typed, allowing variables to change types (e.g., x = 5; x = 'Hello';).
Java requires explicit memory management and uses garbage collection, while Python has automati...
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 before Jun 2024, where I was asked the following questions.
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.
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...
I applied via Campus Placement and was interviewed in May 2024. There were 3 interview rounds.
It consists of pseudo code, analytical , puzzle, behaviour, English grammar etc
Abstract method is a method without implementation, must be overridden in subclass.
Abstract method has no implementation and must be overridden in subclass
Other methods have implementation and can be directly called
Abstract methods are declared using 'abstract' keyword
Example: abstract void draw();
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 245 interview experiences
Difficulty level
Duration
based on 1.6k reviews
Rating in categories
Consultant
58.2k
salaries
| ₹5.3 L/yr - ₹18.9 L/yr |
Associate Consultant
51.2k
salaries
| ₹2.9 L/yr - ₹12.2 L/yr |
Senior Consultant
49.5k
salaries
| ₹7.8 L/yr - ₹26 L/yr |
Senior Analyst
22.1k
salaries
| ₹2 L/yr - ₹9.1 L/yr |
Senior Software Engineer
21.3k
salaries
| ₹3.5 L/yr - ₹13 L/yr |
Wipro
Accenture
Cognizant
TCS