Skip to main content

Must-know Aptitude interview questions

15 reported frequent at Infosys, TCS, Accenture and 3 more. “Reported” because the company tags have no public source. Every quick answer is free.

Questions on this page
15
Must know
0
picked by the editor
Reported frequent
15
company tags, reported
Companies
6
with a frequent tag

Reported frequent· 15

Tagged as frequent at a company. Reported: the tags have no public source.

  1. A shopkeeper marks an item 40% above cost and gives a 15% discount on the marked price. What is his profit percentage?Take CP = 100: MP = 140, after 15% discount SP = 119, so profit = 19%. Shortcut: net% = markup - discount - (markup x discount)/100 = 40 - 15 - 6 = 19%. Key trap: markup is on cost, discount is on marked price.BeginnerFreeReported frequent at Cognizant+1
  2. A and B together can complete a piece of work in 12 days, B and C in 15 days, and A and C in 20 days. How long will all three working together take?Add the three pairwise per-day rates: sum = 2(A+B+C). Here 1/12+1/15+1/20 = 1/5, so A+B+C = 1/10 per day, meaning all three finish in 10 days. Individual rates come from subtracting a pair from the total.BeginnerFreeReported frequent at TCS
  3. In how many ways can the letters of the word 'LEADING' be arranged so that the vowels always come together?Treat the 3 vowels (E, A, I) as one block. Arrange the block and 4 consonants as 5 units: 5! = 120 ways. Arrange the vowels inside the block: 3! = 6 ways. Total = 120 x 6 = 720 arrangements.BeginnerFreeReported frequent at Infosys
  4. Pseudocode output: What does this print? Integer a, b Set a = 5 Set b = 0 for(each i from 1 to 3) b = b + a a = a - 1 end for Print bDry-run the loop: b accumulates a's current value (5, then 4, then 3) across 3 iterations = 12. Statement order matters - b uses a before a decrements. Always tabulate rather than trace mentally.Beginner₹99 (Interview Prep or Pro plan required)Reported frequent at Accenture
  5. A boat goes 30 km downstream in 2 hours and returns the same 30 km upstream in 3 hours. Find the speed of the boat in still water and the speed of the stream.Downstream = b+s = 15, upstream = b-s = 10. Adding gives boat = 12.5 km/h; subtracting gives stream = 2.5 km/h.BeginnerFreeReported frequent at Wipro
  6. Aptitude (data interpretation): A company's revenue grew from 80 lakh to 1 crore over a year, while costs rose from 60 lakh to 70 lakh. By what percentage did profit increase?Profit = revenue - cost: 20 lakh then 30 lakh, so increase = 10/20 = 50%. Don't confuse it with revenue growth (25%) - compute the exact metric (profit) first.Beginner₹99 (Interview Prep or Pro plan required)Reported frequent at Deloitte
  7. Find the next number in the series: 3, 6, 11, 18, 27, ?The differences are 3, 5, 7, 9 (consecutive odds), so the next difference is 11, giving 27 + 11 = 38. It also matches the formula n^2 + 2. Always check first/second differences, ratios, and square/cube patterns.BeginnerFreeReported frequent at TCS
  8. Write a program to check whether a given number is an Armstrong number (e.g., 153 = 1^3 + 5^3 + 3^3).An Armstrong number equals the sum of its digits each raised to the power of the digit count: 153 = 1^3 + 5^3 + 3^3. Count the digits d, extract each digit with n % 10 and n / 10, add digit^d, and compare with the original. Time is O(d^2) with a simple power loop, or O(d log d) with fast power.Beginner₹99 (Interview Prep or Pro plan required)Reported frequent at TCS
  9. Write a program to reverse an array in place (without using an extra array).Use two pointers at the ends, swap elements, and move inward until they meet: O(n) time, O(1) space. It swaps n/2 pairs in place. This two-pointer swap also powers string reversal and palindrome checks; avoid an extra array to keep it in-place.Beginner₹99 (Interview Prep or Pro plan required)Reported frequent at Infosys
  10. Pointing to a photograph, a man said, 'I have no brother or sister, but that man's father is my father's son.' Whose photograph was the man looking at?Since the speaker has no siblings, 'my father's son' is the speaker himself, so 'that man's father is me' means the photo is of the speaker's son. Decode blood-relation phrases from the inside out and anchor to the speaker's stated facts.BeginnerFreeReported frequent at Infosys
  11. Logical reasoning: In a group of 100 people, 60 like tea, 50 like coffee, and 20 like both. How many like neither?Inclusion-exclusion: at least one = 60 + 50 - 20 = 90 (subtract the double-counted overlap). Neither = 100 - 90 = 10. Draw a Venn diagram to avoid double-counting.BeginnerFreeReported frequent at Deloitte
  12. What is the output of the following pseudocode? Set a = 5, b = 10 for i = 1 to 3 a = a + b b = a - b end for Print a, bTrace iteration by iteration using updated values: after i=1 (a=15,b=5), i=2 (a=20,b=15), i=3 (a=35,b=20). Output is 35, 20. The trap is that b uses the already-updated a from the same iteration; always simulate with a value table.Beginner₹99 (Interview Prep or Pro plan required)Reported frequent at Infosys
  13. Aptitude (logical/blood relations): Pointing to a photograph, a man says, 'She is the daughter of my grandfather's only son.' How is the woman related to the man?By the standard convention, "my grandfather" means the father's father. His only son is the man's father, so the woman, the daughter of the man's father, is his sister. Answer: sister. If the grandfather were the mother's father, she would be a cousin.BeginnerFreeReported frequent at Accenture
  14. Aptitude (logical - series/pattern): Find the next number in the series: 2, 6, 12, 20, 30, ?Differences are 4,6,8,10 (increasing by 2), so next difference 12 gives 30+12 = 42. Confirms as n(n+1): 6x7 = 42.BeginnerFreeReported frequent at Cognizant
  15. Aptitude (time & work): A can finish a job in 12 days and B in 18 days. They work together for 4 days, then A leaves. How many more days will B take to finish the remaining work?Take total work = LCM(12,18) = 36 units; A = 3/day, B = 2/day, together 5/day. In 4 days: 20 units done, 16 remain; B alone takes 16/2 = 8 more days.BeginnerFreeReported frequent at Accenture

Reported frequent at

Must-know questions for other tools