Skills101

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

  1. Q1.Pseudocode — tracing

    What will be printed?
    Integer x = 4
    for (i = 1 to 4)
        x = (x * 3 + 1) mod 11
    end for
    Print x
    Show answer & solution

    Answer: B. 1

    Trace x: 4 → 2 → 7 → 0 → 1. Printed value: 1.

    Learn pseudocode — tracing step by step →

  2. Q2.Pseudocode — bitwise operators

    What is printed? (^ is bitwise XOR, << is left shift)
    Integer a = 16, b = 9
    Integer c = (a ^ b) << 2
    Print c
    Show answer & solution

    Answer: B. 100

    16 = 10000, 9 = 01001. 16 XOR 9 = 11001 = 25. Shifting left by 2 multiplies by 4: 100.

    Learn pseudocode — bitwise operators step by step →

  3. 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.

    Learn pseudocode — arrays step by step →

  4. 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 s
    Show answer & solution

    Answer: C. 60

    It adds the multiples of 6 from 1 to 25: 6 + 12 + 18 + 24 = 60. (The loop includes 25.)

    Learn pseudocode — loops step by step →

  5. 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 a
    Show 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.

    Learn pseudocode — loops step by step →

  6. 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 s
    Show 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.

    Learn pseudocode — while loops step by step →

  7. 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 count
    Show 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.

    Learn pseudocode — nested loops step by step →

  8. Q8.Pseudocode — tracing

    What will be printed?
    Integer x = 6
    for (i = 1 to 5)
        x = (x * 3 + 1) mod 7
    end for
    Print x
    Show answer & solution

    Answer: B. 4

    Trace x: 6 → 5 → 2 → 0 → 1 → 4. Printed value: 4.

    Learn pseudocode — tracing step by step →

  9. Q9.Pseudocode — bitwise operators

    What is printed? (| is bitwise OR, << is left shift)
    Integer a = 11, b = 12
    Integer c = (a | b) << 2
    Print c
    Show answer & solution

    Answer: B. 60

    11 = 01011, 12 = 01100. 11 OR 12 = 01111 = 15. Shifting left by 2 multiplies by 4: 60.

    Learn pseudocode — bitwise operators step by step →

  10. 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.

    Learn pseudocode — arrays step by step →

  11. 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 s
    Show answer & solution

    Answer: C. 21

    It adds the multiples of 7 from 1 to 20: 7 + 14 = 21. (The loop includes 20.)

    Learn pseudocode — loops step by step →

  12. 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 a
    Show 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.

    Learn pseudocode — loops step by step →

Quantitative aptitude

  1. 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).

    Learn problems on ages step by step →

  2. 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.

    Learn time, speed & distance step by step →

  3. 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.)

    Learn time & work step by step →

  4. 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.

    Learn permutations & combinations step by step →

  5. 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).

    Learn time & work (pipes) step by step →

  6. 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.)

    Learn number system (remainders) step by step →

  7. 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.

    Learn mixtures & alligation step by step →

  8. 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.

    Learn number system step by step →

  9. 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.

    Learn hcf & lcm step by step →

  10. 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.

    Learn profit, loss & discount step by step →

English communication

  1. Q23.Verbal ability

    Choose the word closest in meaning to “ABUNDANT”.
    Show answer & solution

    Answer: C. Plentiful

    Abundant means existing in large quantities.

    Learn verbal ability step by step →

  2. 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.

    Learn verbal ability step by step →

  3. 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

    Answer: A. C

    “The number of …” is singular → “is higher”.

    Learn verbal ability step by step →

  4. 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.

    Learn verbal ability step by step →

  5. 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).

    Learn verbal ability step by step →

  6. Q28.Verbal ability

    Choose the correctly spelt word.
    Show answer & solution

    Answer: D. Occurrence

    Occurrence — double c, double r, ending -ence.

    Learn verbal ability step by step →

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.