Skills101

Virtusa aptitude questions with answers (2026)

28 solved questions in the style of the Virtusa test — quantitative aptitude (8), logical reasoning (6), pseudocode (10), english (4). Tap an option to check it; every question has a step-by-step solution and a link to the free lesson.

Updated 29 November 2026 · Original questions written by Skills101, answers computed and checked · Virtusa syllabus & exam pattern →

🎯 Today’s placement challenge — 10 questions, no login. Can you score 10/10?Take today’s challenge →

Quantitative aptitude

  1. Q1.Profit, loss & discount

    A shopkeeper buys a jacket for ₹400, marks it 50% above the cost price and then gives a 20% discount. What is his profit or loss percentage?
    Show answer & solution

    Answer: A. 20% profit

    Marked price = 400 × 150/100 = ₹600. Selling price = 600 × 80/100 = ₹480. Profit = 80 on 400 = 20% profit.

    Learn profit, loss & discount step by step →

  2. Q2.Probability

    A bag has 5 red and 7 blue balls. Two balls are drawn at random without replacement. What is the probability that both are red?
    Show answer & solution

    Answer: D. 5/33

    Ways to pick 2 red = C(5,2) = 10. Ways to pick any 2 = C(12,2) = 66. Probability = 10/66 = 5/33.

    Learn probability step by step →

  3. Q3.Number system (remainders)

    What is the remainder when 46 × 33 is divided by 13?
    Show answer & solution

    Answer: D. 10

    Use remainders: 46 mod 13 = 7, 33 mod 13 = 7. Their product 7 × 7 = 49, and 49 mod 13 = 10. (Check: 46 × 33 = 1518 = 13 × 116 + 10.)

    Learn number system (remainders) step by step →

  4. Q4.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 5 : 4?
    Show answer & solution

    Answer: C. 17.6 litres

    Milk = 32 L, water = 8 L. Milk stays the same, so water needed = 32 × 4/5 = 25.6 L. Add 25.6 − 8 = 17.6 litres.

    Learn mixtures & alligation step by step →

  5. Q5.Time & work (pipes)

    Pipe A can fill a tank in 12 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: B. 30 hours

    Net filling per hour = 1/12 − 1/20 = 1/30. Time = 30 hours (ab/(b − a) = 240/8).

    Learn time & work (pipes) step by step →

  6. Q6.HCF & LCM

    The HCF of two numbers is 12 and their LCM is 168. If one number is 24, what is the other?
    Show answer & solution

    Answer: B. 84

    HCF × LCM = product of the two numbers. Other number = 12 × 168 ÷ 24 = 84.

    Learn hcf & lcm step by step →

  7. Q7.Probability

    Two fair dice are thrown together. What is the probability that the sum of the numbers is 9?
    Show answer & solution

    Answer: D. 1/9

    There are 6 × 6 = 36 outcomes. Pairs with sum 9: (3,6), (4,5), (5,4), (6,3) → 4 pairs. Probability = 4/36 = 1/9.

    Learn probability step by step →

  8. Q8.Problems on ages

    The ratio of the present ages of Siddharth and Priya is 2 : 3. After 4 years the ratio will be 7 : 10. What is Priya’s present age?
    Show answer & solution

    Answer: D. 36 years

    Let the ages be 2x and 3x. Then (2x + 4) / (3x + 4) = 7/10 → 10(2x + 4) = 7(3x + 4) → x = 12. Priya is 3 × 12 = 36 years (check: 28 : 40 = 7 : 10).

    Learn problems on ages step by step →

Logical reasoning

  1. Q9.Coding–decoding

    In a certain code, PLANT is written as NJYLR. How is LOGIC written in that code?
    Show answer & solution

    Answer: B. JMEGA

    Each letter moves 2 places back in the alphabet (P→N). So LOGIC → JMEGA.

    Learn coding–decoding step by step →

  2. Q10.Number series

    Find the next number in the series: 4, 10, 22, 46, 94, 190, ?
    Show answer & solution

    Answer: C. 382

    Pattern — each term = previous × 2 + 2. Next term = 382.

    Learn number series step by step →

  3. Q11.Ranking & order

    In a class, Divya is 19th from the top and 24th from the bottom. How many students are in the class?
    Show answer & solution

    Answer: D. 42

    Divya is counted in both positions, so total = 19 + 24 − 1 = 42.

    Learn ranking & order step by step →

  4. Q12.Odd one out

    Find the odd one out: 27, 343, 345, 512
    Show answer & solution

    Answer: A. 345

    343, 27, 512 are perfect cubes; 345 is not.

    Learn odd one out step by step →

  5. Q13.Direction sense

    Ishita walks 19 km north, turns right and walks 8 km, then turns right again and walks 4 km. How far and in which direction is Ishita from the starting point?
    Show answer & solution

    Answer: A. 17 km, North-East

    Net north = 19 − 4 = 15 km; net east = 8 km. Distance = √(15² + 8²) = 17 km, towards the North-East.

    Learn direction sense step by step →

  6. Q14.Blood relations

    Pointing to a man, Meera said, “He is the only son of my grandfather’s only son.” If Meera is a girl, how is the man related to her?
    Show answer & solution

    Answer: A. Brother

    My grandfather’s only son is my father. The only son of my father (and Meera is a girl) is her brother.

    Learn blood relations step by step →

Pseudocode

  1. Q15.Pseudocode — arrays

    What will be printed? (Arrays start at index 0.)
    Integer arr[5] = {13, 14, 1, 3, 9}
    for (i = 1 to 4)
        arr[i] = arr[i] + arr[i - 1]
    end for
    Print arr[4]
    Show answer & solution

    Answer: B. 40

    Each element becomes the running total: [13, 14, 1, 3, 9] → [13, 27, 28, 31, 40]. arr[4] = 40.

    Learn pseudocode — arrays step by step →

  2. Q16.Pseudocode — bitwise operators

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

    Answer: B. 88

    6 = 00110, 16 = 10000. 6 XOR 16 = 10110 = 22. Shifting left by 2 multiplies by 4: 88.

    Learn pseudocode — bitwise operators step by step →

  3. Q17.Pseudocode — loops

    What will this pseudocode print?
    Integer s = 0
    for (i = 1 to 30)
        if (i mod 4 == 0)
            s = s + i
        end if
    end for
    Print s
    Show answer & solution

    Answer: A. 112

    It adds the multiples of 4 from 1 to 30: 4 + 8 + 12 + 16 + 20 + 24 + 28 = 112. (The loop includes 30.)

    Learn pseudocode — loops step by step →

  4. Q18.Pseudocode — loops

    What does this pseudocode print?
    Integer a = 75, b = 45
    while (b != 0)
        Integer t = b
        b = a mod b
        a = t
    end while
    Print a
    Show answer & solution

    Answer: B. 15

    This is Euclid’s algorithm for the HCF: (75, 45) → (45, 30) → (30, 15) → (15, 0). It prints 15, the HCF of 75 and 45.

    Learn pseudocode — loops step by step →

  5. Q19.Pseudocode — while loops

    What will this pseudocode print?
    Integer n = 69540, r = 0
    while (n > 0)
        r = r * 10 + (n mod 10)
        n = n / 10      // integer division
    end while
    Print r
    Show answer & solution

    Answer: A. 4596

    Each step moves the last digit of n to the end of r, so r is n reversed: 4596. (Leading zeros disappear because r is an integer.)

    Learn pseudocode — while loops step by step →

  6. Q20.Pseudocode — tracing

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

    Answer: B. 0

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

    Learn pseudocode — tracing step by step →

  7. Q21.Pseudocode — arrays

    What will be printed? (Arrays start at index 0.)
    Integer arr[5] = {7, 5, 13, 11, 1}
    for (i = 1 to 4)
        arr[i] = arr[i] + arr[i - 1]
    end for
    Print arr[4]
    Show answer & solution

    Answer: C. 37

    Each element becomes the running total: [7, 5, 13, 11, 1] → [7, 12, 25, 36, 37]. arr[4] = 37.

    Learn pseudocode — arrays step by step →

  8. Q22.Pseudocode — bitwise operators

    What is printed? (^ is bitwise XOR, << is left shift)
    Integer a = 18, b = 15
    Integer c = (a ^ b) << 1
    Print c
    Show answer & solution

    Answer: C. 58

    18 = 10010, 15 = 01111. 18 XOR 15 = 11101 = 29. Shifting left by 1 multiplies by 2: 58.

    Learn pseudocode — bitwise operators step by step →

  9. Q23.Pseudocode — loops

    What will this pseudocode print?
    Integer s = 0
    for (i = 1 to 25)
        if (i mod 7 == 0)
            s = s + i
        end if
    end for
    Print s
    Show answer & solution

    Answer: D. 42

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

    Learn pseudocode — loops step by step →

  10. Q24.Pseudocode — loops

    What does this pseudocode print?
    Integer a = 72, b = 16
    while (b != 0)
        Integer t = b
        b = a mod b
        a = t
    end while
    Print a
    Show answer & solution

    Answer: A. 8

    This is Euclid’s algorithm for the HCF: (72, 16) → (16, 8) → (8, 0). It prints 8, the HCF of 72 and 16.

    Learn pseudocode — loops step by step →

English

  1. Q25.Verbal ability

    Fill in the blank: Each of the students ___ submitted the assignment.
    Show answer & solution

    Answer: C. has

    “Each” is singular, so it takes has.

    Learn verbal ability step by step →

  2. Q26.Verbal ability

    Choose the word opposite in meaning to “OBSOLETE”.
    Show answer & solution

    Answer: C. Modern

    Obsolete means no longer in use; its opposite is modern/current.

    Learn verbal ability step by step →

  3. Q27.Verbal ability

    Fill in the blank: The project was completed ___ the deadline.
    Show answer & solution

    Answer: D. before

    Finished earlier than the deadline → before.

    Learn verbal ability step by step →

  4. Q28.Verbal ability

    Fill in the blank: She ___ in Pune since 2022.
    Show answer & solution

    Answer: C. 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 →

Ready for the real thing?

Practise every topic with a 5-question quiz after each lesson and earn a free certificate.

Skills101 is not affiliated with Virtusa. These are original practice questions written in the style of the commonly reported Virtusa test pattern; they are not leaked or copied exam questions.