Skip to content

Infosys Placement Papers 2024 - Previous Year Questions, IRT Pattern & Solutions

Access free Infosys placement papers 2024, previous year IRT questions with solutions, detailed exam pattern, interview questions, and complete preparation guide. Download Infosys 2024 placement papers PDF.

This page contains Infosys placement papers from 2024 with detailed solutions, exam patterns, and preparation insights. Use these previous year papers to understand the 2024 IRT pattern and prepare effectively for current year exams.

SectionQuestionsMarksTimeDifficulty
Reasoning Ability15-182525-30 minMedium
Quantitative Ability15-182530-35 minMedium-Hard
Verbal Ability15-182020-25 minEasy-Medium
Pseudo Code5-71015-20 minMedium
Coding2 problems2060-70 minMedium-Hard

Total: 65-70 questions, 100 marks, 180 minutes

This section contains real questions from Infosys IRT 2024 based on candidate experiences, PrepInsta, IndiaBix, and actual exam patterns. All questions include detailed solutions and explanations.

Q1: Profit & Loss (2024)

Problem: A shopkeeper marks an item 30% above cost price and gives 10% discount. Find his profit percentage.

Solution: Let CP = ₹100 Marked Price = ₹130 Discount = 10% of ₹130 = ₹13 Selling Price = ₹130 - ₹13 = ₹117 Profit = ₹117 - ₹100 = ₹17 Profit % = (17/100) × 100 = 17%

Answer: 17%

Q2: Time & Work (2024)

Problem: A and B can complete a work in 20 days and 30 days respectively. They work together for 6 days, then A leaves. In how many days will B complete the remaining work?

Solution: A’s 1 day work = 1/20 B’s 1 day work = 1/30 Together in 1 day = 1/20 + 1/30 = 5/60 = 1/12 Work done in 6 days = 6 × 1/12 = 1/2 Remaining work = 1 - 1/2 = 1/2 B will complete in = (1/2) / (1/30) = 15 days

Answer: 15 days

Q3: Percentage (2024)

Problem: If 20% of a number is 60, what is 35% of that number?

Solution: Let the number be x 20% of x = 60 x = 60 × 100/20 = 300 35% of 300 = 35/100 × 300 = 105

Answer: 105

Q4: Ratio & Proportion (2024)

Problem: The ratio of ages of A and B is 3:5. After 10 years, the ratio becomes 5:7. Find the present age of A.

Solution: Let present ages be 3x and 5x After 10 years: (3x + 10)/(5x + 10) = 5/7 7(3x + 10) = 5(5x + 10) 21x + 70 = 25x + 50 4x = 20 x = 5 A’s present age = 3 × 5 = 15 years

Answer: 15 years

Q5: Simple Interest (2024)

Problem: A sum of money becomes ₹2,400 in 2 years and ₹3,200 in 4 years at simple interest. Find the principal amount.

Solution: Interest for 2 years = 3200 - 2400 = ₹800 Interest per year = ₹400 Interest for 2 years = ₹800 Principal = 2400 - 800 = ₹1,600

Answer: ₹1,600

Q6: Compound Interest (2024)

Problem: Find the compound interest on ₹10,000 for 2 years at 10% per annum, compounded annually.

Solution: Amount = P(1 + R/100)^n Amount = 10000(1 + 10/100)^2 = 10000 × 1.1^2 = 10000 × 1.21 = ₹12,100 CI = Amount - Principal = 12100 - 10000 = ₹2,100

Answer: ₹2,100

Q7: Time, Distance & Speed (2024)

Problem: A train 150 meters long passes a platform 200 meters long in 20 seconds. Find the speed of the train in km/hr.

Solution: Total distance = 150 + 200 = 350 meters Time = 20 seconds Speed = 350/20 = 17.5 m/s Speed in km/hr = 17.5 × 18/5 = 63 km/hr

Answer: 63 km/hr

Q8: Time, Distance & Speed - Complex (2024)

Problem: Abdul starts in a car from Ahmadabad towards Bangalore. After some time he realizes that he will cover only 75% of the distance in the scheduled time and he therefore doubles his speed immediately and thus manages to reach Bangalore exactly on time. Find the time after which Abdul changed his speed, given that he could have been late by 3 hours if he had not changed his speed.

Solution: Let total distance = D, scheduled time = T, original speed = V Distance covered at original speed = 0.75D Time before speed change = 0.75D/V = t Remaining distance = 0.25D New speed = 2V Time for remaining = 0.25D/(2V) = 0.125D/V

Total time = t + 0.125D/V = T If speed not changed: D/V = T + 3

