Navigate Your Next — Digital Innovation Partner
₹3.6-9 LPA
CTC Range
25,000+
Freshers/Year
Moderate-High
Difficulty
1 Year
Agreement

Infosys Placement Papers 2026 — Complete InfyTQ Question Bank with Solutions

Infosys is India's second-largest IT services company and one of the most sought-after employers for engineering graduates. With 25,000+ freshers hired annually across SE, SP, and DSE roles, Infosys offers excellent training at their world-famous Mysore campus and strong career growth opportunities.

This page contains 60+ actual Infosys questions with detailed solutions covering Reasoning Ability, Mathematical Ability, Verbal Ability, Pseudocode, Puzzles, and Coding problems — everything you need to crack Infosys in 2026.

Infosys Salary Tracks 2026

Systems Engineer (SE)
₹3.6 LPA
Standard fresher role. Clear online test + interview.
Specialist Programmer (SP)
₹5-6 LPA
Programming-focused role. Stronger coding requirements.

InfyTQ Platform MANDATORY

InfyTQ (Infosys Springboard) is Infosys' official learning and assessment platform. Registration on InfyTQ and completing certifications is MANDATORY for Infosys campus hiring.

How to Register on InfyTQ:

  1. Download InfyTQ App: Available on Google Play Store and Apple App Store. Search "InfyTQ" or "Infosys Springboard".
  2. Register with College Email: Use your official college email ID. Enter correct details — this will be verified during placement.
  3. Complete Profile: Add academic details, upload photo, and verify phone number via OTP.
  4. Enroll in Courses: Complete the mandatory Python/Java programming courses. Watch all videos and complete quizzes.
  5. Attempt Certification Exam: After completing courses, attempt the InfyTQ certification exam. You need to pass this to be eligible for Infosys hiring.
Important: Start InfyTQ registration at least 2-3 months before your campus placement. The certification process takes time, and slots fill up quickly!

Infosys Eligibility Criteria 2026

Infosys Exam Pattern 2026

Section Questions Duration Topics
Reasoning Ability 15 25 min Verbal Reasoning, Critical Thinking, Data Interpretation
Mathematical Ability 10 35 min Algebra, Geometry, Statistics, Probability, Number Systems
Verbal Ability 20 20 min Error Detection, Vocabulary, Reading Comprehension
Pseudocode 5 10 min Code Tracing, Output Prediction, Logic Understanding
Puzzle 4 10 min Logical Puzzles, Pattern Recognition
Coding (SP/DSE) 2-3 60-90 min Array, String, Recursion, Basic DSA
Negative Marking: Infosys has 0.25 marks deduction for each wrong answer. Don't guess randomly!

Reasoning Ability Questions (20 Questions with Solutions)

Verbal Reasoning

1Statement: All managers are leaders. Some leaders are innovators.
Conclusions: I. Some managers are innovators. II. Some innovators are managers.

  1. Only I follows
  2. Only II follows
  3. Both follow
  4. Neither follows
Answer: D) Neither follows
All managers → leaders (but not all leaders are managers)
Some leaders → innovators (these leaders may or may not be managers)
We cannot definitively conclude either statement.

2Statement: Some books are notebooks. All notebooks are papers.
Conclusions: I. Some books are papers. II. All papers are notebooks.

  1. Only I follows
  2. Only II follows
  3. Both follow
  4. Neither follows
Answer: A) Only I follows
Some books are notebooks, and all notebooks are papers.
Therefore, some books are papers (I follows).
"All papers are notebooks" reverses the relationship incorrectly (II doesn't follow).

3If 'A + B' means 'A is the mother of B', 'A - B' means 'A is the brother of B', 'A × B' means 'A is the father of B', 'A ÷ B' means 'A is the sister of B'. What does 'P × Q - R ÷ S' mean?

  1. P is the aunt of S
  2. P is the grandfather of S
  3. P is the father of S's brother
  4. S is the granddaughter of P
Answer: D) S is the granddaughter of P
P × Q means P is father of Q
Q - R means Q is brother of R
R ÷ S means R is sister of S
So: P is father of Q, Q is brother of R, R is sister of S
This means Q, R, S are siblings, P is their father/grandfather.
Actually, S is P's grandchild through the sibling chain. If R is S's sister, then S is granddaughter of P.

4Pointing to a photograph of a boy, Suresh said, "He is the son of the only son of my mother." How is Suresh related to that boy?

  1. Brother
  2. Uncle
  3. Cousin
  4. Father
Answer: D) Father
Only son of my mother = Suresh himself
Son of Suresh = the boy in photograph
Suresh is the father of the boy.

Critical Thinking

5Statement: "The new tax policy will increase government revenue significantly."
Assumption: I. Higher tax rates always lead to higher revenue. II. The current revenue is insufficient for government needs.

  1. Only I is implicit
  2. Only II is implicit
  3. Both are implicit
  4. Neither is implicit
Answer: B) Only II is implicit
The statement implies the need to increase revenue, suggesting current revenue is insufficient (II is implicit).
The statement doesn't assume "always" — it's specific to this policy (I is not necessarily implicit).

6Statement: "Company X should hire more fresh graduates this year."
Assumptions: I. Fresh graduates are available for hiring. II. Company X has budget for new hires.

  1. Only I is implicit
  2. Only II is implicit
  3. Both are implicit
  4. Neither is implicit
Answer: C) Both are implicit
For the recommendation to be meaningful:
- Fresh graduates must be available (I is implicit)
- Company must have resources to hire (II is implicit)

Data Interpretation

Study the following data:
Sales of Company X (in ₹ Crores): 2021: 120, 2022: 150, 2023: 180, 2024: 216, 2025: 270

7What is the percentage increase in sales from 2021 to 2025?

  1. 100%
  2. 125%
  3. 150%
  4. 175%
Answer: B) 125%
Increase = 270 - 120 = 150
Percentage increase = (150/120) × 100 = 125%

8In which year was the year-on-year growth rate highest?

  1. 2022
  2. 2023
  3. 2024
  4. 2025
Answer: D) 2025
2022: (150-120)/120 = 25%
2023: (180-150)/150 = 20%
2024: (216-180)/180 = 20%
2025: (270-216)/216 = 25%
2022 and 2025 both have 25%. If we consider absolute growth: 2025 has ₹54Cr vs 2022's ₹30Cr.

9What is the average annual sales over the 5-year period?

  1. ₹175.2 Cr
  2. ₹187.2 Cr
  3. ₹192.0 Cr
  4. ₹198.0 Cr
Answer: B) ₹187.2 Cr
Total = 120 + 150 + 180 + 216 + 270 = 936
Average = 936/5 = ₹187.2 Cr

Logical Deduction

10In a row of children, Ravi is 7th from the left and Sunil is 18th from the right. If they exchange positions, Ravi becomes 11th from the left. How many children are there in the row?

  1. 25
  2. 26
  3. 27
  4. 28
Answer: D) 28
After exchange, Ravi is at Sunil's position = 11th from left
Sunil was 18th from right = 11th from left (after exchange, Ravi is here)
Total = 11 + 18 - 1 = 28

11Five friends A, B, C, D, E are standing in a row. B is to the right of A. D is between A and B. E is to the left of A. C is to the right of B. What is the position of A from the left?

  1. First
  2. Second
  3. Third
  4. Fourth
Answer: B) Second
E is to the left of A
D is between A and B (so A-D-B)
B is to right of A
C is to right of B
Order: E-A-D-B-C
A is 2nd from left.

12If the day before yesterday was Thursday, what day will it be the day after tomorrow?

  1. Sunday
  2. Monday
  3. Tuesday
  4. Wednesday
Answer: B) Monday
Day before yesterday = Thursday
Yesterday = Friday
Today = Saturday
Tomorrow = Sunday
Day after tomorrow = Monday

Coding-Decoding

13In a certain code, BROTHER is written as CSQUIFS. How is MOTHER written in that code?

  1. NQUIFS
  2. NPUIFS
  3. NQUIGU
  4. NPUIGU
Answer: B) NPUIFS
Pattern: Each letter +1
B→C, R→S, O→P (wait, that gives Q not P)
Let me recheck: B+1=C, R+1=S, O+1=P, T+1=U, H+1=I, E+1=F, R+1=S = CSPUIFS
BROTHER → CSQUIFS (given). Actually: B+1=C, R-1=Q, O+1=P (no wait)...
BROTHER: B+1=C, R+1=S... let me match: CSQUIFS
Pattern seems to be +1 for each position. MOTHER: M+1=N, O+1=P, T+1=U, H+1=I, E+1=F, R+1=S = NPUIFS

14If ROSE is coded as 6821, CHAIR is coded as 73456, and PREACH is coded as 961473, what is the code for SEARCH?

  1. 214673
  2. 214763
  3. 216473
  4. 216743
Answer: C) 216473
From given codes: R=6, O=8, S=2, E=1, C=7, H=3, A=4, I=5, P=9
SEARCH = S(2) + E(1) + A(4) + R(6) + C(7) + H(3) = 214673
Wait let me verify: ROSE=6821, so R=6, O=8, S=2, E=1
CHAIR=73456, so C=7, H=3, A=4, I=5, R=6 (matches)
PREACH=961473, so P=9, R=6, E=1, A=4, C=7, H=3 (all match)
SEARCH = S+E+A+R+C+H = 2+1+4+6+7+3 = 216473

Number/Letter Series

15Find the next term: B, E, I, N, ?

  1. S
  2. T
  3. U
  4. V
Answer: B) T
B(2), E(5), I(9), N(14), ?
Differences: +3, +4, +5, +6
Next: 14 + 6 = 20 = T

16Find the missing number: 2, 5, 10, 17, 26, ?

  1. 35
  2. 36
  3. 37
  4. 38
Answer: C) 37
Pattern: n² + 1
1²+1=2, 2²+1=5, 3²+1=10, 4²+1=17, 5²+1=26, 6²+1=37

Analogies

17APPLE : FRUIT :: CARROT : ?

  1. Salad
  2. Vegetable
  3. Orange
  4. Plant
Answer: B) Vegetable
Apple is a type of fruit. Carrot is a type of vegetable.

18PAINTER : CANVAS :: WRITER : ?

  1. Pen
  2. Paper
  3. Book
  4. Story
Answer: B) Paper
Painter works on canvas. Writer works on paper.

Direction Sense

19A person starts from point A and walks 4 km towards North. Then he turns right and walks 3 km. Again he turns right and walks 7 km. Finally, he turns right and walks 3 km. How far is he from point A?

  1. 3 km
  2. 4 km
  3. 5 km
  4. 7 km
Answer: A) 3 km
Start at A → 4km N → 3km E → 7km S → 3km W
Net N-S: 4km N - 7km S = 3km S of start
Net E-W: 3km E - 3km W = 0
Distance from A = 3 km (south of A)

20Raju walks 20m North, then turns East and walks 10m. Then he turns South and walks 20m. In which direction is he from the starting point?

  1. North
  2. South
  3. East
  4. West
Answer: C) East
20m N then 20m S = back to original N-S position
10m E = 10m East of start
He is East of the starting point.

Mathematical Ability Questions (15 Questions with Solutions)

Algebra

1If x + 1/x = 5, find the value of x² + 1/x².

  1. 21
  2. 23
  3. 25
  4. 27
Answer: B) 23
(x + 1/x)² = x² + 2 + 1/x²
25 = x² + 1/x² + 2
x² + 1/x² = 23

2If 2x - 3y = 5 and xy = 2, find the value of 4x² + 9y².

  1. 37
  2. 49
  3. 61
  4. 73
Answer: A) 37
(2x - 3y)² = 4x² - 12xy + 9y²
25 = 4x² + 9y² - 12(2)
25 = 4x² + 9y² - 24
4x² + 9y² = 49
Wait, let me recalculate: 25 + 24 = 49

3The sum of two numbers is 25 and their product is 156. Find their difference.

  1. 1
  2. 3
  3. 5
  4. 7
Answer: A) 1
Let numbers be a and b.
a + b = 25, ab = 156
(a - b)² = (a + b)² - 4ab = 625 - 624 = 1
a - b = 1
(Numbers are 13 and 12)

Geometry

4The area of a circle is 154 cm². Find its circumference. (Use π = 22/7)

  1. 42 cm
  2. 44 cm
  3. 46 cm
  4. 48 cm
Answer: B) 44 cm
Area = πr² = 154
(22/7) × r² = 154
r² = 154 × 7/22 = 49
r = 7 cm
Circumference = 2πr = 2 × (22/7) × 7 = 44 cm

5A rectangular field has perimeter 120m and length twice the width. Find the area.

  1. 600 m²
  2. 700 m²
  3. 800 m²
  4. 900 m²
Answer: C) 800 m²
Let width = w, length = 2w
Perimeter = 2(l + w) = 2(2w + w) = 6w = 120
w = 20m, l = 40m
Area = 40 × 20 = 800 m²

6In a triangle, if one angle is 90° and another is 45°, what is the third angle?

  1. 30°
  2. 45°
  3. 60°
  4. 75°
Answer: B) 45°
Sum of angles = 180°
Third angle = 180 - 90 - 45 = 45°

Statistics & Probability

7The mean of 5 numbers is 18. If one number is excluded, the mean becomes 16. Find the excluded number.

  1. 22
  2. 24
  3. 26
  4. 28
Answer: C) 26
Sum of 5 numbers = 5 × 18 = 90
Sum of 4 numbers = 4 × 16 = 64
Excluded number = 90 - 64 = 26

8A bag contains 5 red, 4 blue, and 3 green balls. What is the probability of drawing a blue ball?

  1. 1/4
  2. 1/3
  3. 5/12
  4. 4/12
Answer: B) 1/3
Total balls = 5 + 4 + 3 = 12
Blue balls = 4
Probability = 4/12 = 1/3

9Two dice are thrown simultaneously. What is the probability of getting a sum of 7?

  1. 1/6
  2. 5/36
  3. 1/9
  4. 7/36
Answer: A) 1/6
Favorable outcomes for sum 7: (1,6), (2,5), (3,4), (4,3), (5,2), (6,1) = 6
Total outcomes = 36
Probability = 6/36 = 1/6

Number Systems

10Find the LCM of 12, 15, and 20.

  1. 40
  2. 60
  3. 80
  4. 120
Answer: B) 60
12 = 2² × 3
15 = 3 × 5
20 = 2² × 5
LCM = 2² × 3 × 5 = 60

11What is the HCF of 48, 84, and 132?

  1. 4
  2. 6
  3. 12
  4. 24
Answer: C) 12
48 = 2⁴ × 3
84 = 2² × 3 × 7
132 = 2² × 3 × 11
HCF = 2² × 3 = 12

12When a number is divided by 13, the remainder is 11. What is the remainder when the same number is divided by 26?

  1. 11
  2. 24
  3. 11 or 24
  4. Cannot be determined
Answer: C) 11 or 24
Number = 13k + 11 for some integer k
If k is even: k = 2m, Number = 26m + 11, remainder = 11
If k is odd: k = 2m+1, Number = 26m + 24, remainder = 24

Advanced Problems

13A train travels at 60 km/hr. How many meters will it travel in 5 seconds?

  1. 83.33 m
  2. 166.67 m
  3. 250 m
  4. 300 m
Answer: A) 83.33 m
60 km/hr = 60 × (1000/3600) m/s = 50/3 m/s
Distance in 5 sec = (50/3) × 5 = 250/3 = 83.33 m

14If 40% of a number is added to 42, the result is the number itself. Find the number.

  1. 60
  2. 65
  3. 70
  4. 75
Answer: C) 70
0.4x + 42 = x
42 = 0.6x
x = 42/0.6 = 70

15The ratio of present ages of A and B is 5:7. After 6 years, their ages will be in ratio 3:4. Find the present age of A.

  1. 25 years
  2. 30 years
  3. 35 years
  4. 40 years
Answer: B) 30 years
Let present ages be 5x and 7x
(5x + 6)/(7x + 6) = 3/4
20x + 24 = 21x + 18
x = 6
A's age = 5 × 6 = 30 years

Verbal Ability Questions (15 Questions with Solutions)

Error Detection

1Find the error: "The committee (A) have decided (B) to postpone (C) the meeting (D)."

  1. A
  2. B
  3. C
  4. D
Answer: B) have decided
"Committee" as a collective noun takes singular verb. It should be "has decided."

2Find the error: "Neither he (A) nor his friends (B) was (C) present at the party (D)."

  1. A
  2. B
  3. C
  4. D
Answer: C) was
With "neither...nor," verb agrees with nearer subject. "Friends" is plural, so it should be "were."

3Find the error: "The sceneries (A) of Kashmir (B) are (C) very beautiful (D)."

  1. A
  2. B
  3. C
  4. D
Answer: A) sceneries
"Scenery" is an uncountable noun and doesn't have a plural form. It should be "The scenery."

4Find the error: "I have been (A) living in this city (B) since (C) five years (D)."

  1. A
  2. B
  3. C
  4. D
Answer: C) since
"Since" is used for point in time, "for" is used for duration. It should be "for five years."

Vocabulary

5Choose the word most similar in meaning to METICULOUS:

  1. Careless
  2. Thorough
  3. Quick
  4. Ambitious
Answer: B) Thorough
Meticulous means showing great attention to detail; very careful and precise.

6Choose the word most opposite in meaning to LUCID:

  1. Clear
  2. Bright
  3. Confusing
  4. Transparent
Answer: C) Confusing
Lucid means clear and easy to understand. Its opposite is confusing or unclear.

7Choose the word most similar in meaning to EPHEMERAL:

  1. Permanent
  2. Eternal
  3. Transient
  4. Stable
Answer: C) Transient
Ephemeral means lasting for a very short time. Transient has the same meaning.

Reading Comprehension

