TPC Q2
TPC Q2
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
(a) kind
(b) generous
(c) cruel
(d) harsh
2) Choose the word that best expresses the meaning of the underlined phrase in the sentence:
(a) famous
(b) notorious
(c) impatient
(d) cruel
(a) excited
(b) exuberant
(c) energetic
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.
C. information or 'gist'
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."
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
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
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)?
3) In the context of divide and conquer algorithms, what is the term for combining the
4) What is the time complexity of searching an element in a balanced binary search tree?
5) Which data structure is suitable for implementing a LIFO (Last In, First Out) data
structure?
#include <stdio.h>
int main() {
printf("%d", ++*ptr);
return 0;
A) 1 B) 2 C) 3 D) Compiler Error
8) What is the time complexity of finding the height of a binary tree with n nodes (worstcase)?
#include <stdio.h>
int main() {
int x = 5;
int y = 2;
printf("%d", z);
return 0;
A) 12 B) 14 C) 15 D) 16
#include <stdio.h>
int main() {
int a = 5;
int b = 2;
printf("%d", c);
return 0;
A) 5 B) 6 C) 2 D) 3
def bar(n):
if n <= 0:
return
print("Hello")
bar(n - 1)
12) What is the time complexity of finding the nth Fibonacci number using
def fib(n):
if n <= 1:
return n
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
arr[i] = arr[i] * 2;
A) 2 4 6 8 10 B) 1 2 3 4 5 C) 1 4 9 16 25 D) 2 4 8 16 32
function foo() {
var x = 10;
function bar() {
console.log(x);
return bar;
closureFunc();