# Infosys Aptitude Questions with Answers

8 previously-asked aptitude questions from Infosys's hiring process, each with the correct answer and a worked explanation. Written against the company's actual test pattern.

_Source: Astra (https://useastra.in). Updated 2026-09-05._

### 1. Pseudocode: x = 5; y = x++; print x, y (post-increment semantics as in C). What is the output?

A. 6 5
B. 5 6
C. 6 6
D. 5 5

**Answer:** 6 5

**Explanation:** Post-increment assigns the old value 5 to y, then increments x to 6. So x is 6 and y is 5.

### 2. Pseudocode: sum = 0; for i = 1 to 5 do sum = sum + i; print sum. What is the output?

A. 15
B. 10
C. 14
D. 20

**Answer:** 15

**Explanation:** The loop adds 1 + 2 + 3 + 4 + 5 = 15.

### 3. Pseudocode: a = 10; b = 20; if a > b then print a else print b. What is printed?

A. 20
B. 10
C. 0
D. error

**Answer:** 20

**Explanation:** Since 10 is not greater than 20, the else branch runs and prints b, which is 20.

### 4. What is the simple interest on Rs 2000 at 5% per annum for 3 years?

A. Rs 300
B. Rs 250
C. Rs 350
D. Rs 200

**Answer:** Rs 300

**Explanation:** SI = P * R * T / 100 = 2000 * 5 * 3 / 100 = Rs 300.

### 5. What is the average of 10, 20, 30, 40 and 50?

A. 30
B. 25
C. 35
D. 40

**Answer:** 30

**Explanation:** Sum is 150 and there are 5 numbers, so the average is 150 / 5 = 30.

### 6. What is 15% of 200?

A. 30
B. 25
C. 35
D. 20

**Answer:** 30

**Explanation:** 15% of 200 = 0.15 * 200 = 30.

### 7. All cats are animals. All animals are living things. Which conclusion follows?

A. All cats are living things
B. No cat is a living thing
C. Some animals are cats only
D. Cannot be determined

**Answer:** All cats are living things

**Explanation:** By transitivity, if all cats are animals and all animals are living things, then all cats are living things.

### 8. Find the next term in the letter series: A, C, E, G, ?

A. I
B. H
C. J
D. K

**Answer:** I

**Explanation:** The series skips one letter each time (A, C, E, G), so the next is I.

More Infosys preparation, including the full recruitment process: https://useastra.in/campus/infosys
