TenxerLabs - Software Engineer - Question Paper (Sep 2024)
TenxerLabs - Software Engineer - Question Paper (Sep 2024)
Name: __________________________________
Email: __________________________________
College : __________________________________
CGPA : __________________________________
(If final result has not been published yet, please mention CGPA till 7th semester)
Instructions:
his question paper has the following sections. Please take a moment to review
T
before you begin writing the test:
● Section 1 - Aptitude MCQs (10 questions)
● Section 2 - Technical MCQs (10 questions)
● Section 3 - Programming (5 questions)
● Section 4 - Personality Assessment (4 questions)
2. Find the next term in the series: 2, 5, 10, 17, 26, ?
(A) 37
(B) 36
(C) 35
(D) 34
3. Ifacompanyproduces200unitsin5days,howmanyunitscanitproducein20
days?
(A) 400
(B) 800
(C) 1600
(D) 2000
4. If a coin is tossed twice, what is the probability of getting heads both times?
(A) 1/4
(B) 1/2
(C) 3/4
(D) 1
5.IfAcandoaworkin12daysandBcandothesameworkin15days,howmany
days will they take to complete the work together?
(A) 6
(B) 7
(C) 8
(D) 9
6. The average age of 5 students is 18. If one student's age is removed, the
average becomes 17. What is the age of the student who was removed?
(A) 20
(B) 22
(C) 23
(D) 25
7.TheHCFoftwonumbersis12andtheirLCMis180.Ifoneofthenumbersis36,
what is the other number?
(A) 60
(B) 72
(C) 84
(D) 96
2
8. If the ratio of boys to girls in a class is 3:2, andthereare20boys,howmany
girls are there?
(A) 12
(B) 13
(C) 14
(D) 15
9.Asumofmoneyatsimpleinterestamountsto₹1000in2yearsandto₹1200in
3 years. What is the principal amount?
(A) ₹800
(B) ₹900
(C) ₹1000
(D) ₹1100
3
Technical MCQs
2. W
hat is the correct way to declare a variable that cannot be changed in
Python?
a. const x = 10
b. x = 10
c. final x = 10
d. Python does not have built-in support for constants.
4
6. Which of the following keywords is used to create a generator in Python?
a. yield
b. return
c. async
d. await
7. Which method is used to remove the last element from a list in Python?
a. remove()
b. pop()
c. del()
d. clear()
5
Programming
1. Write a Python function that:
a. Accepts a sentence as input.
b. Reverses each word individually (without reversing the order of words).
c. Removes any duplicate spaces between words.
d. Joins the words back into a single string and returns the result.
6
2. Write a Python function to find the second largest number in a list.
Input: A list of integers.
Output: Return the second largest number.
7
3. Write a Python function that:
○ Takes a list of strings as input.
○ Returns a dictionary where:
i. The keys are the first characters of the strings.
ii. The values are lists of strings that start with that character.
○ Ensure the values (lists of strings) are sorted alphabetically.
8
4. Write a Python function that:
. T
a akes two lists of integers as input.
b. Returns a set containing the intersection of both lists.
c. Removes any values from the set that are prime numbers.
9
. Write a Python function to find the longest word in a sentence and return its
5
length. However, if two or more words have the same longest length, return
the length of the word that appears last in the sentence.
Input: A string (sentence).
Output: An integer representing the length of the longest word (last
occurrence if there’s a tie).
10
Personality Assessment
(Answer in 3-4 sentences)
2. D
escribe one challenging situation you faced during your college life /
previous career and what steps did you take to convert the challenge into a
success ?
11
3. How do you picture yourself in your career, 5 years from now?
4. W
hat do you know about Tenxerlabs? What makes you want to join
Tenxerlabs?
12