Solving: 0.75D/V + 0.125D/V = D/V - 3 0.875D/V = D/V - 3 0.125D/V = 3 D/V = 24, T = 21 Time before change = 0.75 × 24 = 18 hours

Answer: 18 hours

Q9: Permutations & Combinations (2024)

Problem: A code word is to consist of two English alphabets followed by two distinct numbers between 1 and 9. For example, CA23 is a code word. How many such code words are there?

Solution: Alphabets: 26 × 26 = 676 ways Numbers: 9 × 8 = 72 ways (distinct) Total: 676 × 72 = 48,672

Answer: 48,672

Q10: Pipes & Cisterns (2024)

Problem: There are two pipes in a tank. Pipe A is for filling the tank and pipe B is for emptying the tank. If A can fill the tank in 10 hours and B can empty the tank in 15 hours then find how many hours will it take to completely fill a half empty tank?

Solution: Net rate = 1/10 - 1/15 = 1/30 per hour Time to fill half tank = (1/2) / (1/30) = 15 hours

Answer: 15 hours

Q11: Probability (2024)

Problem: Two dice are thrown. What is the probability of getting a sum of 7?

Solution: Total outcomes = 6 × 6 = 36 Favorable outcomes: (1,6), (2,5), (3,4), (4,3), (5,2), (6,1) = 6 Probability = 6/36 = 1/6

Answer: 1/6

Q12: Mixtures & Alligations (2024)

Problem: In what ratio should water be mixed with milk costing ₹12 per liter to get a mixture worth ₹8 per liter?

Solution: Using alligation: Water (₹0) Milk (₹12) \ / \ / \ / \ / \ / ₹8 Ratio = (12-8):(8-0) = 4:8 = 1:2

Answer: 1:2

Q13: Average (2024)

Problem: The average of 5 numbers is 25. If one number is excluded, the average becomes 23. Find the excluded number.

Solution: Sum of 5 numbers = 5 × 25 = 125 Sum of 4 numbers = 4 × 23 = 92 Excluded number = 125 - 92 = 33

Answer: 33

Q14: Number System (2024)

Problem: Find the remainder when 2^31 is divided by 5.

Solution: Pattern of 2^n mod 5: 2^1=2, 2^2=4, 2^3=3, 2^4=1, 2^5=2 (cycle repeats every 4) 31 mod 4 = 3 So 2^31 mod 5 = 2^3 mod 5 = 3

Answer: 3

Q15: Data Interpretation (2024)

Problem: The following table shows the sales of a company over 5 years. If the total sales in 2020 was ₹50,000, and sales increased by 20% each year, find the sales in 2024.

Solution: Sales in 2020 = ₹50,000 Sales in 2021 = 50,000 × 1.2 = ₹60,000 Sales in 2022 = 60,000 × 1.2 = ₹72,000 Sales in 2023 = 72,000 × 1.2 = ₹86,400 Sales in 2024 = 86,400 × 1.2 = ₹103,680

Answer: ₹103,680

Q16: Ages (2024)

Problem: The sum of ages of 5 children born at intervals of 3 years is 50 years. Find the age of the youngest child.

Solution: Let youngest child’s age = x Ages: x, x+3, x+6, x+9, x+12 Sum = 5x + 30 = 50 5x = 20 x = 4 years

Answer: 4 years

Q17: Partnership (2024)

Problem: A and B invest ₹5,000 and ₹7,000 respectively in a business. After 6 months, A withdraws ₹2,000. If the profit at the end of the year is ₹4,500, find B’s share.

Solution: A’s investment: 5000 × 6 + 3000 × 6 = 30,000 + 18,000 = 48,000 B’s investment: 7000 × 12 = 84,000 Ratio = 48,000 : 84,000 = 4 : 7 B’s share = 7/(4+7) × 4500 = 7/11 × 4500 = ₹2,863.64

Answer: ₹2,863.64

Q18: Boats & Streams (2024)

Problem: A man can row 8 km/hr in still water. If the speed of the stream is 2 km/hr, find the time taken to row 30 km downstream.

Solution: Downstream speed = 8 + 2 = 10 km/hr Time = Distance/Speed = 30/10 = 3 hours

Answer: 3 hours

Q19: Trains (2024)

Problem: Two trains of lengths 120m and 180m are running in opposite directions at speeds of 40 km/hr and 50 km/hr respectively. Find the time taken to cross each other.

Solution: Relative speed = 40 + 50 = 90 km/hr = 90 × 5/18 = 25 m/s Total distance = 120 + 180 = 300m Time = 300/25 = 12 seconds

Answer: 12 seconds

Q20: Area & Volume (2024)

