Get free ebooK with 50 must do coding Question for Product Based Companies solved
Fill the details & get ebook over email
Thank You!
We have sent the Ebook on 50 Must Do Coding Questions for Product Based Companies Solved over your email. All the best!

Capgemini Interview Process | Selection Process | Careers

Last Updated on October 3, 2022 by Ria Pathak

In this article we’ll be discussing the Capgemini interview process,Capgemini is a leading provider of consulting, digital transformation and engineering services around the world. Capgemini is a global leader in partnering with businesses to help them transform and manage their operations using technology. Everyday the team was guided by its mission of unleashing the human potential via technology with a more inclusive future. Approximately more than 50 countries and 2,90,000 team members are responsible and diversified organizations.

Capgemini Recruitment Process

The Capgemini Recruitment Process generally consists of three rounds of selection:

  • Online Assessment test
  • Technical Interview Round
  • HR Interview Round

Capgemini Interview Process

Online Assessment Test:

The online assessment test is the first step in the recruitment process, the candidates who clear this round are called for the technical interview rounds. This test is divided into 4 parts.
The detailed Assessment test is mentioned below:

  • Pseudocoding: This is an MCQ round, this pseudocode section includes understanding of programming logic of C, C++, Java, Data Structures and Algorithms and OOPs.
  • English Communication Test: This test will put your grammatical and vocabulary skills to the test. This is also an MCQ round.
  • Game Based Aptitude: The Capgemini Gamified Quantitative Aptitude test is the most interesting new stage in the Capgemini Recruitment Process. It is expected to be a series of four games to be completed. The various types of games are related to logical thinking, inductive logical thinking, grid challenge, and Motion Challenge.
  • Behavioral Competency: This round is a personality psychometric designed to access work-related behavior.

Aptitude allows recruiters to test a candidate’s reasoning abilities and Problem solving skills. Now you can take Aptitude Mock Tests which will comprise of questions that may appear in the interview itself. Go on, check it out and start giving the test!

Technical Interview Round:

Those candidates who cleared the first round are called for the next round i.e. face to face technical interview round.
This interview evaluates your technical skills, which are usually related to the technical knowledge required for the position and the company you want to work for.
Thus, the interviewer evaluates you in the Technical Round based on your:

  • Problem solving skills and technical expertise.
  • IQ Quotient.
  • Projects and your past work experience.

Practice interview coding questions from topics like Arrays, Recursion, Sorting, Searching, Linked List, and more.

HR Interview Round:

Candidates who have cleared the technical interview called for the HR Round. HR interviews are conducted to assess a candidate’s personality in order to determine whether they are suitable for the role or not. And check how the candidate fits into the company’s work culture.
In Addition to the normal HR questions regarding strengths and weaknesses, reasons for applying to the company, why we should hire you and many more.
The most often asked questions are:

  • Please tell me about yourself.
  • What are your expectations with respect to this role?
  • Why are you interested in working for Capgemini?
  • Are you open to relocating to various parts of India?
  • What is the expected salary?
  • Do you have any questions for us about the company?

You will have a hard time in finding the interview round information about Top 10 Capgemini Interview Coding Questions, but relax we have collected the Latest Capgemini Interview process Information from the previous drive students who were selected in the company, so please go through this page carefully while preparing for the Capgemini Interview Round

  • After completing the first two rounds of the placement.
  • You will be sitting in a personal interview round.
  • Where you will be facing a panel of 3-4 executives.

This round can be further divided into 2 parts

  • Technical Round
  • HR Round
    It depends on the executives what they may ask you, they can ask you only about your technical background and projects that you have mentioned in your resume, or else they can ask you only situation based HR questions. So you need to be well prepared for all the scenarios, below this page you can find some frequently asked questions in the interview round.

Capgemini Interview Process- Top Capgemini Interview Coding | Pseudocode | Aptitude | English Communication Questions

Questions 1 Problem Statement – Bela teaches her daughter to find the factors of a given number. When she provides a number to her daughter, she should tell the factors of that number. Help her to do this, by writing a program. Write a class FindFactor.java and write the main method in it.
Note :

  • If the input provided is negative, ignore the sign and provide the output. If the input is zero
  • If the input is zero the output should be “No Factors”.

Sample Input 1:
54
Sample Output 1:
1, 2, 3, 6, 9, 18, 27, 54
Sample Input 2:
-1869
Sample Output 2 :
1, 3, 7, 21, 89, 267, 623, 1869

#include<iostream>

using namespace std;
int main ()
{

int n;

cin >> n;
n = abs (n);

if (n == 0)
cout << "No factors";

else
{

for (int i = 1; i < n; i++)
{

if (n % i == 0)
cout << i << ",";

}

cout << n;
}
return 0;
}

Question 2 Problem Statement – Raj wants to know the maximum marks scored by him in each semester. The mark should be between 0 to 100 ,if it goes beyond the range display “You have entered invalid mark.”

Sample Input 1:

  • Enter no of semester:
    3
  • Enter no of subjects in 1 semester:
    3
  • Enter no of subjects in 2 semester:
    4
  • Enter no of subjects in 3 semester:
    2
  • Marks obtained in semester 1:
    50
    60
    70
  • Marks obtained in semester 2:
    90
    98
    76
    67
  • Marks obtained in semester 3:
    89
    76

Sample Output 1:

  • Maximum mark in 1 semester:70
  • Maximum mark in 2 semester:98
  • Maximum mark in 3 semester:89
    Sample Input 2:
  • Enter no of semester:
    3
  • Enter no of subjects in 1 semester:
    3
  • Enter no of subjects in 2 semester:
    4
  • Enter no of subjects in 3 semester:
    2
  • Marks obtained in semester 1:
    55
    67
    98
  • Marks obtained in semester 2:
    67
    -98
    Sample Output 2:
    You have entered invalid mark.
    #include<iostream>
    using namespace std;
    int main ()
    {
    
    int n;
    
    cout << "Enter the number of semester: ";
    cin >> n;
    
    vector < int >sem (n);
    
    for (int i = 0; i < n; i++)
    {
    
    cout << "\nEnter number of subjects in " << i + 1 << " semester :";
    cin >> sem[i];
    
    }
    
    for (int i = 0; i < n; i++)
    {
    cout << "\nMarks obtained in " << i + 1 << " semester :";
    
    int maxi = 0, mark;
    
    while (sem[i]--)
    {
    cin >> mark;
    
    if(!(mark <= 100 and mark >= 0))
    {
    cout << "\nYou have entered invalid marks.";
    goto r;
    }
    
    maxi = max (maxi, mark);
    }
    
    cout << "\nMaximum mark in " << i + 1 << " semester :" << maxi;
    
    }
    
    return 0;
    }
    

Questions 4 Problem Statement –
You have write a function that accepts, a string which length is “len”, the string has some “#”, in it you have to move all the hashes to the front of the string and return the whole string back and print it.

char* moveHash(char str[],int n);

example :-
Sample Test Case
Input:
Move#Hash#to#Front

Output:

MoveHashtoFront

#include <stdio.h>
#include <string.h>
 
char *moveHash(char str[],int n)
{
    char str1[100],str2[100];
    int i,j=0,k=0;
    for(i=0;str[i];i++)
    {
        if(str[i]=='#')
        str1[j++]=str[i];
        else
        str2[k++]=str[i];
    }
    strcat(str1,str2);
    printf("%s",str1);
}
int main()
{
    char a[100], len;
    scanf("%[^\n]s",a);
    len = strlen(a);
    moveHash(a, len);
    return 0;
}

Question 5 Problem Statement –
Capgemini in its online written test has a coding question, wherein the students are given a string with multiple characters that are repeated consecutively. You’re supposed to reduce the size of this string using mathematical logic given as in the example below :

Input :
aabbbbeeeeffggg
Output:
a2b4e4f2g3
Input :
abbccccc
Output:
ab2c5

