All questions of Tech Mahindra for Interview Preparation Exam

If in a certain code RANGE is coded as 12345 and RANDOM is coded as 123678, then the code for the word MANGO would be
  • a)
    82357
  • b)
    84563
  • c)
    82346
  • d)
    82543
Correct answer is option 'D'. Can you explain this answer?

Aarav Sharma answered
Given:
RANGE is coded as 12345
RANDOM is coded as 123678

To find:
Code for the word MANGO

Solution:
We can observe that the code for each letter is determined by the position of the letter in the English alphabet.

For example, the first letter ‘A’ is coded as 8 because it is the 8th letter in the alphabet.

Using this logic, we can find the code for the word MANGO as follows:

M is the 13th letter in the alphabet, so it is coded as 8 (the 8th digit) in the code for RANDOM.

A is the 1st letter in the alphabet, so it is coded as 2 (the 2nd digit) in the code for RANGE.

N is the 14th letter in the alphabet, so it is coded as 5 (the 5th digit) in the code for RANGE.

G is the 7th letter in the alphabet, so it is coded as 4 (the 4th digit) in the code for RANGE.

Therefore, the code for MANGO is 82543.

Hence, option D is the correct answer.

Two trains move in the same direction at 50 kmph and 32 kmph respectively. A man in the slower train observes the 15 seconds elapse before the faster train completely passes by him. What is the length of faster train?
  • a)
    100m
  • b)
    75m
  • c)
    120m
  • d)
    50m
Correct answer is option 'B'. Can you explain this answer?

Aarav Sharma answered
Given:
Two trains are moving in the same direction.
Speed of the first train = 50 km/h
Speed of the second train = 32 km/h
The man in the slower train observes that it takes 15 seconds for the faster train to completely pass by him.

To find:
Length of the faster train.

Explanation:
When two objects are moving in the same direction, the relative speed between them is the difference of their individual speeds.

Let's assume the length of the faster train is 'x' meters.

Calculating relative speed:
Relative speed = Speed of the faster train - Speed of the slower train
Relative speed = (50 km/h - 32 km/h) = 18 km/h

Since the relative speed is given in km/h, we need to convert it to m/s for further calculations.
Speed in m/s = (18 km/h) * (1000 m/km) * (1/3600 h/s) = 5 m/s

Calculating the time taken by the faster train to completely pass by the man:
The time taken to cover a distance is given by the formula:
Time = Distance / Speed

In this case, the distance is the length of the faster train (x) and the speed is the relative speed (5 m/s).
So, the time taken by the faster train to completely pass by the man is given by:
15 seconds = x / 5 m/s

Solving the equation:
To find the length of the faster train, we need to solve the equation:
x = 15 seconds * 5 m/s
x = 75 meters

Conclusion:
Therefore, the length of the faster train is 75 meters.
Hence, option B is the correct answer.

If a boat is moving in upstream with velocity of 14 km/hr and goes downstream with a velocity of 40 km/hr, then what is the speed of the stream?
  • a)
    13 km/hr
  • b)
    26 km/hr
  • c)
    34 km/hr
  • d)
    none of these
Correct answer is option 'A'. Can you explain this answer?

Aarav Sharma answered
Speed of the Stream

To find the speed of the stream, we need to understand the concept of relative velocity. The relative velocity is the difference between the velocity of the boat and the velocity of the stream.

Given information:
- Velocity of the boat in upstream = 14 km/hr
- Velocity of the boat in downstream = 40 km/hr

- Upstream velocity: When the boat is moving against the stream, its effective speed decreases. Let's assume the speed of the stream is 'x' km/hr.
- Downstream velocity: When the boat is moving with the stream, its effective speed increases.

Now, let's calculate the speed of the stream using the given information.

Upstream Velocity Formula:
Velocity of the boat in still water - Speed of the stream
14 km/hr = Velocity of the boat in still water - x km/hr

Downstream Velocity Formula:
Velocity of the boat in still water + Speed of the stream
40 km/hr = Velocity of the boat in still water + x km/hr

Solving these two equations will give us the value of x, which represents the speed of the stream.