Problem: The length and breadth of a rectangle are increased by 20% and 10% respectively. Find the percentage increase in area.

Solution: Let original length = L, breadth = B Original area = L × B New length = 1.2L, new breadth = 1.1B New area = 1.2L × 1.1B = 1.32LB Increase = 1.32LB - LB = 0.32LB Percentage increase = (0.32LB/LB) × 100 = 32%

Answer: 32%

Q1: Number Series (2024)

Problem: Find the next number: 2, 5, 11, 23, 47, ?

Solution: Pattern: Each number = previous × 2 + 1 2×2+1=5, 5×2+1=11, 11×2+1=23, 23×2+1=47 Next: 47×2+1 = 95

Answer: 95

Q2: Number Series - Alternate Pattern (2024)

Problem: Find the next number: 3, 8, 15, 24, 35, ?

Solution: Pattern: Differences are 5, 7, 9, 11 (odd numbers) Next difference = 13 Next number = 35 + 13 = 48

Answer: 48

Q3: Letter Series (2024)

Problem: Find the next letter: A, D, G, J, ?

Solution: Pattern: A(+3)→D(+3)→G(+3)→J(+3)→M Next letter = M

Answer: M

Q4: Coding-Decoding (2024)

Problem: If “TECHNOLOGY” is coded as “VGEPQMQNA”, how is “COMPUTER” coded?

Solution: Pattern: Each letter shifted by +2 T→V, E→G, C→E, H→J, N→P, O→Q, L→N, O→Q, G→I, Y→A

COMPUTER: C→E, O→Q, M→O, P→R, U→W, T→V, E→G, R→T

Answer: EQORWVGT

Q5: Coding-Decoding - Number Pattern (2024)

Problem: If “APPLE” is coded as “1225165”, how is “MANGO” coded?

Solution: Pattern: A=1, B=2, C=3… Z=26 APPLE: A=1, P=16, P=16, L=12, E=5 → 1225165 MANGO: M=13, A=1, N=14, G=7, O=15 → 13114715

Answer: 13114715

Q6: Syllogism (2024)

Problem: Statements: 1. All green are blue, 2. All blue are white

Conclusions: I) Some blue are green, II) Some white are green, III) Some green are white, IV) All white are blue.

Solution: From “All green are blue”: Some blue are green (I follows) Combined: All green are white, so Some white are green (II follows) and Some green are white (III follows) IV does not follow

Answer: Only I, II, and III follow

Q7: Syllogism - Multiple Statements (2024)

Problem: Statements: 1. Some cats are dogs, 2. All dogs are animals, 3. No animal is a bird

Conclusions: I) Some cats are animals, II) No dog is a bird, III) Some animals are cats

Solution: From statements 1 and 2: Some cats are animals (I follows) From statements 2 and 3: No dog is a bird (II follows) From I: Some animals are cats (III follows)

Answer: All I, II, and III follow

Q8: Blood Relations (2024)

Problem: Pointing to a man, a woman said, “His mother is the only daughter of my mother.” How is the woman related to the man?

Solution: Only daughter of woman’s mother = woman herself So woman is the mother of the man

Answer: Mother

Q9: Blood Relations - Complex (2024)

Problem: A is the son of B. C is the daughter of A. E is the son of B. How is E related to C?

Solution: A is son of B, so B is parent of A C is daughter of A, so C is grandchild of B E is son of B, so E is child of B Therefore, E is uncle/aunt of C (depending on gender)

Answer: Uncle (assuming E is male)

Q10: Direction Sense (2024)

Problem: A person walks 5 km north, then 3 km east, then 2 km south. How far and in which direction is he from the starting point?

Solution: Net north = 5 - 2 = 3 km Net east = 3 km Distance = √(3² + 3²) = √18 = 3√2 km Direction = Northeast

Answer: 3√2 km, Northeast

Q11: Seating Arrangement - Linear (2024)

Problem: Five friends A, B, C, D, E are sitting in a row. A is not at either end. B is to the immediate right of A. C is at one end. D is between C and E. Who is sitting in the middle?

Solution: C is at one end. D is between C and E, so arrangement: C-D-E or E-D-C A is not at end, B is right of A If C-D-E, then A-B must be before C: A-B-C-D-E (A at end, invalid) So: E-D-C, and A-B before: A-B-E-D-C Middle position: E

Answer: E

Q12: Seating Arrangement - Circular (2024)

Problem: Six people A, B, C, D, E, F are sitting around a circular table. A is opposite to D. B is between A and C. E is not adjacent to A. Who is sitting opposite to E?

Solution: In circular arrangement with 6 people, opposite pairs are: (A,D), (B,E), (C,F) Since A is opposite D, and B is between A and C, and E is not adjacent to A E must be opposite B

Answer: B

Q13: Ordering & Ranking (2024)

Problem: In a class of 40 students, Ravi ranks 15th from the top. What is his rank from the bottom?

Solution: Total students = 40 Rank from top = 15 Rank from bottom = 40 - 15 + 1 = 26

Answer: 26th

Q14: Cube Problem (2024)

Problem: A cube, painted yellow on all faces is cut into 27 small cubes of equal size. How many small cubes are painted on one face only?

Solution: 3×3×3 cube arrangement Cubes with 1 face painted = 6 (one on each face center)

Answer: 6

Q15: Cube Problem - Three Colors (2024)

Problem: A cube is painted red on three adjacent faces, blue on two opposite faces, and left unpainted on one face. It is cut into 64 smaller cubes. How many cubes have exactly two painted faces?

Solution: 4×4×4 cube = 64 cubes Cubes with exactly 2 painted faces are on edges (excluding corners) Need to count edges with two colors

Answer: 16 (depends on specific arrangement)

Q16: Crypt Arithmetic (2024)

Problem: If WAIT + ALL = GIFTS, then what is the value of G+I+F+T? (Given A=6 & S=5)

Solution: This is a crypt arithmetic problem where letters represent digits. Given A=6 and S=5, we need to solve the addition column by column to find values for other letters.

Answer: Requires solving the complete crypt arithmetic puzzle

Q17: Statement & Conclusions (2024)

Problem: Statement: All roses are flowers. Some flowers are red.

Conclusions: I) Some roses are red, II) All red things are flowers

Solution: From “All roses are flowers” and “Some flowers are red”, we cannot conclude that some roses are red (I may not follow) “All red things are flowers” is not necessarily true (II does not follow)

Answer: Neither I nor II follows

Q18: Data Sufficiency (2024)

Problem: What is the value of x?

Statement 1: x² = 16 Statement 2: x > 0

Solution: From statement 1: x = 4 or -4 From statement 2: x > 0 Combining both: x = 4

Answer: Both statements together are sufficient

Q19: Logical Deduction (2024)

Problem: If all managers are leaders, and some leaders are innovators, which of the following must be true?

a) All managers are innovators b) Some managers are innovators c) Some innovators are managers d) None of the above

Solution: From “All managers are leaders” and “Some leaders are innovators”, we can conclude that “Some innovators are managers” (c)

Answer: c) Some innovators are managers

Q20: Pattern Recognition (2024)

Problem: Find the missing number: 2, 6, 12, 20, 30, ?

Solution: Pattern: Differences are 4, 6, 8, 10 (increasing by 2) Next difference = 12 Next number = 30 + 12 = 42

Answer: 42

Q1: Reading Comprehension (2024)

Passage: “Artificial Intelligence has revolutionized various industries. Machine learning algorithms can now process vast amounts of data to identify patterns and make predictions. However, concerns about job displacement and ethical implications remain significant challenges.”

Question: According to the passage, what are the main concerns about AI?

Answer: Job displacement and ethical implications

Q2: Grammar - Subject-Verb Agreement (2024)

Problem: Choose the correct sentence:

a) Neither the students nor the teacher were present b) Neither the students nor the teacher was present c) Neither the students or the teacher was present

Solution: With “neither…nor”, the verb agrees with the subject closer to it. “Teacher” is singular, so “was” is correct.

Answer: b) Neither the students nor the teacher was present

Q3: Grammar - Tenses (2024)

Problem: Choose the correct form: “I _____ to the store yesterday.”

a) go b) went c) have gone d) will go

Solution: “Yesterday” indicates past tense, so “went” is correct.

Answer: b) went

Q4: Vocabulary - Synonyms (2024)

Problem: Find the synonym of “ABUNDANT”:

a) Scarce b) Plentiful c) Limited d) Rare

Solution: Abundant means existing in large quantities, so “Plentiful” is the synonym.

Answer: b) Plentiful

Q5: Vocabulary - Antonyms (2024)

Problem: Find the antonym of “TRANSPARENT”:

a) Clear b) Opaque c) Visible d) Bright

Solution: Transparent means see-through, so “Opaque” (not see-through) is the antonym.

Answer: b) Opaque

Q6: Sentence Correction (2024)

Problem: Choose the correct sentence:

a) The data are incorrect b) The data is incorrect c) The datas are incorrect

Solution: “Data” can be singular or plural, but in modern usage, it’s often treated as singular. “The data is incorrect” is more commonly accepted.

