0% found this document useful (0 votes)
47 views12 pages

TenxerLabs - Software Engineer - Question Paper (Sep 2024)

This document is a question paper for a Software Engineer position, consisting of four sections: Aptitude MCQs, Technical MCQs, Programming questions, and a Personality Assessment. Each section includes various questions designed to evaluate the candidate's skills and knowledge in relevant areas. The total duration for completing the test is one hour.

Uploaded by

aditi.saxena
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
47 views12 pages

TenxerLabs - Software Engineer - Question Paper (Sep 2024)

This document is a question paper for a Software Engineer position, consisting of four sections: Aptitude MCQs, Technical MCQs, Programming questions, and a Personality Assessment. Each section includes various questions designed to evaluate the candidate's skills and knowledge in relevant areas. The total duration for completing the test is one hour.

Uploaded by

aditi.saxena
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 12

‭Question Paper - Software Engineer‬

‭Name:‬ ‭__________________________________‬

‭Email:‬ ‭__________________________________‬

‭Contact no:‬ ‭__________________________________‬

‭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)‬

‭Total duration for the test is ONE hour.‬


‭Aptitude MCQs‬
‭1. If A is the brother of B, and C is the sister of B, how is A related to C?‬
‭(A) Brother‬
‭(B) Sister‬
‭(C) Cousin‬
‭(D) Uncle‬

‭2. Find the next term in the series: 2, 5, 10, 17, 26, ?‬
‭(A) 37‬
‭(B) 36‬
‭(C) 35‬
‭(D) 34‬

‭3.‬ ‭If‬‭a‬‭company‬‭produces‬‭200‬‭units‬‭in‬‭5‬‭days,‬‭how‬‭many‬‭units‬‭can‬‭it‬‭produce‬‭in‬‭20‬
‭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.‬‭If‬‭A‬‭can‬‭do‬‭a‬‭work‬‭in‬‭12‬‭days‬‭and‬‭B‬‭can‬‭do‬‭the‬‭same‬‭work‬‭in‬‭15‬‭days,‬‭how‬‭many‬
‭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.‬‭The‬‭HCF‬‭of‬‭two‬‭numbers‬‭is‬‭12‬‭and‬‭their‬‭LCM‬‭is‬‭180.‬‭If‬‭one‬‭of‬‭the‬‭numbers‬‭is‬‭36,‬
‭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,‬ ‭and‬‭there‬‭are‬‭20‬‭boys,‬‭how‬‭many‬
‭girls are there?‬
‭(A) 12‬
‭(B) 13‬
‭(C) 14‬
‭(D) 15‬

‭9.‬‭A‬‭sum‬‭of‬‭money‬‭at‬‭simple‬‭interest‬‭amounts‬‭to‬‭₹1000‬‭in‬‭2‬‭years‬‭and‬‭to‬‭₹1200‬‭in‬
‭3 years. What is the principal amount?‬
‭(A) ₹800‬
‭(B) ₹900‬
‭(C) ₹1000‬
‭(D) ₹1100‬

‭10. If 20% of a number is 50, what is the number?‬


‭(A) 100‬
‭(B) 200‬
‭(C) 250‬
‭(D) 300‬

‭3‬
‭Technical MCQs‬

‭1.‬ ‭What will be the output of the following code?‬


‭print(type(‬‭6‬‭/‭2
‬ ‬‭))‬
‭ .‬
a ‭ class 'int'>‬
<
‭b.‬ ‭<class 'float'>‬
‭c.‬ ‭Error‬
‭d.‬ ‭<class 'fraction'>‬

‭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.‬

‭3.‬ ‭What will be the output of the following code?‬


‭print(bool(‬‭'False'‬‭))‬
‭ .‬
a ‭ rue‬
T
‭b.‬ ‭False‬
‭c.‬ ‭Error‬
‭d.‬ ‭None‬

‭4.‬ ‭Which of the following is not a valid data type in Python?‬


‭a.‬ ‭tuple‬
‭b.‬ ‭set‬
‭c.‬ ‭list‬
‭d.‬ ‭stack‬

‭5.‬ ‭What is the output of the following code?‬


x‭ = [‬‭1‬‭,‬‭2‬‭,‬‭3‬‭]‬
‭y = x‬
‭y.append(‬‭4‬‭)‬
‭print(x)‬
‭ .‬
a [‭1, 2, 3]‬
‭b.‬ ‭[1, 2, 3, 4]‬
‭c.‬ ‭[4]‬
‭d.‬ ‭Error‬

‭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()‬

‭8.‬ ‭What is the purpose of the return statement in a Python function?‬


‭a.‬ ‭To define the function's name‬
‭b.‬ ‭To specify the function's parameters‬
‭c.‬ ‭To send a value back to the caller‬
‭d.‬ ‭To create a new function‬

‭9.‬ ‭What is the difference between a class and an object in Python?‬


‭a.‬ ‭A class is a blueprint for an object, while an object is an instance of a‬
‭class.‬
‭b.‬ ‭A class is an instance of an object, while an object is a blueprint for a‬
‭class.‬
‭c.‬ ‭There is no difference between a class and an object.‬
‭d.‬ ‭A class is a data type, while an object is a variable.‬

‭10.‬‭What is the purpose of inheritance in Python?‬


‭a.‬ ‭To create new classes from existing ones‬
‭b.‬ ‭To avoid code duplication‬
‭c.‬ ‭To promote code reusability‬
‭d.‬ ‭All of the above‬

‭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.‬

‭●‬ ‭Test Case 1‬


"Hello world"‬
‭○‬ ‭Input:‬‭
"olleH dlrow"‬
‭ ‬ ‭Expected Output:‬‭

‭ ‬ ‭Test Case 2‬