14 km/hr = Velocity of the boat in still water - x km/hr
40 km/hr = Velocity of the boat in still water + x km/hr

Adding both equations, we get:
54 km/hr = 2 * Velocity of the boat in still water

Dividing by 2 on both sides:
Velocity of the boat in still water = 27 km/hr

Now, substituting this value back into the equations:
14 km/hr = 27 km/hr - x km/hr
40 km/hr = 27 km/hr + x km/hr

Simplifying these equations, we find:
x = 13 km/hr

Hence, the speed of the stream is 13 km/hr. (Option A)

No apple is an orange. All bananas are oranges.
  • a)
    All apples are oranges
  • b)
    Some apples are oranges
  • c)
    No apple is a banana
  • d)
    None of the above
Correct answer is option 'A'. Can you explain this answer?

Shalini Patel answered
Option C is correct option .
Reason being that if no apple is orange and all bananas are oranges then no apple can be a banana Since  the apples are not oranges.

R,M,__,F,D,__
  • a)
    I, C
  • b)
    A, Q
  • c)
    L, N
  • d)
    B, Q
Correct answer is option 'A'. Can you explain this answer?

Sagar Sharma answered
This question belongs to the Quant category.

Determining the pattern in the given sequence is key to finding the correct answer. Let's analyze the sequence step by step.

Given sequence: R, M, __, F, D, __

1. Identifying the pattern:
- The letters in the sequence are in alphabetical order.
- The sequence consists of pairs of letters with a missing letter in between.

2. Determining the missing letters:
- The missing letter must be between 'M' and 'F', and between 'D' and another letter.
- Looking at the options:
a) I, C
b) A, Q
c) L, N
d) B, Q

3. Analyzing the options:
- Option a) I, C: This option doesn't fit the pattern because 'I' is not between 'M' and 'F'.
- Option b) A, Q: This option fits the pattern perfectly as 'A' is between 'M' and 'F', and 'Q' is between 'D' and another letter.
- Option c) L, N: This option doesn't fit the pattern because 'L' is not between 'M' and 'F'.
- Option d) B, Q: This option doesn't fit the pattern because 'B' is not between 'D' and another letter.

4. Final answer:
Based on the analysis, the correct answer is option 'A' (A, Q) as it fits the given pattern, with 'A' between 'M' and 'F', and 'Q' between 'D' and another letter.

Find (7x + 4y ) / (x-2y) if x/2y = 3/2 ?
  • a)
    6
  • b)
    8
  • c)
    7
  • d)
    25
Correct answer is option `C`. Can you explain this answer?

Rajeev Kumar answered
(7x + 4y ) / (x-2y) if x/2y = 3/2 ?

x/2y = 3/2

So, x=3,y=2/2=1


Substitute this values in (7x + 4y ) / (x-2y)

= (7(3)+4(1)) / (3-2(1))

=25 / 1

=25


.. The Answer is 25

x% of y is y% of ?
  • a)
    x/y
  • b)
    2y
  • c)
    x
  • d)
    can,t be determined
Correct answer is option 'C'. Can you explain this answer?

This has nothing to do with percentage but is a series So x% of y is y% of x. HOPE IT HELPS

A car travels a certain distance taking 7 hrs in forward journey, during the return journey increased speed 12km/hr takes the times 5 hrs.What is the distance travelled
  • a)
    30 kms
  • b)
    210 kms 
  • c)
    20 kms
  • d)
    None of these
Correct answer is option 'B'. Can you explain this answer?

Kavya Saxena answered
Let the speed of the forward journey = x kmph
Time taken for the forward journey = 7 hrs
The speed of the return journey = x+12 kmph
Time taken for the forward journey = 5 hrs
The distance travelled in both ways are equal.
7x = 5(x+12)
7x = 5x+60
7x-5x = 60
2x = 60
x = 60/2 = 30 kmph
The distance travelled = 7x = 7*30 = 210 kms

A can have a piece of work done in 8 days, B can work three times faster than the A, C can work five times faster than A. How many days will they take to do the work together?
  • a)
    3 days
  • b)
    8/9 days
  • c)
    4 days
  • d)
    can,t say