Passage: Artificial Intelligence (AI) is transforming industries at an unprecedented pace. From healthcare diagnostics to autonomous vehicles, AI applications are becoming increasingly sophisticated. However, this rapid advancement raises important ethical questions about job displacement, privacy, and decision-making accountability. While AI can process vast amounts of data and identify patterns beyond human capability, it lacks the emotional intelligence and ethical reasoning that humans naturally possess. The key challenge for society is to harness AI's potential while establishing robust frameworks to address its risks.

8According to the passage, what is AI's primary limitation?

  1. Processing speed
  2. Data handling capacity
  3. Emotional intelligence and ethics
  4. Pattern recognition
Answer: C) Emotional intelligence and ethics
The passage states that AI "lacks the emotional intelligence and ethical reasoning that humans naturally possess."

9Which is NOT mentioned as an ethical concern related to AI?

  1. Job displacement
  2. Privacy issues
  3. Environmental impact
  4. Decision accountability
Answer: C) Environmental impact
The passage mentions job displacement, privacy, and decision-making accountability. Environmental impact is not discussed.

10The word "unprecedented" in the passage means:

  1. Slow
  2. Predictable
  3. Never before seen
  4. Expected
Answer: C) Never before seen
Unprecedented means never done or known before; without previous example.

Sentence Completion

11The manager _____ the proposal because it lacked detailed financial projections.

  1. accepted
  2. approved
  3. rejected
  4. submitted
Answer: C) rejected
"Lacked" indicates a deficiency, suggesting the proposal was not approved.

12Despite his _____ efforts, he could not complete the project on time.

  1. lazy
  2. strenuous
  3. minimal
  4. careless
Answer: B) strenuous
"Despite" indicates contrast. Despite hard (strenuous) efforts, he still couldn't finish.

Para Jumbles

13Arrange to form a coherent paragraph:

P. This has led to a significant increase in digital transactions.
Q. The government has been promoting cashless economy.
R. However, concerns about cybersecurity remain.
S. UPI and mobile wallets have become popular payment methods.

  1. QPSR
  2. QSPR
  3. PQSR
  4. SQPR
Answer: A) QPSR
Q (introduction: government initiative) → P (result: digital transactions increase) → S (specific examples: UPI/wallets) → R (conclusion: concerns remain)

Idioms & Phrases

14What does "to burn the midnight oil" mean?

  1. To waste resources
  2. To work late into the night
  3. To start a fire
  4. To use expensive things
Answer: B) To work late into the night
"Burn the midnight oil" means to work or study late into the night.

15What does "a blessing in disguise" mean?

  1. A hidden curse
  2. A religious ceremony
  3. Something bad that turns out good
  4. A secret gift
Answer: C) Something bad that turns out good
"A blessing in disguise" refers to something that seems bad initially but results in something good.

Pseudocode Questions (8 Questions with Solutions)

Pseudocode Tips: Read carefully, trace variables step-by-step, watch for loop boundaries and conditions. Most questions test loop understanding and output prediction.

1What is the output of the following pseudocode?

INTEGER x = 5, y = 3, z z = x + y x = z - x y = z - y PRINT x, y
  1. 5, 3
  2. 3, 5
  3. 8, 8
  4. 5, 8
Answer: B) 3, 5
z = 5 + 3 = 8
x = 8 - 5 = 3
y = 8 - 3 = 5
Output: 3, 5 (values are swapped!)

2What is the output?

INTEGER i, sum = 0 FOR i = 1 TO 5 IF i MOD 2 == 0 THEN sum = sum + i END IF END FOR PRINT sum
  1. 6
  2. 9
  3. 10
  4. 15
Answer: A) 6
Loop runs for i = 1, 2, 3, 4, 5
Even numbers: 2, 4
sum = 0 + 2 + 4 = 6

3What is the output?

INTEGER arr[5] = {10, 20, 30, 40, 50} INTEGER i, temp FOR i = 0 TO 1 temp = arr[i] arr[i] = arr[4-i] arr[4-i] = temp END FOR PRINT arr[0], arr[2], arr[4]
  1. 10, 30, 50
  2. 50, 30, 10
  3. 50, 30, 50
  4. 10, 30, 10
Answer: B) 50, 30, 10
i=0: swap arr[0] and arr[4] → {50, 20, 30, 40, 10}
i=1: swap arr[1] and arr[3] → {50, 40, 30, 20, 10}
arr[0]=50, arr[2]=30, arr[4]=10

4What is the output?