"Python is fun"‬
‭○‬ ‭Input:‬‭
"nohtyP si nuf"‬
‭ ‬ ‭Expected Output:‬‭

‭ ‬ ‭Test Case 3‬

" Keep moving forward "‬
‭○‬ ‭Input:‬‭
"peeK gnivom drawrof"‬
‭ ‬ ‭Expected Output:‬‭

‭ ‬ ‭Test Case 4‬

"OpenAI rocks the world"‬
‭○‬ ‭Input:‬‭
"IAnepO skcor eht dlrow"‬
‭ ‬ ‭Expected Output:‬‭

‭ ‬ ‭Test Case 5‬

"Test case with multiple spaces"‬
‭○‬ ‭Input:‬‭
"tseT esac htiw elpitlum secaps"‬
‭○‬ ‭Expected Output:‬‭

‭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.‬

‭●‬ ‭Test Case 1‬


[10, 20, 4, 45, 99]‬
‭○‬ ‭Input:‬‭
45‬
‭ ‬ ‭Expected Output:‬‭

‭●‬ ‭Test Case 2‬
[5, 5, 5, 5, 5]‬
‭○‬ ‭Input:‬‭
None‬
‭ ‬ ‭Expected Output:‬‭

‭ ‬ ‭Test Case 3‬

[2, 3]‬
‭○‬ ‭Input:‬‭
2‬
‭ ‬ ‭Expected Output:‬‭

‭●‬ ‭Test Case 4‬
[7, -2, 5, 0, 9]‬
‭○‬ ‭Input:‬‭
7‬
‭ ‬ ‭Expected Output:‬‭

‭ ‬ ‭Test Case 5‬

[1]‬
‭○‬ ‭Input:‬‭
None‬
‭○‬ ‭Expected Output:‬‭

‭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.‬

‭●‬ ‭Test Case 1‬


["apple", "banana", "apricot", "blueberry",‬
‭○‬ ‭Input:‬‭
"cherry"]‬

{'a': ['apple', 'apricot'], 'b':‬
‭○‬ ‭Expected Output:‬‭
‭'banana', 'blueberry'], 'c': ['cherry']}‬
[
‭ ‬ ‭Test Case 2‬

["dog", "cat", "duck", "deer", "cow"]‬
‭○‬ ‭Input:‬‭
{'d': ['deer', 'dog', 'duck'], 'c':‬
‭○‬ ‭Expected Output:‬‭
‭'cat', 'cow']}‬
[
‭●‬ ‭Test Case 3‬
["kiwi", "kangaroo", "koala", "kite"]‬
‭○‬ ‭Input:‬‭
{'k': ['kangaroo', 'kite', 'kiwi',‬
‭○‬ ‭Expected Output:‬‭
‭koala']}‬
'
‭●‬ ‭Test Case 4‬
["sun", "moon", "star", "sky"]‬
‭○‬ ‭Input:‬‭
{'s': ['sky', 'star', 'sun'], 'm':‬
‭○‬ ‭Expected Output:‬‭
‭'moon']}‬
[
‭ ‬ ‭Test Case 5‬

[""]‬
‭○‬ ‭Input:‬‭
{'': ['']}‬
‭○‬ ‭Expected Output:‬‭

‭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.‬

‭●‬ ‭Test Case 1:‬


list1 = [2, 3, 4, 5, 6]‬
‭○‬ ‭Input:‬‭ list2 = [3, 4, 5, 6, 7]‬
‭,‬‭
{4, 6}‬
‭ ‬ ‭Expected Output:‬‭

‭●‬ ‭Test Case 2:‬
list1 = [10, 15, 20]‬
‭○‬ ‭Input:‬‭ list2 = [15, 20, 25]‬
‭,‬‭
{20, 15}‬
‭ ‬ ‭Expected Output:‬‭

‭●‬ ‭Test Case 3:‬
list1 = [11, 13, 17, 19]‬
‭○‬ ‭Input:‬‭ list2 = [11, 17, 19, 23]‬
‭,‬‭
‭ ‬ ‭Expected Output:‬‭
○ set()‬
‭●‬ ‭Test Case 4:‬
‭○‬ ‭Input:‬‭ list1 = [1, 2, 3]‬ list2 = [2, 'a', 3]‬
‭,‬‭
‭○‬ ‭Expected Output: Error (TypeError)‬
‭ ‬ ‭Test Case 5:‬

list1 = []‬
‭○‬ ‭Input:‬‭ list2 = []‬
‭,‬‭
set()‬
‭○‬ ‭Expected Output:‬‭

‭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).‬

‭●‬ ‭Test Case 1‬


"The quick brown fox jumps over the lazy dog"‬
‭○‬ ‭Input:‬‭
5‬
‭ ‬ ‭Expected Output:‬‭

‭●‬ ‭Test Case 2‬
"A journey of a thousand miles begins with a‬
‭○‬ ‭Input:‬‭
single step"‬

7‬
‭ ‬ ‭Expected Output:‬‭

‭●‬ ‭Test Case 3:‬
"To be or not to be that is the question"‬
‭○‬ ‭Input:‬‭
8‬
‭ ‬ ‭Expected Output:‬‭

‭●‬ ‭Test Case 4‬
"May the force be with you"‬
‭○‬ ‭Input:‬‭
5‬
‭ ‬ ‭Expected Output:‬‭

‭●‬ ‭Test Case 5‬
"Lorem ipsum dolor sit amet consectetur‬
‭○‬ ‭Input:‬‭
adipiscing elit"‬

11‬
‭○‬ ‭Expected Output:‬‭

‭10‬
‭Personality Assessment‬
‭(Answer in 3-4 sentences)‬

‭1.‬ ‭What qualities do you believe are required to be a successful engineer?‬

‭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‬

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy