Add office photos
Engaged Employer

RedBus

4.2
based on 343 Reviews
Filter interviews by

10+ Capgemini Interview Questions and Answers

Updated 11 Jan 2025

Q1. Java: oops concepts in java? how do you initialise private elements of a class? Ways to define strings in java? exceptions in java? difference between exception and error? checked and unchecked exception? API t...

read more
Ans.

Questions on Java, API testing, Selenium, and SQL

  • Java: OOPs concepts, initializing private elements, defining strings, exceptions, difference between exception and error, checked and unchecked exceptions

  • API testing: Testing POST query, drawbacks, response codes

  • Selenium: Assert vs verify, drawbacks, implicit and dynamic wait, types of testing supported, types of x-path

  • SQL: Select query

Add your answer

Q2. How can you print the output when 1 is added to a given input number?

Ans.

You can print the output by adding 1 to the given input number and displaying the result.

  • Create a variable to store the input number.

  • Add 1 to the input number.

  • Print the result of the addition.

Add your answer

Q3. Print right view of a tree.

Ans.

Print the rightmost nodes of a binary tree.

  • Traverse the tree in a depth-first manner, starting from the right child of each node.

  • Use a queue to keep track of the nodes to be visited.

  • Add the rightmost node of each level to the result array.

View 1 answer

Q4. experience share, create a form with validation

Ans.

Creating a form with validation experience share

  • Use HTML form elements like input, select, textarea

  • Implement client-side validation using JavaScript

  • Implement server-side validation using backend technologies like Node.js or PHP

Add your answer
Discover Capgemini interview dos and don'ts from real experiences

Q5. Linked list sum in reverse order (Leetcode #2. Add two numbers)

Ans.

Add two numbers represented by linked lists in reverse order.

  • Traverse both linked lists simultaneously, adding corresponding nodes and carrying over the sum if necessary.

  • Handle cases where one linked list is longer than the other.

  • Create a dummy head node to simplify the code.

  • Consider edge cases like carry over at the end of the addition.

Add your answer

Q6. program: String reverse? count no. of words in given string? swap two np. without temp variable?

Ans.

Answering programming questions related to string manipulation.

  • To reverse a string, use a loop to iterate through the string and append each character to a new string in reverse order.

  • To count the number of words in a string, split the string into an array using whitespace as the delimiter and return the length of the array.

  • To swap two numbers without a temp variable, use arithmetic operations to perform the swap. For example, a = a + b; b = a - b; a = a - b;

Add your answer
Are these interview questions helpful?

Q7. Share instances when your content helped organic traffic growth ? Talk about how you optimised keywords on webpages and helped improve rankings

Ans.

My content helped organic traffic growth by optimizing keywords and improving rankings.

  • Researched and identified relevant keywords for each webpage

  • Optimized meta tags, headings, and content with targeted keywords

  • Created high-quality content that provided value to readers

  • Built backlinks from reputable sources to improve domain authority

  • Monitored and analyzed website traffic and rankings to make data-driven decisions

  • As a result, organic traffic increased by 30% within 3 months

  • I...read more

Add your answer

Q8. Garbage Collector in c#

Ans.

Garbage Collector in C# manages memory allocation and deallocation automatically.

  • Garbage Collector is responsible for freeing up memory that is no longer in use.

  • It runs in the background and periodically checks for unused objects.

  • GC.SuppressFinalize() method can be used to prevent the finalizer from running.

  • GC.Collect() method can be used to force garbage collection.

  • GC.GetTotalMemory() method can be used to get the total memory used by the application.

Add your answer
Share interview questions and help millions of jobseekers 🌟

Q9. If Payment SR dropped from 78% to 72% how will you do RCA and correct it

Ans.

I would conduct a Root Cause Analysis (RCA) to identify the reasons for the drop in Payment SR and implement corrective actions.

  • Review data trends and patterns to identify any anomalies or correlations

  • Interview stakeholders involved in the payment process to gather insights

  • Evaluate system performance and potential technical issues

  • Analyze customer feedback and complaints related to payments

  • Implement corrective actions such as process improvements, training, or system upgrades

Add your answer

Q10. Coding- Address= "abcd 555 house no 22 bly 2223" return pincode from this string

Ans.

Extract pincode from a given address string.

  • Split the address string by spaces to get individual words

  • Check each word to see if it is a valid pincode (numeric and 6 digits)

  • Return the first valid pincode found

Add your answer

Q11. Program of pyramid of numbers, Mysql queries

Ans.

Program to generate pyramid of numbers and MySQL queries

  • For pyramid of numbers, use nested loops to print numbers in a pyramid shape

  • For MySQL queries, use SELECT, INSERT, UPDATE, DELETE statements to manipulate data

  • Use JOINs to combine data from multiple tables

  • Use WHERE clause to filter data based on specific conditions

Add your answer

Q12. How do you repurpose content ?

Ans.

Repurpose content by adapting it to different formats and platforms.

  • Identify the most successful content and repurpose it for different audiences.

  • Transform blog posts into videos, infographics, or podcasts.

  • Create social media posts from statistics or quotes in existing content.

  • Update old content with new information or a fresh perspective.

  • Compile related content into an e-book or whitepaper.

  • Translate content into different languages for a global audience.

Add your answer

Q13. Explain OOPS concept .

Ans.

OOPS (Object-Oriented Programming) is a programming paradigm based on the concept of objects, which can contain data and code.

  • OOPS focuses on creating objects that interact with each other to solve problems.

  • It involves concepts like classes, objects, inheritance, polymorphism, and encapsulation.

  • Classes are blueprints for creating objects, while objects are instances of classes.

  • Inheritance allows a class to inherit properties and behavior from another class.

  • Polymorphism allows...read more

Add your answer
Contribute & help others!
Write a review
Share interview
Contribute salary
Add office photos

Interview Process at Capgemini

based on 13 interviews in the last 1 year
Interview experience
3.6
Good
View more
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Interview Questions from Similar Companies

3.5
 • 2k Interview Questions
3.8
 • 1.6k Interview Questions
3.5
 • 426 Interview Questions
4.0
 • 246 Interview Questions
4.2
 • 199 Interview Questions
4.2
 • 147 Interview Questions
View all
Top RedBus Interview Questions And Answers
Share an Interview
Stay ahead in your career. Get AmbitionBox app
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
70 Lakh+

Reviews

5 Lakh+

Interviews

4 Crore+

Salaries

1 Cr+

Users/Month

Contribute to help millions
Get AmbitionBox app

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2024 Info Edge (India) Ltd.

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter