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
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.
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.
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.)
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.
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).
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.
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.
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).
Logical reasoning
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.
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.
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.
Q12.Odd one out
Find the odd one out: 27, 343, 345, 512Show answer & solution
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.
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.
Pseudocode
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.
Q16.Pseudocode — bitwise operators
What is printed? (^ is bitwise XOR, << is left shift)Integer a = 6, b = 16 Integer c = (a ^ b) << 2 Print cShow answer & solution
Answer: B. 88
6 = 00110, 16 = 10000. 6 XOR 16 = 10110 = 22. Shifting left by 2 multiplies by 4: 88.
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 sShow 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.)
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 aShow 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.
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 rShow 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.)
Q20.Pseudocode — tracing
What will be printed?Integer x = 4 for (i = 1 to 3) x = (x * 3 + 1) mod 11 end for Print xShow answer & solution
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.
Q22.Pseudocode — bitwise operators
What is printed? (^ is bitwise XOR, << is left shift)Integer a = 18, b = 15 Integer c = (a ^ b) << 1 Print cShow answer & solution
Answer: C. 58
18 = 10010, 15 = 01111. 18 XOR 15 = 11101 = 29. Shifting left by 1 multiplies by 2: 58.
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 sShow answer & solution
Answer: D. 42
It adds the multiples of 7 from 1 to 25: 7 + 14 + 21 = 42. (The loop includes 25.)
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 aShow 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.
English
Q25.Verbal ability
Fill in the blank: Each of the students ___ submitted the assignment.Show answer & solution
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.
Q27.Verbal ability
Fill in the blank: The project was completed ___ the deadline.Show answer & solution
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.
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.