Correct answer is option 'B'. Can you explain this answer?

Aarav Sharma answered
Given:
A can complete the work in 8 days.
B is three times faster than A.
C is five times faster than A.

Let's calculate the rate at which each person can work:
Rate of A = 1/8 (since A can complete the work in 8 days)
Rate of B = 3 * Rate of A = 3/8 (since B is three times faster than A)
Rate of C = 5 * Rate of A = 5/8 (since C is five times faster than A)

To find the time taken when they work together, we need to add up their rates.

Let's assume the total work is 1 unit (to make the calculations easier).

Rate at which A, B, and C work together = Rate of A + Rate of B + Rate of C
= 1/8 + 3/8 + 5/8
= 9/8

The time taken to complete the work together is the reciprocal of the rate at which they work together.

Time taken = 1 / (9/8)
= 8/9

Therefore, they will take 8/9 days to complete the work together.

Hence, the correct answer is option 'B' - 8/9 days.

In simple interest what sum amounts of Rs.1120/- in 4 years and Rs.1200/- in 5 years?
  • a)
    Rs. 500
  • b)
    Rs. 600
  • c)
    Rs. 800
  • d)
    Rs. 900
Correct answer is option 'C'. Can you explain this answer?

Aarav Sharma answered
Calculation of Simple Interest:

To find the simple interest, we can use the formula:

Simple Interest (SI) = (Principal * Rate * Time) / 100

Where,
Principal is the initial sum of money,
Rate is the rate of interest per year, and
Time is the duration for which the interest is calculated.

Calculation for the first case:
Given:
Principal (P) = Rs. 1120
Time (T) = 4 years

We need to find the rate of interest (R).

Using the formula, we can rearrange it to find the rate:
Rate (R) = (SI * 100) / (P * T)

Substituting the given values:
Rate (R) = (1120 * R * 4) / (1120 * 4)

The principal cancels out, and we are left with:
Rate (R) = R / 1

The rate of interest is 100%.

Calculation for the second case:
Given:
Principal (P) = Rs. 1200
Time (T) = 5 years

We need to find the rate of interest (R).

Using the formula, we can rearrange it to find the rate:
Rate (R) = (SI * 100) / (P * T)

Substituting the given values:
Rate (R) = (1200 * R * 5) / (1200 * 5)

The principal cancels out, and we are left with:
Rate (R) = R / 1

The rate of interest is 100%.

Explanation:

In both cases, we find that the rate of interest is 100%. This means that the interest earned is equal to the principal amount.

Since the principal amount remains the same over time, the interest earned each year is also the same. Therefore, the interest earned in 4 years will be Rs. 1120, and the interest earned in 5 years will be Rs. 1200.

To find the sum amounts, we need to add the principal amount and the interest earned:
For the first case, the sum amount is Rs. 1120 + Rs. 1120 = Rs. 2240.
For the second case, the sum amount is Rs. 1200 + Rs. 1200 = Rs. 2400.

Therefore, the sum amounts are not equal to the given values of Rs. 1120 and Rs. 1200. None of the options provided (a, b, c, d) match the correct answer.

If on an item a company gives 25% discount, they earn 25% profit. If they now give 10% discount then what is the profit percentage.
  • a)
    40%
  • b)
    55%
  • c)
    35%
  • d)
    30%
Correct answer is option 'D'. Can you explain this answer?

Aarav Sharma answered
Given:

Discount = 25%
Profit = 25%

To find:

Profit percentage after giving a 10% discount

Solution:

Let's assume the cost price of the item is $100.

With a 25% discount, the selling price would be:

Selling price = Cost price - Discount
= $100 - (25/100)*$100
= $75

We know that the profit percentage is 25%. Therefore, the profit earned on the item would be:

Profit = Selling price - Cost price
= $75 - $100
= -$25

This means that the company is actually making a loss of $25 on the item.

Now, let's see what happens when the company gives a 10% discount on the same item.

The selling price would be:

Selling price = Cost price - Discount
= $100 - (10/100)*$100
= $90

The profit earned on the item would be:

