Pattern:
Aptitude (30 question easy)
1. If a³ - b³ = 208 and a- b = 4, then (a + b)² – ab is equal to:
(a) 52
(b) 38
(c) 32
(d) 42
2. The average of 16 numbers is 48. The average of first 7 numbers is 45 and the average of
the next 6 numbers is 52. If the 14th number is 11 less than the 15th number and is 5 more
than 16th number, then the average of the 15th and 16th number is:
(a) 47.5
(b) 48.5
(c) 49
(d) 48
3. If 23th March 1997 is a Friday, what was the day of the week on 23rd March, 1996?
(a) Wednesday
(b) Thursday
(c) Friday
(d) Saturday
4. At what angle, the hands of a clock are inclined at 20 minutes past 11?
(a) 175°
(b) 220°
(c) 190°
(d) 150°
5. A sum of Rs 20,000 is invested for 15 months at the interest of 10% per annum
compounded half yearly. What is the percentage gain, correct to one decimal place, at the
end of 15 months?
(a) 12.5%
(b) 13.6%
(c) 13.0%
(d) 13.4%
6. Find average of angles a, b, c, d.
(a) 170°
(b) 180°
(c) 42.5°
(d) Can’t be determined
7. Two numbers are in the ratio 4 : 5. If their HCF is 16, then the sum of these two numbers
is:
(a) 144
(b) 124
(c) 160
(d)150
8. The sides of a triangle are 10 cm, 24 cm and 26 cm. At each of its vertices, circles of
radius 3.5 cm are drawn. What is the area of the triangle excluding the portion covered by
(
the sectors of the circles? π =
22
7 )
(a) 81.5 cm²
(b) 100.75 cm²
(c) 75.75 cm²
(d) 78.25 cm²
9. A mixture A having 18% concentration of acid is mixed with another mixture B having
39% concentration of acid. If the resultant mixture has 27% of the concentration of acid,
then find the ratio in which A and B were mixed.
(a) 4 : 3
(b) 7 : 6
(c) 9 : 8
(d) 2 : 1
10. The square root of which of the following is a rational number?
(a) 1250.49
(b) 6250.49
(c) 1354.24
(d) 5768.28
11. In the following question, select the related letter pair from the given alternatives.
ER: ET :: ?
(a) EZ : AV
(b) OG: KC
(c) SX: SZ
(d) WK: GR
12. In a certain code language,
‘A + B’ means ‘A is the wife of B'
‘A – B’ means ‘A is the sister of B’
‘A × B’ means ‘A is the mother of B’
‘A ÷ B’ means ‘A is the daughter of B’
Based on the above, how is O related to L if ‘O - M ÷ N + L’?
A. Daughter
B. Daughter-in-law
C. Sister
D. Mother
13. Directions : Study the following information carefully and answer the question given
below.
Eight persons M, N, O, P, Q, R, S and T are sitting around a square table in such a way that
four of them sit at four corners, who are facing towards center, and rest four who sits at the
middle of the side, are facing outside. R sits third to the right of Q who is facing towards the
center. P sits second to the left of O who is not an immediate neighbour of R. Both P and S
are facing same direction. N sits third to the left of P. R is not an immediate neighbour of S
who sits third to the left of T.
Who among the following sits immediate right of M?
A. O
B. R
C. N
D. P
14. A library waives late fees if:
1. The delay is under 3 days.
2. The member has not exceeded 2 late returns in the past 6 months.
3. Book is returned undamaged.
Exception:
If the member is a senior citizen, delay up to 7 days is allowed once every quarter.
Member Case:
1. Mr. Ghosh is 67 years old.
2. He returned the book after 5 days.
3. It was undamaged.
4. Had no prior late returns this quarter.
Is Mr. Ghosh eligible to get the late fee waived under the policy?
A. Fee waived under exception
B. Late fee applied
C. Referred to librarian
D. Eligible for half fee
15. Two statements are given, followed by three conclusions numbered I, II and III.
Assuming the statements to be true, even if they seem to be at variance with commonly
known facts, decide which of the conclusions logically follow(s) from the statements.
Statements:
No grass is a flower.
All flowers are trees.
Conclusions:
I. Some trees are flowers.
II. Some trees are grasses.
III. No tree is a grass.
A. Only conclusion III follows
B. Either conclusions II or III, and I follow
C. Either conclusion II or III follow
D. Only conclusion I follows
16. Directions : Study the following information carefully and answer the questions given
below:
There are Seven Members A, B, C, D, E, F and L in a family. There are two married couples
and only three generations in the family. F is grandmother of B, who is niece of D. F has one
son and one daughter. C is brother- in-law of D. L is grandfather of E. B has one sibling.
How is F related to mother of B?
A. sister
B. grandmother
C. daughter
D. mother
17. When the given figure is folded to form a box, which face CANNOT be adjacent to the
face with '2'?
A. 6
B. 1
C. 5
D. 4
18. Ranveer is 18th from the left end of a row and Deepika is 15th from the right end of row.
If they interchanged their positions then Deepika ranks become 9 from right end. Find total
number of persons in the row?
A. 27
B. 30
C. 28
D. None of these
19. Each vowel in the word INCURABLE is changed to the letter following it in the English
alphabetical order and each consonant is changed to the letter preceding it in the English
alphabetical order. How many vowels will be there in the new word thus formed?
A. 1
B. 4
C. 3
D. 2
20. Which of the answer figures is not made up of only the components of the key figure
(question figure)?
A. A
B. B
C. C
D. D
21. Complete the Sentence:
The _____ of the ancient ruins attracted history enthusiasts from around the world.
A. preservation
B. historical significance
C. accessibility
D. tourist facilities
22. Complete the sentence given below with the appropriate option in order to form a
meaningful sentence:
he project encountered unexpected challenges; __________, the completion date had to be
T
postponed.
A. in other words
B. as a result
C. on the contrary
D. none of the above
23.Select the most logical order of given sentences.
. the requirement of permission under paragraph 26(6) of the Employees’ Provident Fund
A
(EPF) Scheme, 1952.
B. Union Labour Minister Bhupender Yadav on Thursday clarified that employees and
C. restricted from filing application forms/joint options [for higher Provident Fund (PF)
pension],”in the absence of
D. pensioners covered under the Employees’ Pension Scheme (EPS) of 1995, “are not
A. BDCA
B. BCDA
C. BDAC
D. BACD
24. The following sentence has been split into four segments. Identify the segment that
contains a grammatical error.
You have said that, / as he took money from you many times, / he owes you / five thousand
rupees all together.
A. he owes you
B. five thousand rupees all together
C. You have said that,
D. as he took money from you many times,
25. Identify the most appropriate ANTONYM of the word in brackets.
The magician's performance was (captivating) and held the audience spellbound.
A. Gripping
B. Enchanting
C. Fascinating
D. Boring
26.Select the most appropriate synonym of the highlighted word.
His eloquent speech moved the audience to tears.
A. Vernacular
B. Angry
C. Expressive
D. Inarticulate
27. Select the most appropriate meaning of the given idiom.
Midhuna was nineteen years old, too young to buy the farm.
A. Possess anything
B. Stop living
C. Spend money
D. Down a property
28. Select the correct meaning of the highlighted word in the given sentence.
othal is particularly famous for its dockyard, which is considered the world’s earliest
L
known, suggesting Lothal was a major port city. Other significant features include a
township divided into a citadel and a lower town, a sophisticated drainage system, and
warehouses.
A. A high tower used for signaling
B. The upper fortified part of an ancient city, typically on a hill
C. A large building used for storing goods
D. A central market area in a city
29. Select the option that correctly changes the voice (active/passive) of the given sentence.
Industrialist Anand Mahindra donates Rs.4 lakh to the needy in Mumbai.
A. Rs.4 lakh was donated to the needy in Mumbai by Industrialist Anand Mahindra.
B. Rs.4 lakh is being donated to the needy in Mumbai by Industrialist Anand Mahindra.
C. Rs.4 lakh has been donated to the needy in Mumbai by Industrialist Anand
Mahindra.
D. Rs.4 lakh is donated to the needy in Mumbai by Industrialist Anand Mahindra.
30. Convert the following sentence into Indirect Speech:
The professor said to the students, “Had I known about your difficulties earlier, I would
have provided additional resources to help you.”
A. The professor told the students that if he had known about their difficulties
earlier, he would have provided additional resources to help them.
B. The professor told the students that if he knew about their difficulties earlier, he will
provide additional resources to help them.
C. The professor told the students that if he had known about their difficulties earlier,
he will provide additional resources to help them.
D. The professor told the students if he knows about their difficulties earlier, he would
provide additional resources to help them.
Sql mcq (10 question )
1. Which SQL keyword is used to retrieve only distinct values from a column?
A) UNIQUE
B) DISTINCT
C) SELECT DISTINCT
D) GROUP BY
Answer: B
2. Which SQL clause is used to group rows that have the same values into summary rows?
A) GROUP BY
B) JOIN
C) SELECT
D) HAVING
Answer: A
3. What will the following SQL query return: SELECT MAX(salary) FROM employees;
A) The minimum salary in the employees table
B) The sum of all salaries in the employees table
C) The highest salary in the employees table
D) The average salary in the employees table
Answer: C
4. What does the LIKE operator do in SQL?
A) Performs an exact match
B) Performs pattern matching with wildcard characters
C) Filters rows based on equality
D) Filters rows based on inequality
Answer: B
5. Which of the following data types can store both numbers and text?
A) CHAR
B) VARCHAR
C) TEXT
D) NUMERIC
Answer: C
6. What is a PRIMARY KEY in SQL?
A) A column that ensures unique values and does not accept nulls
B) A column that is a reference to another table
C) A column that can accept null values
D) A column that stores only numeric values
Answer: A
7. What is a subquery in SQL?
A) A query within a query
B) A query that inserts data into a table
C) A query used to update values
D) A query that deletes data
Answer: A
8. What is the result of the SQL query: SELECT COUNT(DISTINCT country) FROM
customers;
A) The total number of customers
B) The number of unique countries
C) The number of customers from the United States
D) The number of countries
Answer: B
9. Which of the following commands is used to remove a table from a database?
A) DELETE
B) DROP
C) REMOVE
D) CLEAR
Answer: B
10. What does the SQL IS NULL condition check for?
A) If a value is equal to zero
B) If a value is missing or unknown
C) If a value is greater than zero
D) If a value is not null
Answer: B
Python Coding (2 easy - medium)
Question1:
Problem Statement: You are a software engineer at a fintech company responsible for
maintaining the backend of a high-traffic digital wallet platform. One of your tasks is to
manage unique transaction IDs generated in sequence. These transaction IDs are stored as
arrays of digits due to their potentially large size, which can exceed standard integer limits
in some systems.
Each time a new transaction is initiated, the system must increment the last transaction ID
by one and return the new ID in the same digit-array format. For example, a transaction ID
represented as [1, 2, 9] should become [1, 3, 0].
Your task is to implement a program that handles this incrementation accurately, including
handling carry-overs (e.g., [9, 9, 9] becoming [1, 0, 0, 0]). This program will be used in the
core transaction processing system, so it must be efficient and reliable.
Constraints:
1 <= digits.length <= 100
0 <= digits[i] <= 9
digits does not contain any leading 0's.
Example 1:
Input: digits = [1,2,3]
Output: [1,2,4]
Explanation: The array represents the integer 123.
Incrementing by one gives 123 + 1 = 124.
Thus, the result should be [1,2,4].
Example 2:
Input: digits = [4,3,2,1]
Output: [4,3,2,2]
Explanation: The array represents the integer 4321.
Incrementing by one gives 4321 + 1 = 4322.
Thus, the result should be [4,3,2,2].
Example 3:
Input: digits = [9]
Output: [1,0]
Explanation: The array represents the integer 9.
Incrementing by one gives 9 + 1 = 10.
Thus, the result should be [1,0].
Solution:
def plusOne(digits):
n = len(digits)
for i in range(n - 1, -1, -1):
if digits[i] < 9:
digits[i] += 1
return digits
digits[i] = 0
return [1] + digits
print(plusOne([1, 2, 3])) # Output: [1, 2, 4]
print(plusOne([4, 3, 2, 1])) # Output: [4, 3, 2, 2]
print(plusOne([9])) # Output: [1, 0]
Question2:
Problem Statement : Mira runs a quaint little candy shop in her neighborhood. Each day,
she prepares a tray of assorted candies, placing them in a straight line. Every candy has a
positive number that indicates its sweetness level. Mira loves experimenting with different
combinations of candies, but she’s particularly fond of tasting only odd-sized samples —
because she believes odd numbers bring good luck!. One day, she decides to calculate the
total sweetness of all possible odd-length candy samples. A sample is a continuous group of
candies taken from the tray. Odd-length samples could be 1, 3, 5 candies long, and so on. For
example, if the tray has candies with sweetness levels [1, 2, 3], then the odd-length samples
are [1], [2], [3], [1, 2, 3], and their total sweetness is 1 + 2 + 3 + (1+2+3) = 12. Mira asks for
your help to write a program that, given an array of positive integers representing the
sweetness levels of candies on the tray, returns the sum of all possible odd-length
subarrays' total sweetness.
A subarray is a contiguous subsequence of the array.
Constraints:
1 <= arr.length <= 100
1 <= arr[i] <= 1000
Example 1:
Input: arr = [1,4,2,5,3]
Output: 58
Explanation: The odd-length subarrays of arr and their sums are:
[1] = 1
[4] = 4
[2] = 2
[5] = 5
[3] = 3
[1,4,2] = 7
[4,2,5] = 11
[2,5,3] = 10
[1,4,2,5,3] = 15
If we add all these together we get 1 + 4 + 2 + 5 + 3 + 7 + 11 + 10 + 15 = 58
Example 2:
Input: arr = [1,2]
Output: 3
Explanation: There are only 2 subarrays of odd length, [1] and [2]. Their sum is 3.
Example 3:
Input: arr = [10,11,12]
Output: 66
Solution:
def sumOddLengthSubarrays(arr):
total_sum = 0
n = len(arr)
for i in range(n):
total_subarrays = (i + 1) * (n - i)
odd_count = (total_subarrays + 1) // 2
total_sum += arr[i] * odd_count
return total_sum
print(sumOddLengthSubarrays([1, 4, 2, 5, 3])) # Output:
58
print(sumOddLengthSubarrays([1, 2])) # Output:
3
print(sumOddLengthSubarrays([10, 11, 12])) # Output:
66