0% found this document useful (0 votes)
20 views

TPC Q2

The document contains 15 quantitative reasoning questions covering topics like probability, ratios, and profit calculations. It also contains 15 questions testing English comprehension, logical reasoning, technical concepts, and programming knowledge. The questions are across 4 sections and cover skills for evaluating job candidates.

Uploaded by

Tanusha hande
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
20 views

TPC Q2

The document contains 15 quantitative reasoning questions covering topics like probability, ratios, and profit calculations. It also contains 15 questions testing English comprehension, logical reasoning, technical concepts, and programming knowledge. The questions are across 4 sections and cover skills for evaluating job candidates.

Uploaded by

Tanusha hande
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 8

Section 1: Quantitative Ability

1) The population of a city is 500,000. If the population increases by 10% each year, what will be the
population after 3 years?

a. 550,000

b. 605,000

c. 665,500

d. 726,050

2) A box contains 15 red balls and 25 blue balls. If one ball is drawn at random, what is the
probability of drawing a blue ball?

a. 1/3

b. 2/5

c. 3/5

d. 5/8

3) A group of friends shared a pizza equally. If each person ate 3/8 of the pizza, how many friends
were there?

a. 3

b. 6

c. 8

d. 12

4) The ages of three siblings are in the ratio 3:4:5. If the sum of their ages is 72 years, what is the age
of the youngest sibling?

a. 9 years

b. 12 years

c. 15 years

d. 18 years

5) The selling price of an item is $80, and the profit earned is 25%. What is the cost price of the item?

a. $60

b. $64
c. $700

d. $320

Section 2: English Comprehension


1) Choose the word that best expresses the opposite of the underlined word in the sentence:

The benevolent ruler was loved by his subjects.

(a) kind

(b) generous

(c) cruel

(d) harsh

2) Choose the word that best expresses the meaning of the underlined phrase in the sentence:

The infamous criminal was finally brought to justice.

(a) famous

(b) notorious

(c) impatient

(d) cruel

3) Choose the word that best completes the sentence:

The ebullient child was full of energy and excitement.

(a) excited

(b) exuberant

(c) energetic

(d) all of the above

4)Select the pair which has same relationship.

THRUST:SPEAR

a) mangle:iron

b) scabbard:sword

c) bow:arrow
d) fence:epee

5) Direction: A sentence has been divided into five parts. While the sentence is bold is the

starting fragment the other statements are jumbled up arrange the sentence in a correct order

in a meaningful sequence and select the correct sequence from the given options.

Skimming is used to ___ you read.

A. form the document

B. or the novel that

C. information or 'gist'

D. quickly gather the most important

a) DABC

b) CABD

c) ABCD

d) DCAB

Section 3: Reasoning
1) Three friends P, Q, and R start running around a circular track. P completes a lap in 2

minutes, Q in 3 minutes, and R in 4 minutes. If they all start together from the same point,

after how many minutes will they meet again at the starting point?

A) 12 minutes

B) 24 minutes

C) 6 minutes

D) 8 minutes

2) In a certain code language, "STAR" is coded as "7T8B," and "MOON" is coded as "9D2F."

How will "SUN" be coded in the same language?

A) 6T5B

B) 4T6B

C) 6T4B

D) 5T6B
3)A clock is showing the time as 2:30. What is the angle between the hour and minute

hands of the clock?

A) 75 degrees

B) 120 degrees

C) 105 degrees

D) 150 degrees

4) In a sequence of numbers, each number is obtained by subtracting the sum of the digits

of the previous number from the previous number itself. If the first number is 112, what

will be the 5th number in the sequence?

A) 80

B) 85

C) 90

D) 72

5) If the day after tomorrow is three days before Friday, what day is it today?

A) Monday

B) Tuesday

C) Wednesday

D) Thursday

Section 4: Technical
1) Which sorting algorithm has the worst-case time complexity of O(n^2)?

A) Quick Sort B) Merge Sort C) Bubble Sort D) Heap Sort

2) Which data structure is used to implement recursion?

A) Queue B) Stack C) Array D) Tree

3) In the context of divide and conquer algorithms, what is the term for combining the

solutions of subproblems into the final solution?


A) Divide B) Conquer C) Combine D) Merge

4) What is the time complexity of searching an element in a balanced binary search tree?

A) O(log n) B) O(n) C) O(n log n) D) O(1)

5) Which data structure is suitable for implementing a LIFO (Last In, First Out) data

structure?

A) Queue B) Stack C) Linked List D) Heap

6) What is the output of the following code?

#include <stdio.h>

int main() {

int arr[] = {1, 2, 3, 4, 5};

int *ptr = arr;

printf("%d", ++*ptr);

return 0;

A) 1 B) 2 C) 3 D) Compiler Error

7) Which sorting algorithm can be efficiently used to sort a linked list?

A) Merge Sort B) Quick Sort C) Bubble Sort D) Insertion Sort

8) What is the time complexity of finding the height of a binary tree with n nodes (worstcase)?

A) O(n) B) O(log n) C) O(n log n) D) O(n^2)

9) What is the output of the following code?

#include <stdio.h>

int main() {

int x = 5;

int y = 2;

int z = x++ * ++y;

printf("%d", z);
return 0;

A) 12 B) 14 C) 15 D) 16

10) What is the output of the following C code?

#include <stdio.h>

int main() {

int a = 5;

int b = 2;

int c = a > b ? a++ : b++;

printf("%d", c);

return 0;

A) 5 B) 6 C) 2 D) 3

11) What is the time complexity of the following recursive function:

def bar(n):

if n <= 0:

return

print("Hello")

bar(n - 1)

A) O(1) B) O(log n) C) O(n) D) O(n^2)

12) What is the time complexity of finding the nth Fibonacci number using

the following recursive function?

def fib(n):

if n <= 1:

return n

return fib(n - 1) + fib(n - 2)

A) O(2^n) B) O(n) C) O(n^2) D) O(log n)


13) What is the output of the following Python code?

def mystery(x, y):

if y == 0:

return 0

elif y % 2 == 0:

return mystery(x + x, y // 2)

else:

return mystery(x + x, y // 2) + x

result = mystery(5, 7)

print(result)

A) 35 B) 70 C) 49 D) 50

14) What is the output of the following Java code?

public class MyClass {

public static void main(String[] args) {

int[] arr = {1, 2, 3, 4, 5};

for (int i = 0; i < arr.length; i++) {

arr[i] = arr[i] * 2;

for (int num : arr) {

System.out.print(num + " ");

A) 2 4 6 8 10 B) 1 2 3 4 5 C) 1 4 9 16 25 D) 2 4 8 16 32

15) What is the output of the following JavaScript code?

function foo() {

var x = 10;

function bar() {
console.log(x);

return bar;

var closureFunc = foo();

closureFunc();

A) 10 B) undefined C) ReferenceError D) Runtime error

You might also like