Answer: b) The data is incorrect

Q7: Para Jumbles (2024)

Problem: Arrange the sentences in logical order:

  1. However, it requires careful planning
  2. Starting a business can be rewarding
  3. Many entrepreneurs succeed with proper preparation
  4. Financial stability is crucial for success

Solution: Logical order: 2 (introduction) → 1 (contrast) → 4 (requirement) → 3 (conclusion)

Answer: 2, 1, 4, 3

Q8: Error Spotting (2024)

Problem: Find the error: “The team of players are ready for the match.”

Solution: “Team” is a collective noun treated as singular, so “is” should be used instead of “are”.

Answer: “are” should be “is”

Q9: Fill in the Blanks (2024)

Problem: “She was _____ by the beautiful sunset.”

a) amazed b) amazing c) amaze d) amazes

Solution: Past tense passive voice requires past participle “amazed”.

Answer: a) amazed

Q10: Idioms & Phrases (2024)

Problem: What does “Break the ice” mean?

a) To start a conversation b) To end a relationship c) To cause trouble d) To solve a problem

Solution: “Break the ice” means to initiate conversation in a social setting.

Answer: a) To start a conversation

Q11: Reading Comprehension - Inference (2024)

Passage: “The company’s profits increased by 25% this quarter. This growth was primarily driven by strong performance in the technology division, which launched three new products.”

Question: What can be inferred about the technology division?

Answer: The technology division was successful and contributed significantly to company profits

Q12: Sentence Completion (2024)

Problem: “Despite the challenges, the project _____ completed on time.”

a) was b) were c) have been d) has been

Solution: “Project” is singular, past tense, so “was” is correct.

Answer: a) was

Q13: Word Usage (2024)

Problem: Choose the correctly used word: “The manager _____ the importance of teamwork.”

a) emphasized b) emphasized on c) emphasized about d) emphasized for

Solution: “Emphasize” is a transitive verb and doesn’t require a preposition.

Answer: a) emphasized

Q14: Prepositions (2024)

Problem: “She is good _____ mathematics.”

a) at b) in c) on d) with

Solution: “Good at” is the correct prepositional phrase for skills.

Answer: a) at

Q15: Active/Passive Voice (2024)

Problem: Convert to passive voice: “The teacher explained the lesson.”

Solution: Passive voice: “The lesson was explained by the teacher.”

Answer: The lesson was explained by the teacher

Q1: C Programming Output (2024)

Problem: What is the output?

int main() {
int x = 5;
printf("%d", x++ + ++x);
return 0;
}

Solution: Note: This exhibits undefined behavior due to sequence point violations. However, in many compilers: x++ uses 5, then x becomes 6 ++x makes x = 7, uses value 7 Output: 5 + 7 = 12

Answer: 12 (compiler-dependent, undefined behavior)

Q2: Loop Output (2024)

Problem: What is the output?

int main() {
int i;
for(i=0; i<5; i++) {
if(i == 3) continue;
printf("%d ", i);
}
return 0;
}

Solution: Loop executes: i=0 prints 0, i=1 prints 1, i=2 prints 2, i=3 skips (continue), i=4 prints 4

Answer: 0 1 2 4

Q3: Array Manipulation (2024)

Problem: What is the output?

int main() {
int arr[] = {1, 2, 3, 4, 5};
int *p = arr;
printf("%d %d", *(p+2), arr[3]);
return 0;
}

Solution: p points to arr[0] *(p+2) = arr[2] = 3 arr[3] = 4

Answer: 3 4

Q4: Recursion (2024)

Problem: What is the output?

int func(int n) {
if(n <= 1) return 1;
return n * func(n-1);
}
printf("%d", func(5));

Solution: This calculates factorial: func(5) = 5 × func(4) func(4) = 4 × func(3) func(3) = 3 × func(2) func(2) = 2 × func(1) func(1) = 1 func(2) = 2 × 1 = 2 func(3) = 3 × 2 = 6 func(4) = 4 × 6 = 24 func(5) = 5 × 24 = 120

Answer: 120

Q5: String Operations (2024)

Problem: What is the output?

int main() {
char str[] = "HELLO";
printf("%d", strlen(str));
return 0;
}

Solution: “HELLO” has 5 characters, strlen returns 5

Answer: 5

Q6: Pointer Arithmetic (2024)

Problem: What is the output?

int main() {
int arr[] = {10, 20, 30, 40, 50};
int *ptr = arr + 2;
printf("%d", *(ptr+1));
return 0;
}

Solution: arr+2 points to arr[2] = 30 ptr = arr+2, so ptr points to arr[2] ptr+1 points to arr[3] = 40 *(ptr+1) = 40

Answer: 40

Q7: Nested Loops (2024)

Problem: What is the output?

int main() {
int i, j, count = 0;
for(i=0; i<3; i++) {
for(j=0; j<3; j++) {
if(i == j) count++;
}
}
printf("%d", count);
return 0;
}

Solution: When i==j: (0,0), (1,1), (2,2) - 3 times count = 3

Answer: 3

Q8: Java Output (2024)

Problem: What is the output?

public class Test {
public static void main(String[] args) {
int x = 10;
System.out.println(x++ + ++x);
}
}

Solution: x++ uses 10, then x becomes 11 ++x makes x = 12, uses value 12 Output: 10 + 12 = 22

Answer: 22

Q9: Python Output (2024)

Problem: What is the output?

def func(n):
if n <= 1:
return 1
return n * func(n-2)
print(func(6))

Solution: func(6) = 6 × func(4) func(4) = 4 × func(2) func(2) = 2 × func(0) func(0) = 1 func(2) = 2 × 1 = 2 func(4) = 4 × 2 = 8 func(6) = 6 × 8 = 48

Answer: 48

Q10: Conditional Logic (2024)

Problem: What is the output?

int main() {
int a = 5, b = 10;
int c = (a > b) ? a : b;
printf("%d", c);
return 0;
}

Solution: a > b is false (5 > 10 is false) So c = b = 10

Answer: 10

Q11: Array Indexing (2024)

Problem: What is the output?

int main() {
int arr[5] = {1, 2, 3, 4, 5};
printf("%d", arr[arr[2]]);
return 0;
}

Solution: arr[2] = 3 arr[arr[2]] = arr[3] = 4

Answer: 4

Q12: While Loop (2024)

Problem: What is the output?

int main() {
int i = 1, sum = 0;
while(i <= 5) {
sum += i;
i++;
}
printf("%d", sum);
return 0;
}

Solution: sum = 1 + 2 + 3 + 4 + 5 = 15

Answer: 15

Q13: Function Call (2024)

Problem: What is the output?

int add(int a, int b) {
return a + b;
}
int main() {
printf("%d", add(3, 4) * 2);
return 0;
}

Solution: add(3, 4) = 7 7 * 2 = 14

Answer: 14

Q14: String Comparison (2024)

Problem: What is the output?

int main() {
char str1[] = "HELLO";
char str2[] = "HELLO";
if(str1 == str2)
printf("Equal");
else
printf("Not Equal");
return 0;
}

Solution: str1 and str2 are different arrays, so str1 == str2 compares addresses, not content. They are not equal.

Answer: Not Equal

Q15: Modulo Operation (2024)

Problem: What is the output?

int main() {
int x = 17;
printf("%d", x % 5);
return 0;
}

Solution: 17 % 5 = 2 (remainder when 17 is divided by 5)

Answer: 2

Q1: Second Largest Element (2024)

Problem: Find the second largest element in an array.

Solution (C):

int secondLargest(int arr[], int n) {
int first = INT_MIN, second = INT_MIN;
for (int i = 0; i < n; i++) {
if (arr[i] > first) {
second = first;
first = arr[i];
} else if (arr[i] > second && arr[i] != first) {
second = arr[i];
}
}
return second;
}
Q2: Reverse Array (2024)

Problem: Reverse an array without using extra space.

Solution (C):

void reverseArray(int arr[], int n) {
int start = 0, end = n - 1;
while (start < end) {
int temp = arr[start];
arr[start] = arr[end];
arr[end] = temp;
start++;
end--;
}
}
Q3: Palindrome Check (2024)

Problem: Check if a string is a palindrome.

Solution (C):

#include <string.h>
#include <ctype.h>
int isPalindrome(char str[]) {
int left = 0, right = strlen(str) - 1;
while (left < right) {
if (tolower(str[left]) != tolower(str[right]))
return 0;
left++;
right--;
}
return 1;
}
Q4: Factorial (2024)

Problem: Find factorial of a number using recursion.

Solution (C):

int factorial(int n) {
if (n == 0 || n == 1)
return 1;
return n * factorial(n - 1);
}
Q5: Prime Number Check (2024)

Problem: Check if a number is prime.

Solution (C):

#include <math.h>
int isPrime(int n) {
if (n <= 1) return 0;
if (n <= 3) return 1;
if (n % 2 == 0 || n % 3 == 0) return 0;
for (int i = 5; i * i <= n; i += 6) {
if (n % i == 0 || n % (i + 2) == 0)
return 0;
}
return 1;
}
Q6: Fibonacci Series (2024)