import java.util.*;
public class CharacterCount 
{
    public static void main(String[] args) 
    {
        Scanner sc = new Scanner(System.in);
        String str = sc.nextLine();
        int i, j, k = 0, count = 0;
        String uni = new String("");
        for(i=0; i<str.length(); i++)
        {
            count = 0;
            for(j=0; j<=i; j++)
            {
                if(str.charAt(i)==str.charAt(j))
                {
                    count++;
                }
            }
            if(count==1)
            {
                uni = uni + str.charAt(i);
            }
        }
        for(i=0; i<uni.length(); i++)
        {
            count = 0;
            for(j=0; j<str.length(); j++)
            {
                if(uni.charAt(i)==str.charAt(j))
                {
                    count++;
                }
            }
            if(count==1)
            {
                System.out.printf("%c",uni.charAt(i));
            }
            else
            {
                System.out.printf("%c%d",uni.charAt(i),count);
            }
        }
    }    
}

Question 6 Problem Statement –
Write the code to traverse a matrix in a spiral format.

Sample Input
Input
5 4
1 2 3 4
5 6 7 8
9 10 11 12
13 14 15 16
17 18 19 20
Output
1 2 3 4 8 12 16 20 19 18 17 13 9 5 6 7 11 15 12 14 10

#include<stdio.h>
 
int main()
{
    int a[5][4] = {{1,2,3,4},{5,6,7,8},{9,10,11,12},{13,14,15,16},{17,18,19,20}};
    int rs = 0, re = 5, cs = 0, ce = 4; 
    int i, j, k=0;
 
    for(i=0;i<5;i++)
    {
        for(j=0;j<4;j++)
        {
            printf("%d\t",a[i][j]);
        }
        printf("\n");
    }
    
   printf("\n");
    
    while(rs<re && cs<ce)
    {
        for(i=cs;i<ce;i++)
        {
            printf("%d\t",a[rs][i]);
        }
        rs++;
        
        for(i=rs;i<re;i++)
        {
            printf("%d\t",a[i][ce-1]);
        }
        ce--;
        
        if(rs<re) 
        { 
            for(i=ce-1; i>=cs; --i)
            { 
                printf("%d\t", a[re - 1][i]); 
            } 
            re--; 
        } 
        
         if(cs<ce) 
        { 
            for(i=re-1; i>=rs; --i)
            { 
                printf("%d\t", a[i][cs]); 
            } 
            cs++; 
        } 
    }
    return 0;
}

Question 7 Problem Statement –
You’re given an array of integers, print the number of times each integer has occurred in the array.

Example
Input :
10
1 2 3 3 4 1 4 5 1 2

Output :
1 occurs 3 times
2 occurs 2 times
3 occurs 2 times
4 occurs 2 times
5 occurs 1 times

import java.util.Scanner;
public class ArrayFrequency
{
    public static void main(String[] args) 
    {
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        int array[] = new int[n];       // taking value of integer
        int count = 0;
        int k = 0;
        for(int i=0; i<n; i++)
        {
            array[i] = sc.nextInt();    //elements of array
        }
        //step - 1
        int newarray[] = new int[n];
        for(int i=0; i<n; i++)
        {
            count = 0;
            for(int j=0; j<=i; j++)
            {
                if(array[i]==array[j])
                {
                    count++;
                }
            }
            if(count == 1)
            {
                newarray[k] = array[i];
                k++;
            }
        }
        //step 2;
        for(int i=0; i<k; i++)
        {
            count  = 0;
            for(int j=0; j<n; j++)
            {
                if(newarray[i] == array[j])
                {
                    count++;
                }
            }
            System.out.printf("%d occurs %d times\n",newarray[i],count);
        }
    }
}

Question 8 Problem Statement –
Write a function to solve the following equation a3 + a2b + 2a2b + 2ab2 + ab2 + b3.

Write a program to accept three values in order of a, b and c and get the result of the above equation.

#include <iostream>
using namespace std;
int main()
{
    int a,b,c;
    cin>>a>>b>>c;
    int sum;
    sum=(a+b)*(a+b)*(a+b);
    cout<<sum;
}

Question 9 Problem Statement –
IIHM institution is offering a variety of courses to students. Students have a facility to check whether a particular course is available in the institution. Write a program to help the institution accomplish this task. If the number is less than or equal to zero display “Invalid Range”.
Assume the maximum number of courses is 20.

Sample Input 1:

  • Enter no of course:
    5
  • Enter course names:
    Java
    Oracle
    C++
    Mysql
    Dotnet
  • Enter the course to be searched:
    C++
    Sample Output 1:
    C++ course is available

Sample Input 2:

  • Enter no of course:
    3
  • Enter course names:
    Java
    Oracle
    Dotnet
  • Enter the course to be searched:
    C++
    Sample Output 2:
    C++ course is not available

Sample Input 3:

  • Enter no of course:
    0
    Sample Output 3:
    Invalid Range
import java.util.*;
class Main
{

public static void main(String[] args)

{

int n=0,flag=0;

String courseSearch;

Scanner sc = new Scanner (System.in);

System.out.println("Enter no of course:");

n= sc.nextInt();

if(n<=0||n>20)

{

System.out.println("Invalid Range");

System.exit(0);

}

System.out.println("Enter course names:");

String[] course = new String[n];

sc.nextLine();

for (int i = 0; i < course.length; i++)

{

course[i] = sc.nextLine();

}

System.out.println("Enter the course to be searched:");

courseSearch=sc.nextLine();

for (int i = 0; i < course.length; i++)

{

if(course[i].equals(courseSearch))

{

flag=1;

}

}

if(flag==1)

{

System.out.println(courseSearch+" course is available");

}

else

{

System.out.println(courseSearch+" course is not available");

}

}

}

Question 10. Shraddha Kapoor’s professor suggested that she study hard and prepare well for the lesson on seasons. If her professor says month then, she has to tell the name of the season corresponding to that month. So write the program to get the solution to the above task?

  • March to May – Spring Season
  • June to August – Summer Season
  • September to November – Autumn Season
  • December to February – Winter Season

Note: The entered month should be in the range of 1 to 12. If the user enters a month less than 1 or greater than 12 then the message “Invalid Month Entered” should get displayed.

Sample Input 1:
Enter month: 6

Sample Output 1:
Season: Summer

Sample Input 2:
Enter month: 15

Sample Output 2:
Invalid Month Entered


#include<stdio.h>
#include <stdlib.h>
int main () 
{
printf ("Enter the month:\n");
int entry;
scanf ("%d", &entry);
switch (entry)
{
case 12:
case 1:
case 2:
printf ("Season: Winter");
break;
case 3:
case 4:
case 5:
printf ("Season: Spring");
break;
case 6:
case 7:
case 8:
printf ("Season: Summer");
break;
case 9:
case 10:
case 11:
printf ("Season: Autumn");
break;
default:
printf ("Invalid month Entered");
}
return 0;
}

Question 14. Identify the order of rearrangement.

Answer: 3241
Explanation:
From the given row,
Position 1 is occupied by a square
Position 2 is occupied by a triangle
Position 3 is occupied by a plus sign
Position 4 is occupied by a circle
In the final row, the order is a plus sign, triangle, circle, a square which can be translated as 3241.

Capgemini Interview Process FAQs

Q.1 What is the Purpose of this Coding Round?
Ans: Capgemini started conducting coding rounds this year to check the problem-solving skills of candidates.

Q.2 How many Questions are there in Capgemini?
Ans: A total of 3 questions are asked and you’ve to solve them in the time period of 75 minutes.

Q.3 What is the difficulty of Coding Questions?
Ans: The candidates who clear this round will get a package of 7.5 LPA. That’s why the difficulty level of this round is high and difficult.

Q.4 On which platform this coding round will be conducted?
Ans: Capgemini is using the Cocubes platform to conduct all their tests.

Q.5 Does Capgemini Ask Coding Questions?
Ans: Yes Capgemini asks coding questions for those who’ve applied for higher posts such as analysts with 7.5 LPA.

This article tried to discuss the Capgemini Interview Process. Hope this blog helps you understand and solve the problem. To practice more problems you can check out MYCODE | Competitive Programming at Prepbytes.

Leave a Reply

Your email address will not be published. Required fields are marked *