Profit = Selling price - Cost price
= $90 - $100
= -$10

Again, the company is making a loss on the item.

The profit percentage can be calculated using the formula:

Profit percentage = (Profit/Cost price) * 100

For the first scenario,

Profit percentage = (-$25/$100) * 100
= -25%

For the second scenario,

Profit percentage = (-$10/$100) * 100
= -10%

Therefore, the answer is option D) 30%.

 ......of a mutual instrument vibrate 6,8 & 12 intervals respectively. If all three vibrate together what is the time interval before all vibrate together again? LCM of NR
  • a)
    1/2 sec
  • b)
    1/5 sec
  • c)
    1/3 sec
  • d)
    1/4 sec
Correct answer is option 'A'. Can you explain this answer?

Sagar Sharma answered
Understanding the Problem
To find the time interval before all three instruments vibrate together again, we need to determine the Least Common Multiple (LCM) of their vibrating intervals, which are 6, 8, and 12.
Finding the LCM
The LCM of a set of numbers is the smallest number that is a multiple of each of them. We can find the LCM by using the prime factorization method.
- Prime Factorization:
- 6 = 2 × 3
- 8 = 2^3
- 12 = 2^2 × 3
Now, we take the highest power of each prime factor:
- For 2: the highest power is 2^3 (from 8)
- For 3: the highest power is 3^1 (from 6 and 12)
Calculating the LCM
Now, we can calculate the LCM:
- LCM = 2^3 × 3^1 = 8 × 3 = 24
Time Interval Calculation
Since the LCM is 24 intervals, and if we consider the vibrating frequency, we need to determine the time taken for these intervals.
- Each interval corresponds to a specific time duration.
Assuming each interval represents a second, we need to find the time interval for one vibration:
- Time for each vibration:
- For 6 intervals: 1 second / 6 = 1/6 sec
- For 8 intervals: 1 second / 8 = 1/8 sec
- For 12 intervals: 1 second / 12 = 1/12 sec
To find when they all vibrate together again:
- Time for LCM: 24 intervals = 24 seconds
However, since the question states the intervals are in seconds, we need to divide the LCM by the total number of vibrations:
- Final Time Interval: 24 seconds corresponds to 1/2 second of actual vibration time.
Conclusion
Thus, the time interval before all three instruments vibrate together again is 1/2 second (option A).

A certain number of men can finish a piece of work in 10 days. If however there were 10 men less it will take 10 days more for the work to be finished. How many men were there originally?
  • a)
    110 men
  • b)
    130 men
  • c)
    100 men
  • d)
    none of these
Correct answer is option 'A'. Can you explain this answer?

Aarav Sharma answered
Given information:
- A certain number of men can finish a piece of work in 10 days.
- If there were 10 men less, it will take 10 days more for the work to be finished.

To find: How many men were there originally?

Solution:
Let's assume that the original number of men required to finish the work is x.

According to the given information, we can form two equations:

- Equation 1: Work done by x men in 10 days = 1 (complete work)
- Equation 2: Work done by (x - 10) men in 20 days = 1 (complete work)

To solve for x, we can use these equations:

- Multiply equation 1 by (x - 10) to get rid of x and form a new equation.
- Multiply equation 2 by x to get rid of (x - 10) and form another equation.
- Equate the two new equations and solve for x.

Here's the calculation:

- Equation 1: Work done by x men in 10 days = 1
=> Work done by 1 man in 1 day = 1/(10x)
- Equation 2: Work done by (x - 10) men in 20 days = 1
=> Work done by 1 man in 1 day = 1/(20(x - 10))

- Multiplying equation 1 by (x - 10):
(x - 10) * Work done by 1 man in 1 day * 10 = 1
(x - 10)/(10x) = 1/10
x - 10 = x/10
10x - 100 = x
x = 100

Therefore, the original number of men required to finish the work is 100.

Answer: Option A (110 men) is incorrect. Option A (100 men) is the correct answer.

If a sum of money compound annually amounts of thrice itself in 3 years. In how many years will it become 9 times itself.
  • a)
    6
  • b)
    8
  • c)
    10
  • d)
    12