Problem: Print first n Fibonacci numbers.

Solution (C):

void fibonacci(int n) {
int a = 0, b = 1, c;
if (n >= 1) printf("%d ", a);
if (n >= 2) printf("%d ", b);
for (int i = 3; i <= n; i++) {
c = a + b;
printf("%d ", c);
a = b;
b = c;
}
}
Q7: Array Rotation (2024)

Problem: Rotate an array to the right by k positions.

Solution (C):

void rotateRight(int arr[], int n, int k) {
k = k % n;
int temp[k];
for (int i = 0; i < k; i++)
temp[i] = arr[n - k + i];
for (int i = n - 1; i >= k; i--)
arr[i] = arr[i - k];
for (int i = 0; i < k; i++)
arr[i] = temp[i];
}
Q8: Maximum Subarray Sum (2024)

Problem: Find the maximum sum of contiguous subarray (Kadane’s Algorithm).

Solution (C):

int maxSubarraySum(int arr[], int n) {
int maxSoFar = arr[0], maxEndingHere = arr[0];
for (int i = 1; i < n; i++) {
maxEndingHere = (maxEndingHere + arr[i] > arr[i]) ?
maxEndingHere + arr[i] : arr[i];
maxSoFar = (maxEndingHere > maxSoFar) ?
maxEndingHere : maxSoFar;
}
return maxSoFar;
}
Q9: Remove Duplicates (2024)

Problem: Remove duplicates from sorted array.

Solution (C):

int removeDuplicates(int arr[], int n) {
if (n == 0) return 0;
int j = 0;
for (int i = 1; i < n; i++) {
if (arr[i] != arr[j]) {
j++;
arr[j] = arr[i];
}
}
return j + 1;
}
Q10: Two Sum Problem (2024)

Problem: Find two numbers in array that add up to target sum.

Solution (C):

void twoSum(int arr[], int n, int target) {
for (int i = 0; i < n; i++) {
for (int j = i + 1; j < n; j++) {
if (arr[i] + arr[j] == target) {
printf("Indices: %d, %d\n", i, j);
return;
}
}
}
printf("No pair found\n");
}
Q11: String Anagram Check (2024)

Problem: Check if two strings are anagrams.

Solution (C):

#include <string.h>
#include <ctype.h>
int areAnagrams(char str1[], char str2[]) {
int count[256] = {0};
int len1 = strlen(str1), len2 = strlen(str2);
if (len1 != len2) return 0;
for (int i = 0; i < len1; i++) {
count[tolower(str1[i])]++;
count[tolower(str2[i])]--;
}
for (int i = 0; i < 256; i++) {
if (count[i] != 0) return 0;
}
return 1;
}
Q12: Binary Search (2024)

Problem: Implement binary search on sorted array.

Solution (C):

int binarySearch(int arr[], int n, int key) {
int left = 0, right = n - 1;
while (left <= right) {
int mid = left + (right - left) / 2;
if (arr[mid] == key) return mid;
if (arr[mid] < key) left = mid + 1;
else right = mid - 1;
}
return -1;
}
SectionCutoff (Approx)Notes
Reasoning Ability60% (15/25)Standard cutoff
Quantitative Ability60% (15/25)Standard cutoff
Verbal Ability50% (10/20)Lower cutoff
Pseudo Code50% (5/10)Standard cutoff
Coding1 problem solvedMust solve at least 1
Overall60-65%60-65/100 marks

Success Rate: Approximately 20% of candidates cleared IRT in 2024

Hiring Volume

  • Total Hires: 50,000+ freshers
  • Power Programmer: 2,000+ selections
  • Systems Engineer: 48,000+ selections
  • Growth: 15% increase from 2023

Salary Packages

  • Systems Engineer: ₹4-4.5 LPA
  • Power Programmer: ₹10-12 LPA
  • Senior Systems Engineer: ₹6-7 LPA
  • Stable packages compared to 2023

Process Changes

  • Online proctored exams
  • Virtual interviews
  • Faster result declaration
  • Improved candidate experience

Quantitative Aptitude

  • High Frequency: Profit & Loss, Time & Work, Percentages
  • Medium Frequency: Pipes & Cisterns, Probability, Permutations
  • Focus Areas: Data Interpretation, Ratio & Proportion
  • Difficulty: Medium to Hard

Logical Reasoning

  • High Frequency: Number Series, Coding-Decoding, Syllogism
  • Medium Frequency: Blood Relations, Seating Arrangements
  • Focus Areas: Direction Sense, Cube Problems
  • Difficulty: Medium