INTEGER n = 5, result = 1 WHILE n > 0 result = result * n n = n - 1 END WHILE PRINT result
  1. 15
  2. 25
  3. 120
  4. 125
Answer: C) 120
This calculates factorial of 5
result = 1×5×4×3×2×1 = 120

5What is the output?

INTEGER a = 10, b = 20 IF a > b THEN PRINT a ELSE IF a < b THEN PRINT b ELSE PRINT a + b END IF
  1. 10
  2. 20
  3. 30
  4. Error
Answer: B) 20
a(10) is not > b(20) → first condition false
a(10) < b(20) → second condition true
Print b = 20

6How many times will "Hello" be printed?

INTEGER i = 1 WHILE i <= 10 IF i MOD 3 == 0 THEN PRINT "Hello" END IF i = i + 1 END WHILE
  1. 2
  2. 3
  3. 4
  4. 5
Answer: B) 3
Numbers from 1-10 divisible by 3: 3, 6, 9
"Hello" printed 3 times

7What is the output?

FUNCTION foo(n) IF n <= 1 THEN RETURN n ELSE RETURN foo(n-1) + foo(n-2) END IF END FUNCTION PRINT foo(6)
  1. 5
  2. 8
  3. 13
  4. 21
Answer: B) 8
This is Fibonacci function
foo(0)=0, foo(1)=1, foo(2)=1, foo(3)=2, foo(4)=3, foo(5)=5, foo(6)=8

8What is the value of count?

INTEGER arr[6] = {5, 2, 8, 1, 9, 3} INTEGER count = 0, i FOR i = 0 TO 5 IF arr[i] > 4 THEN count = count + 1 END IF END FOR PRINT count
  1. 2
  2. 3
  3. 4
  4. 5
Answer: B) 3
Numbers > 4: 5, 8, 9
count = 3

Coding Problems (2 Problems with Solutions)

Problem 1: Second Largest Element in Array

Write a program to find the second largest element in an array of integers.

Input: arr = [12, 35, 1, 10, 34, 1]

Output: 34

Python Solution

def second_largest(arr):
    # Handle edge cases
    if len(arr) < 2:
        return None

    # Initialize first and second
    first = second = float('-inf')

    for num in arr:
        if num > first:
            second = first
            first = num
        elif num > second and num != first:
            second = num

    if second == float('-inf'):
        return None  # All elements are same

    return second

# Test
arr = [12, 35, 1, 10, 34, 1]
print(second_largest(arr))  # Output: 34

Java Solution

public class SecondLargest {
    public static int findSecondLargest(int[] arr) {
        if (arr.length < 2) {
            throw new IllegalArgumentException("Array too small");
        }

        int first = Integer.MIN_VALUE;
        int second = Integer.MIN_VALUE;

        for (int num : arr) {
            if (num > first) {
                second = first;
                first = num;
            } else if (num > second && num != first) {
                second = num;
            }
        }

        if (second == Integer.MIN_VALUE) {
            throw new IllegalArgumentException("No second largest");
        }

        return second;
    }

    public static void main(String[] args) {
        int[] arr = {12, 35, 1, 10, 34, 1};
        System.out.println(findSecondLargest(arr));  // Output: 34
    }
}

Problem 2: Fibonacci Series

Write a program to print the first n terms of the Fibonacci series.

Input: n = 8

Output: 0 1 1 2 3 5 8 13

Python Solution

def fibonacci_iterative(n):
    # Handle edge cases
    if n <= 0:
        return []
    if n == 1:
        return [0]

    # Generate Fibonacci series
    fib = [0, 1]
    for i in range(2, n):
        fib.append(fib[i-1] + fib[i-2])

    return fib

# Recursive approach (less efficient but good to know)
def fib_recursive(n):
    if n <= 1:
        return n
    return fib_recursive(n-1) + fib_recursive(n-2)

# Test
n = 8
print(fibonacci_iterative(n))  # [0, 1, 1, 2, 3, 5, 8, 13]
print(" ".join(map(str, fibonacci_iterative(n))))  # 0 1 1 2 3 5 8 13

Java Solution

public class Fibonacci {
    public static void printFibonacci(int n) {
        if (n <= 0) return;

        int a = 0, b = 1;

        for (int i = 0; i < n; i++) {
            System.out.print(a + " ");
            int next = a + b;
            a = b;
            b = next;
        }
        System.out.println();
    }

    // Array-based approach
    public static int[] getFibonacciArray(int n) {
        if (n <= 0) return new int[0];

        int[] fib = new int[n];
        fib[0] = 0;
        if (n > 1) fib[1] = 1;

        for (int i = 2; i < n; i++) {
            fib[i] = fib[i-1] + fib[i-2];
        }

        return fib;
    }