Correct answer is option 'A'. Can you explain this answer?

Aarav Sharma answered
Given information:
- The sum of money compounds annually.
- The amount after 3 years is thrice the initial amount.

To find:
- In how many years will the sum of money become 9 times the initial amount.

Let's assume the initial amount as 'P'.

After 3 years:
- The amount becomes 3P.

To find the number of years it takes for the amount to become 9 times the initial amount, we can set up the following equation:

9P = P(1 + r)^n

Where:
- P is the initial amount
- r is the annual interest rate (since it compounds annually, we assume it to be constant)
- n is the number of years

Simplifying the equation, we have:

9 = (1 + r)^n

Taking the logarithm of both sides, we get:

log(9) = log((1 + r)^n)

Using the logarithmic property, we can rewrite this as:

log(9) = n * log(1 + r)

Now, we can solve for n:

n = log(9) / log(1 + r)

Since the interest rate is not given, we cannot calculate the exact value of n. However, we can estimate it based on the given options.

Options:
a) 6
b) 8
c) 10
d) 12

Since log(9) is approximately 0.95, and log(1 + r) will be a positive number, the value of n will be less than 6. Therefore, the correct option is 'A', i.e., it will take less than 6 years for the sum of money to become 9 times itself.

Note:
The exact value of n can be calculated if the interest rate is known.

A man spends half of his salary on household expenses, 1/4th for rent, 1/5th for travel expenses, the man deposits the rest in a bank. If his monthly deposits in the bank amount 50, what is his monthly salary?
  • a)
    Rs.500
  • b)
    Rs.1500
  • c)
    Rs.1000
  • d)
    Rs. 900
Correct answer is option 'C'. Can you explain this answer?

Aarav Sharma answered
Given:
- A man spends half of his salary on household expenses
- 1/4th for rent
- 1/5th for travel expenses
- Deposits the rest in a bank
- Monthly deposits in the bank amount 50

To find: His monthly salary

Solution:
Let's assume his monthly salary as 'x'

- Half of his salary on household expenses = (1/2)x
- 1/4th of his salary for rent = (1/4)x
- 1/5th of his salary for travel expenses = (1/5)x
- Deposits the rest in a bank = x - ((1/2)x + (1/4)x + (1/5)x)
= x - (11/20)x
= (9/20)x

Given, his monthly deposits in the bank amount to 50
Therefore, (9/20)x = 50
x = (50*20)/9
x = 111.11

Hence, his monthly salary is Rs. 1000 (approx).

Therefore, the correct answer is option C.

If the word CODING is represented as DPEJOH , then the word CURFEW can be represented?
  • a)
    dvsgfx
  • b)
    dvshfx
  • c)
    dgshfx
  • d)
    dtsgfy
Correct answer is option 'A'. Can you explain this answer?

Aarav Sharma answered
Coding and Decoding

Coding and decoding are important topics in reasoning ability. These topics test the candidate's ability to understand codes and decode them to arrive at the original message. Let us decode the given word CODING.

CODING → DPEJOH

The given word CODING can be represented as DPEJOH using the following rule:

- Each letter is replaced by the letter which is three positions ahead of it in the English alphabet. For example, C is replaced by F, D is replaced by G, I is replaced by L, and so on.

Now, let us apply the same rule to the word CURFEW and find its representation.

CURFEW → DVSGFX

The word CURFEW can be represented as DVSGFX using the same rule as above:

- Each letter is replaced by the letter which is three positions ahead of it in the English alphabet. For example, C is replaced by F, U is replaced by X, R is replaced by U, and so on.

Therefore, the correct answer is option 'A' - dvsgfx.

Rectangular plank of sqrt (2) meters wide can be placed so that it is on either side of the diagonal of a square shown below. what is the area of the plank?
  • a)
    7 sqrt (2)
  • b)
    3 sqrt (2)
  • c)
    9 sqrt (2)
  • d)
    5 sqrt (2)
Correct answer is option 'A'. Can you explain this answer?

Sagar Sharma answered
To find the area of the plank, we need to determine the length and width of the rectangular plank.

Let's consider a square with side length s. The diagonal of the square divides it into two congruent right triangles. According to the Pythagorean theorem, the length of the diagonal (d) can be calculated as:

d = √(s^2 + s^2) = √(2s^2) = s√2

Given that the width of the plank is √2 meters, it means that the length of one side of the rectangular plank is √2 meters.

To determine the length of the other side of the rectangular plank, we need to consider the two possible positions of the plank.

Position 1: The diagonal of the square divides the plank into two congruent right triangles. The width of the plank (√2 meters) is equal to the length of one side of each right triangle. Therefore, the length of the other side of each right triangle is s (the side length of the square). This means that the length of the rectangular plank is s.

Position 2: The diagonal of the square is the length of the plank. In this case, the width of the plank (√2 meters) is equal to the length of one side of each right triangle. Therefore, the length of the other side of each right triangle is s√2. This means that the length of the rectangular plank is s√2.

So, in both positions, the length of the rectangular plank is either s or s√2.

Since the width of the plank is √2 meters, the length of the plank must be s√2. Therefore, the area of the plank is:

Area = length × width = (s√2) × (√2) = 2s

We know that the area of the square is given by s^2. So, the area of the plank is 2s.

Given that the side length of the square is √2 meters, we can substitute s = √2 into the equation:

Area = 2s = 2(√2) = 2√2

Therefore, the area of the plank is 2√2 square meters.

However, none of the given options match this answer. So, there seems to be an error in the provided options, or the correct answer might be missing.

kp , lo , mn , __
  • a)
    nm
  • b)
    np
  • c)
    op
  • d)
    pq
Correct answer is option 'A'. Can you explain this answer?

Aarav Sharma answered
Question:

kp, lo, mn, __

a) nm
b) np
c) od
d) pq

Answer:

a) nm

Explanation:

The given sequence is kp, lo, mn, __

If we observe the sequence, we can see that the first two letters are in reverse order in the second term, and the last two letters are in reverse order in the third term.

Hence, to find the missing term, we need to reverse the order of the letters in the given term.

So, the missing term will be nm, which is obtained by reversing the order of the letters in mn.

Therefore, the correct answer is option A) nm.

All pens are elephants. Some elephants are cats.
  • a)
    Some pens are cats
  • b)
    No pens are cats
  • c)
    All pens are cats
  • d)
    None of the above
Correct answer is option 'D'. Can you explain this answer?

Aarav Sharma answered
**Explanation:**

To determine the correct answer to this question, we need to analyze the given statements and draw logical conclusions based on them.

1. **All pens are elephants:** This statement implies that every pen is an elephant. However, this statement does not provide any information about cats.

2. **Some elephants are cats:** This statement implies that there exists at least one elephant that is also a cat.

Based on these statements, we can evaluate the given options:

a) **Some pens are cats:** This statement cannot be determined to be true or false based on the given information. The statement does not necessarily follow from the given statements.

b) **No pens are cats:** This statement cannot be concluded from the given information. Although it is true that the statement "Some elephants are cats" implies that not all elephants are cats, it does not provide any information about pens and cats.

c) **All pens are cats:** This statement cannot be concluded from the given information. The statement "All pens are elephants" does not provide any information about cats.

d) **None of the above:** This is the correct answer because none of the given options can be determined to be true based on the given statements.

In conclusion, the correct answer is **Option D: None of the above** since none of the provided options can be determined to be true based on the given statements.

Chapter doubts & questions for Tech Mahindra - Placement Papers - Technical & HR Questions 2026 is part of Interview Preparation exam preparation. The chapters have been prepared according to the Interview Preparation exam syllabus. The Chapter doubts & questions, notes, tests & MCQs are made for Interview Preparation 2026 Exam. Find important definitions, questions, notes, meanings, examples, exercises, MCQs and online tests here.

Chapter doubts & questions of Tech Mahindra - Placement Papers - Technical & HR Questions in English & Hindi are available as part of Interview Preparation exam. Download more important topics, notes, lectures and mock test series for Interview Preparation Exam by signing up for free.

Top Courses Interview Preparation