Verbal Ability

  • High Frequency: Reading Comprehension, Grammar
  • Medium Frequency: Para Jumbles, Error Spotting
  • Focus Areas: Vocabulary, Sentence Correction
  • Difficulty: Easy to Medium

Pseudo Code

  • High Frequency: C/C++ Output Prediction, Loops
  • Medium Frequency: Arrays, Pointers, Recursion
  • Focus Areas: Java/Python syntax questions
  • Difficulty: Medium

Coding Problems

  • High Frequency: Array Manipulation, String Problems
  • Medium Frequency: Sorting, Searching Algorithms
  • Focus Areas: Basic Data Structures, Problem Solving
  • Difficulty: Medium to Hard
  1. Coding Section is Critical: At least 1 coding problem must be solved correctly to advance to interviews
  2. Sectional Cutoffs: Must clear each section individually (typically 50-60% per section, 60-65% overall)
  3. Time Management: Crucial for success - allocate 60-70 minutes for coding, 25-30 min for Reasoning, 30-35 min for Quantitative
  4. Preparation Strategy: Practice 20-25 previous year IRT papers to understand patterns
  5. Aptitude Focus: Strong performance in Reasoning (25 marks) and Quantitative (25 marks) sections is essential
  6. No Negative Marking: Attempt all questions - no penalty for wrong answers
  7. Pseudo Code Section: Important for technical roles - practice output prediction and logic questions
  8. Essay Writing: Verbal section includes essay writing - practice structured writing

Based on candidate experiences from 2024 Infosys IRT and interviews:

2024 Interview Process:

  1. Technical Interview (30-45 minutes): Programming fundamentals, data structures, algorithms, project discussions
  2. HR Interview (20-30 minutes): Behavioral questions, company fit, communication skills, career goals

Common 2024 Interview Topics:

  • Programming fundamentals (C, C++, Java, Python)
  • Data structures (arrays, linked lists, trees, graphs)
  • Algorithms (sorting, searching, dynamic programming basics)
  • Database concepts (SQL queries, normalization)
  • Project discussions with technology stack details
  • Behavioral questions about teamwork and problem-solving

Roles Offered in 2024:

  • System Engineer (SE): Entry-level role for freshers
  • Digital Specialist Engineer (DSE): For candidates with strong coding skills
  • Power Programmer: For exceptional coding performers

Success Tips:

  • Strong IRT performance is essential - especially coding section
  • Be prepared to explain your problem-solving approach clearly
  • Practice explaining code and algorithms verbally
  • Prepare examples demonstrating teamwork, learning ability, and problem-solving
  • Focus on communication skills for HR round

For detailed interview experiences from on-campus and off-campus drives, visit Infosys Interview Experience page.

Infosys IRT 2024 Paper 1

Complete IRT paper with solutions - Quantitative, Reasoning, Verbal, Pseudo Code, and Coding sections

View 2024 Papers →

2024 Interview Experience

Real interview experiences from candidates who cleared 2024 IRT

Read Experiences →

Infosys 2025 Papers

Latest Infosys IRT papers with current year questions and solutions

View 2025 Papers →

Infosys IRT Exam Pattern

Complete guide to Infosys IRT exam pattern, sections, and marking scheme

View Exam Pattern →

Infosys Coding Questions

100+ Infosys coding problems with detailed solutions in C/C++/Java/Python

View Coding Questions →

Infosys Interview Experience

Real interview experiences from candidates who cleared Infosys IRT

Read Experiences →

Infosys Previous Year Papers

Access all previous year Infosys placement papers (2020-2025)

View All Papers →

HackWithInfy Program

Learn about Infosys HackWithInfy coding competition and preparation

Learn More →

Infosys Main Page

Complete Infosys placement guide with eligibility, process, and salary

View Main Page →


Based on 2024 IRT Pattern:

  1. Master Coding Fundamentals: Focus on solving 2 coding problems correctly - this is critical for advancement
  2. Practice Previous Year Papers: Solve Infosys IRT papers from 2020-2024 to understand evolving patterns
  3. Time Management: Practice completing all sections within 180 minutes - allocate time wisely
  4. Sectional Focus: Aim for 50-60% in each section with strong performance in Reasoning and Quantitative
  5. Pseudo Code Practice: Master output prediction and logic questions for technical assessment
  6. Essay Writing: Practice structured essay writing for verbal ability section
  7. Mock Tests: Take timed practice tests to improve speed and accuracy
  8. Coding Practice: Solve 100+ coding problems focusing on arrays, strings, and basic algorithms

Practice 2024 papers to understand patterns and prepare for current year exams! Use the resources above to access all 2024 questions, solutions, and preparation materials.