Capgemini aptitude questions with answers (2026)
28 solved questions in the style of the Capgemini test — pseudocode (12), quantitative aptitude (10), english communication (6). Tap an option to check it; every question has a step-by-step solution and a link to the free lesson.
Updated 15 November 2026 · Original questions written by Skills101, answers computed and checked · Capgemini syllabus & exam pattern →
Pseudocode
Q1.Pseudocode — tracing
What will be printed?Integer x = 4 for (i = 1 to 4) x = (x * 3 + 1) mod 11 end for Print xShow answer & solution
Q2.Pseudocode — bitwise operators
What is printed? (^ is bitwise XOR, << is left shift)Integer a = 16, b = 9 Integer c = (a ^ b) << 2 Print cShow answer & solution
Answer: B. 100
16 = 10000, 9 = 01001. 16 XOR 9 = 11001 = 25. Shifting left by 2 multiplies by 4: 100.
Q3.Pseudocode — arrays
What will be printed? (Arrays start at index 0.)Integer arr[5] = {13, 12, 6, 3, 11} for (i = 1 to 4) arr[i] = arr[i] + arr[i - 1] end for Print arr[4]Show answer & solution
Answer: A. 45
Each element becomes the running total: [13, 12, 6, 3, 11] → [13, 25, 31, 34, 45]. arr[4] = 45.
Q4.Pseudocode — loops
What will this pseudocode print?Integer s = 0 for (i = 1 to 25) if (i mod 6 == 0) s = s + i end if end for Print sShow answer & solution
Answer: C. 60
It adds the multiples of 6 from 1 to 25: 6 + 12 + 18 + 24 = 60. (The loop includes 25.)
Q5.Pseudocode — loops
What does this pseudocode print?Integer a = 84, b = 36 while (b != 0) Integer t = b b = a mod b a = t end while Print aShow answer & solution
Answer: A. 12
This is Euclid’s algorithm for the HCF: (84, 36) → (36, 12) → (12, 0). It prints 12, the HCF of 84 and 36.
Q6.Pseudocode — while loops
What will this pseudocode print?Integer n = 84629, s = 0 while (n > 0) s = s + (n mod 10) n = n / 10 // integer division end while Print sShow answer & solution
Answer: C. 29
n mod 10 takes the last digit and n / 10 drops it, so it adds the digits: 8 + 4 + 6 + 2 + 9 = 29.
Q7.Pseudocode — nested loops
How many times is count increased? (What is printed?)Integer count = 0 for (i = 1 to 6) for (j = i to 6) count = count + 1 end for end for Print countShow answer & solution
Answer: A. 21
For each i, the inner loop runs from j = i to 6. Total = 6 + 5 + … + 1 = 6×7/2 = 21.
Q8.Pseudocode — tracing
What will be printed?Integer x = 6 for (i = 1 to 5) x = (x * 3 + 1) mod 7 end for Print xShow answer & solution
Answer: B. 4
Trace x: 6 → 5 → 2 → 0 → 1 → 4. Printed value: 4.
Q9.Pseudocode — bitwise operators
What is printed? (| is bitwise OR, << is left shift)Integer a = 11, b = 12 Integer c = (a | b) << 2 Print cShow answer & solution
Answer: B. 60
11 = 01011, 12 = 01100. 11 OR 12 = 01111 = 15. Shifting left by 2 multiplies by 4: 60.
Q10.Pseudocode — arrays
What will be printed? (Arrays start at index 0.)Integer arr[5] = {8, 1, 13, 9, 3} for (i = 1 to 4) arr[i] = arr[i] + arr[i - 1] end for Print arr[4]Show answer & solution
Answer: B. 34
Each element becomes the running total: [8, 1, 13, 9, 3] → [8, 9, 22, 31, 34]. arr[4] = 34.
Q11.Pseudocode — loops
What will this pseudocode print?Integer s = 0 for (i = 1 to 20) if (i mod 7 == 0) s = s + i end if end for Print sShow answer & solution
Answer: C. 21
It adds the multiples of 7 from 1 to 20: 7 + 14 = 21. (The loop includes 20.)
Q12.Pseudocode — loops
What does this pseudocode print?Integer a = 135, b = 120 while (b != 0) Integer t = b b = a mod b a = t end while Print aShow answer & solution
Answer: D. 15
This is Euclid’s algorithm for the HCF: (135, 120) → (120, 15) → (15, 0). It prints 15, the HCF of 135 and 120.
Quantitative aptitude
Q13.Problems on ages
The ratio of the present ages of Riya and Meera is 7 : 10. After 8 years the ratio will be 3 : 4. What is Meera’s present age?Show answer & solution
Answer: C. 40 years
Let the ages be 7x and 10x. Then (7x + 8) / (10x + 8) = 3/4 → 4(7x + 8) = 3(10x + 8) → x = 4. Meera is 10 × 4 = 40 years (check: 36 : 48 = 3 : 4).
Q14.Time, speed & distance
A car goes from city A to city B at 60 km/h and returns by the same road at 90 km/h. What is its average speed for the whole journey?Show answer & solution
Answer: B. 72 km/h
For equal distances, average speed = 2ab/(a + b) = 2 × 60 × 90 / 150 = 72 km/h — not the simple average 75.
Q15.Time & work
Divya can finish a project in 15 days and Siddharth can finish it in 30 days. Working together, how long will they take?Show answer & solution
Answer: D. 10 days
In one day they do 1/15 + 1/30 = 0.1 of the work. Time = 1 ÷ 0.1 = 10 days. (Shortcut: ab/(a+b) = 450/45.)
Q16.Permutations & combinations
In how many different ways can the letters of the word “GOOGLE” be arranged?Show answer & solution
Answer: D. 180
6 letters with repeats (G×2, O×2). Arrangements = 6! ÷ (2! × 2!) = 720 ÷ 4 = 180.
Q17.Time & work (pipes)
Pipe A can fill a tank in 15 hours and pipe B can empty the full tank in 20 hours. If both are opened together on an empty tank, how long will it take to fill it?Show answer & solution
Answer: D. 60 hours
Net filling per hour = 1/15 − 1/20 = 1/60. Time = 60 hours (ab/(b − a) = 300/5).
Q18.Number system (remainders)
What is the remainder when 33 × 70 is divided by 9?Show answer & solution
Answer: A. 6
Use remainders: 33 mod 9 = 6, 70 mod 9 = 7. Their product 6 × 7 = 42, and 42 mod 9 = 6. (Check: 33 × 70 = 2310 = 9 × 256 + 6.)
Q19.Mixtures & alligation
A 40-litre mixture has milk and water in the ratio 4 : 1. How much water must be added to make the ratio 2 : 1?Show answer & solution
Answer: A. 8 litres
Milk = 32 L, water = 8 L. Milk stays the same, so water needed = 32 × 1/2 = 16 L. Add 16 − 8 = 8 litres.
Q20.Number system
What is the unit digit of 17^75?Show answer & solution
Answer: C. 3
Unit digits of powers of 17 repeat in a cycle of 4: 7, 9, 3, 1. 75 ÷ 4 leaves remainder 3, so the unit digit is 3.
Q21.HCF & LCM
The HCF of two numbers is 8 and their LCM is 48. If one number is 16, what is the other?Show answer & solution
Answer: A. 24
HCF × LCM = product of the two numbers. Other number = 8 × 48 ÷ 16 = 24.
Q22.Profit, loss & discount
A shopkeeper buys a jacket for ₹1200, marks it 25% above the cost price and then gives a 20% discount. What is his profit or loss percentage?Show answer & solution
Answer: A. 0% profit
Marked price = 1200 × 125/100 = ₹1500. Selling price = 1500 × 80/100 = ₹1200. Profit = 0 on 1200 = 0% profit.
English communication
Q23.Verbal ability
Choose the word closest in meaning to “ABUNDANT”.Show answer & solution
Q24.Verbal ability
Choose the correct sentence.Show answer & solution
Answer: C. Neither the manager nor the employees were informed.
With “neither…nor”, the verb agrees with the nearer subject — “employees” (plural) → were.
Q25.Verbal ability
Spot the error: “The number of students (A) / who passed the exam (B) / are higher (C) / than last year. (D)”Show answer & solution
Q26.Verbal ability
Fill in the blank: She ___ in Pune since 2022.Show answer & solution
Answer: D. has been living
“Since 2022” marks an action that started in the past and continues now — present perfect continuous: has been living.
Q27.Verbal ability
Fill in the blank: The meeting has been postponed ___ Monday.Show answer & solution
Answer: A. to
Something is postponed to a new date (“postponed till” is a common error).
Q28.Verbal ability
Choose the correctly spelt word.Show answer & solution
Answer: D. Occurrence
Occurrence — double c, double r, ending -ence.
Ready for the real thing?
Take a timed Capgemini mock with sectional timers and your all-India rank — free.
Skills101 is not affiliated with Capgemini. These are original practice questions written in the style of the commonly reported Capgemini test pattern; they are not leaked or copied exam questions.