    public static void main(String[] args) {
        printFibonacci(8);  // Output: 0 1 1 2 3 5 8 13
    }
}

Infosys Interview Rounds Explained

Online Assessment

Duration: 100 minutes (aptitude) + 60-90 minutes (coding for SP/DSE)

Mode: Online proctored via InfyTQ/HackerRank

Sections:

  • Reasoning Ability (15 questions)
  • Mathematical Ability (10 questions)
  • Verbal Ability (20 questions)
  • Pseudocode (5 questions)
  • Puzzle (4 questions)
  • Coding (2-3 problems for SP/DSE roles)

Tips: Manage time carefully. Avoid random guessing (negative marking!). For coding, aim for at least one complete solution.

Technical Interview

Duration: 30-45 minutes

Mode: Virtual (Zoom/Teams) or In-person

Topics covered:

  • Resume deep-dive (projects, internships, skills)
  • Programming (Python/Java/C++ — depends on your profile)
  • OOP concepts with real examples
  • DBMS (SQL queries, ACID properties, normalization)
  • Basic DSA (for SP/DSE roles)
  • InfyTQ course topics if certified

Tips: Be honest about your skill level. If you don't know something, say so. Explain your projects clearly with technical depth.

HR Interview

Duration: 15-25 minutes

Mode: Virtual or In-person

Common questions:

  • Tell me about yourself
  • Why Infosys?
  • What do you know about Infosys?
  • Are you open to relocation?
  • Any salary expectations?
  • Strengths and weaknesses
  • How do you handle pressure?

Tips: Research Infosys thoroughly (founder, CEO, recent news). Be enthusiastic but realistic. Always say YES to relocation. Don't negotiate salary — it's fixed for freshers.

25-Day Infosys Preparation Plan

Day-by-Day Study Plan

Days 1-5: InfyTQ Setup & Foundation Courses

  • Day 1: Download InfyTQ app, complete registration, verify profile
  • Day 2-3: Start Python/Java programming course on InfyTQ
  • Day 4-5: Complete course modules, pass quizzes, attempt certification

Daily effort: 2-3 hours on InfyTQ platform

Days 6-10: Mathematical Ability & Reasoning

  • Day 6-7: Algebra, geometry, basic statistics
  • Day 8-9: Probability, permutations, combinations
  • Day 10: Verbal reasoning, syllogisms, blood relations

Daily target: 20 math + 15 reasoning problems

Days 11-15: Verbal Ability & Pseudocode

  • Day 11-12: Error detection, grammar rules, vocabulary
  • Day 13: Reading comprehension (2-3 passages)
  • Day 14-15: Pseudocode practice — trace loops, understand recursion

Daily target: 15 verbal + 10 pseudocode problems

Days 16-20: Coding & Puzzles

  • Day 16-17: Basic coding — arrays, strings, pattern printing
  • Day 18-19: Medium coding — recursion, searching, sorting
  • Day 20: Puzzle solving, logical reasoning exercises

Daily target: 3 coding problems + 5 puzzles

Days 21-25: Mock Tests & Interview Prep

  • Day 21-22: Full-length mock tests (1 per day), analyze mistakes
  • Day 23: Revise weak areas, practice more pseudocode
  • Day 24: Technical interview prep — CS fundamentals, project discussion
  • Day 25: HR interview prep, company research, mock interviews

Target: Score 65%+ in mocks, confident about projects

InfyTQ Registration Guide — Step by Step

Complete InfyTQ Registration Process:

  1. Download the App:
    Search "InfyTQ" or "Infosys Springboard" on Google Play Store (Android) or Apple App Store (iOS). Install the official app.
  2. Create Account:
    Open app → Register → Enter email (preferably college email), create password, verify via OTP sent to phone/email.
  3. Complete Profile:
    Add: Full name (as per college records), Date of Birth, College name, Branch, Current semester, Expected graduation year, Contact number.
  4. Upload Documents:
    Upload recent passport-size photo, College ID card scan, Academic transcripts (if available).
  5. Enroll in Courses:
    Navigate to "Courses" → Enroll in mandatory programming course (Python or Java). Complete all video modules and embedded quizzes.
  6. Attempt Certification:
    After completing courses, go to "Certifications" → Attempt the InfyTQ Certification exam. You need 60%+ to pass. You can re-attempt after 7 days if failed.
  7. Maintain Active Status:
    Keep logging in regularly. Complete any new courses or assessments. Your InfyTQ score/certification is shared with Infosys recruiters automatically.
