i
Capgemini
Filter interviews by
Synchronization in code ensures safe access to shared resources in concurrent programming.
Use mutexes to lock shared resources: e.g., `pthread_mutex_lock(&mutex);` in C.
Implement semaphores to control access: e.g., `sem_wait(&sem);` in POSIX.
Utilize atomic operations for simple data types: e.g., `std::atomic<int> count;` in C++.
Leverage higher-level constructs like `synchronized` in Java: `synchroniz...
Utilized OOP concepts like inheritance, encapsulation, and polymorphism to enhance code reusability and maintainability in testing frameworks.
Inheritance: Created a base test class for common setup methods, allowing derived classes to inherit and extend functionality.
Encapsulation: Used private variables in test classes to protect data integrity and expose only necessary methods for interaction.
Polymorphism: Imple...
This question assesses your understanding of Java fundamentals and problem-solving skills.
Understand Java basics: classes, objects, inheritance, and polymorphism.
Practice coding problems on platforms like LeetCode or HackerRank.
Familiarize yourself with Java testing frameworks like JUnit and TestNG.
Review common design patterns and their implementations in Java.
Constructors are special methods used to initialize objects in a class.
Constructors have the same name as the class.
They do not have a return type.
They are called automatically when an object is created.
There can be multiple constructors in a class (overloading).
What people are saying about Capgemini
To scroll down in Selenium, you can use the Actions class or JavaScriptExecutor.
Use Actions class to perform keyboard and mouse actions
Scroll down using Keys class and sendKeys(Keys.PAGE_DOWN)
Alternatively, use JavaScriptExecutor to scroll down by executing JavaScript code
String is immutable, StringBuffer is mutable.
String is immutable, meaning once created, its value cannot be changed.
StringBuffer is mutable, meaning its value can be changed after creation.
String is thread-safe, while StringBuffer is not.
StringBuffer is faster for concatenation operations compared to String.
Reverse a given string using array of characters
Create an empty array to store the reversed string
Loop through the original string from end to start
Push each character into the empty array
Join the array to form the reversed string
I applied via Naukri.com and was interviewed in Oct 2024. There was 1 interview round.
Synchronization in code ensures safe access to shared resources in concurrent programming.
Use mutexes to lock shared resources: e.g., `pthread_mutex_lock(&mutex);` in C.
Implement semaphores to control access: e.g., `sem_wait(&sem);` in POSIX.
Utilize atomic operations for simple data types: e.g., `std::atomic<int> count;` in C++.
Leverage higher-level constructs like `synchronized` in Java: `synchronized(th...
Utilized OOP concepts like inheritance, encapsulation, and polymorphism to enhance code reusability and maintainability in testing frameworks.
Inheritance: Created a base test class for common setup methods, allowing derived classes to inherit and extend functionality.
Encapsulation: Used private variables in test classes to protect data integrity and expose only necessary methods for interaction.
Polymorphism: Implemente...
I applied via Job Portal and was interviewed in Feb 2024. There were 2 interview rounds.
How to access data from excel
To scroll down in Selenium, you can use the Actions class or JavaScriptExecutor.
Use Actions class to perform keyboard and mouse actions
Scroll down using Keys class and sendKeys(Keys.PAGE_DOWN)
Alternatively, use JavaScriptExecutor to scroll down by executing JavaScript code
String is immutable, StringBuffer is mutable.
String is immutable, meaning once created, its value cannot be changed.
StringBuffer is mutable, meaning its value can be changed after creation.
String is thread-safe, while StringBuffer is not.
StringBuffer is faster for concatenation operations compared to String.
Constructors are special methods used to initialize objects in a class.
Constructors have the same name as the class.
They do not have a return type.
They are called automatically when an object is created.
There can be multiple constructors in a class (overloading).
posted on 23 Jan 2025
Replacing char(Vowels) in a string with *
I applied via Job Fair and was interviewed in Jul 2022. There were 3 interview rounds.
Functional testing a
I
Functional testing intergration testing System testing
I applied via Naukri.com and was interviewed before Jun 2023. There were 2 interview rounds.
This question assesses your understanding of Java fundamentals and problem-solving skills.
Understand Java basics: classes, objects, inheritance, and polymorphism.
Practice coding problems on platforms like LeetCode or HackerRank.
Familiarize yourself with Java testing frameworks like JUnit and TestNG.
Review common design patterns and their implementations in Java.
Reverse a given string using array of characters
Create an empty array to store the reversed string
Loop through the original string from end to start
Push each character into the empty array
Join the array to form the reversed string
Java is a high-level programming language known for its platform independence and object-oriented approach.
Java is widely used for developing desktop, web, and mobile applications.
It is known for its robustness, security, and scalability.
Java programs are compiled into bytecode that can run on any Java Virtual Machine (JVM).
It supports multithreading, exception handling, and automatic memory management.
Popular framewor...
I applied via Referral and was interviewed before Jun 2020. There were 3 interview rounds.
I applied via Company Website and was interviewed in Dec 2020. There were 3 interview rounds.
based on 7 interview experiences
Difficulty level
Duration
based on 20 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