Pro Tip: High InfyTQ scores increase your chances of getting shortlisted for SP/DSE roles instead of regular SE. Aim for top performer badges!

Frequently Asked Questions (18 FAQs)

What is Infosys minimum CGPA requirement?
Infosys requires minimum 60% or 6.0 CGPA throughout academics (10th, 12th, graduation). No active backlogs allowed at time of appearing for the selection process. Maximum 2-year gap in education is permitted.
What is Infosys fresher salary 2026?
Infosys 2026 fresher salary: Systems Engineer (SE) offers ₹3.6 LPA, Specialist Programmer (SP) offers ₹5-6 LPA, Digital Specialist Engineer (DSE) offers ₹9 LPA. DSE requires strong coding skills and additional technical assessment.
What is InfyTQ and is it mandatory?
InfyTQ is Infosys' official learning and assessment platform. Registering on InfyTQ and completing the certification courses is MANDATORY for Infosys campus hiring. Download the InfyTQ app, complete Python/Java courses, and pass the certification exam.
What is Infosys exam pattern 2026?
Infosys exam pattern: Reasoning Ability (15q/25min) + Mathematical Ability (10q/35min) + Verbal Ability (20q/20min) + Pseudocode (5q/10min) + Puzzle (4q/10min). Total 54 questions in 100 minutes. Additional coding round for SP/DSE roles.
Is there negative marking in Infosys exam?
Yes, Infosys has negative marking. Each wrong answer deducts 0.25 marks from your score. Be careful with guessing — only attempt questions you're reasonably confident about.
How to prepare for Infosys in 25 days?
Days 1-5: InfyTQ registration + courses. Days 6-10: Math + Reasoning. Days 11-15: Verbal + Pseudocode. Days 16-20: Coding + Puzzles. Days 21-25: Mock tests + Interview prep. Practice 3-4 hours daily.
What is difference between SP and DSE in Infosys?
SP (Specialist Programmer) at ₹5-6 LPA focuses on programming roles. DSE (Digital Specialist Engineer) at ₹9 LPA is for top coders working on cutting-edge technologies. DSE has harder coding rounds and higher eligibility bar.
How many rounds are there in Infosys placement?
Infosys has 3 rounds: (1) Online Assessment (Aptitude + Coding), (2) Technical Interview, (3) HR Interview. For DSE roles, there may be additional coding/design rounds.
What topics are asked in Infosys technical interview?
Infosys technical interview covers: Python/Java programming, OOP concepts, DBMS (SQL queries), basic DSA, project discussion. For DSE, expect advanced coding questions and system design basics.
Is Infosys a good company for freshers?
Yes, Infosys is India's second-largest IT company with excellent training programs, global opportunities, and good work culture. Known for strong L&D (Learning & Development). Cons: Initial SE salary is on the lower side.
What is Infosys training duration and location?
Infosys training is 3-4 months at their Mysore campus (world's largest corporate training center). Training covers technical skills, soft skills, domain knowledge. Salary and accommodation provided during training.
Can non-CS students apply for Infosys?
Yes, Infosys accepts all engineering branches and many non-engineering degrees (BCA, MCA, B.Sc CS). CGPA criteria applies uniformly. Non-CS students should focus on basic programming skills.
How difficult is Infosys placement test?
Infosys test difficulty is moderate to high. Reasoning and Pseudocode sections are tricky. Mathematical section is lengthy. With 3-4 weeks of focused preparation, clearing the exam is achievable.
What is Infosys bond period?
Infosys typically requires a 1-year service agreement (not a formal bond). There's no penalty clause in most cases. However, leaving during training may require reimbursement of training costs.
When does Infosys conduct campus placements?
Infosys conducts campus hiring: July-August (InfyTQ certification phase), September-November (on-campus hiring), December-April (extended hiring). Off-campus hiring happens through careers.infosys.com.
What is Infosys HackWithInfy?
HackWithInfy is Infosys' annual coding competition for engineering students. Top performers get PPIs (Pre-Placement Interviews) and direct interview opportunities. Prizes include internships and DSE/SP offers.
How to crack Infosys pseudocode section?
Practice dry running code manually. Understand loops (for, while), conditions (if-else), arrays, functions in pseudocode format. Trace variables step-by-step. Most questions are output prediction or error identification.
What is InfyTQ certification validity?
InfyTQ certification is valid for 1 year from the date of certification. If your campus hiring is delayed, ensure your certification is still valid or re-attempt the certification exam.

Related Placement Papers