Professional Documents
Culture Documents
Zoho Test
Zoho Test
Zoho Test
1.Five students, Alisha, Binoy, Carey, Dolphy and Elizabeth were comparing the
scores each received
on a Math and an English test. The following was discovered that Alisha's English
score was 80.
Alisha's Math score equals Elizabeth's English score. Elizabeth's Math score
equals Alisha's English
score. Alisha's English score is 15 less than Elizabeth's English score. Dolphy's
Math score is 20 more
than his English score and is 20 more than Carey's Math score. Dolphy's Math
score is 40 more than
Binoy's English score. Carey's English score is 10 less than Binoy's English score.
If Binoy's English
score is 60, what is Dolphy's English score?
a. 80
b. 70
c. 60
d. 50
2. When I was married 10 years ago, my wife was the sixth member in the
family. Today, my father died, and a baby was born to me. The average age in
my family today is what it was when I was married. How old was my father when
he died?
a. 50 years
b. 60 years
c. 70 years
d. Indeterminate
3. In a class, 30 students pass in English and 20 students in Math, while some
students among these pass in both. How many more students do only English as
compared to those doing only Maths. Assume none of the students fail?
a. 10
b. 15
c. 20
d. Indeterminate
1
b)
c)
d)
12)A man covers a distance a scooter. Had he moved 3 kmph faster he would
have taken 40 minutes less. If he had moved 2 kmph slower he would have
taken 40 minutes more. The distance is
a)
40
b)
50
3
30
d)
45
13)A girl has to make pizza with different toppings. There are 8 different
toppings. In how many ways can she make pizzas with two different toppings?
a)
16
b)
56
c)
112
d)
28
b)B
c)C
d)D
e)E
15. Who is intelligent in english and reasoning but not ingeneral awareness
a) A
b)B
c)C
d)D
e)E
b)B
c)C
d)D
e)E
b)B
c)C
d)D
e)E
b)B
c)C
d)D
e)E
Programming
1.
O R
G
O
R
P
R
A
M
2.
Given a set of numbers like <10, 36, 54,89,12> we want to find sum of
weights based on the following conditions
1. 5 if a perfect square
2. 4 if multiple of 4 and divisible by 6
3. 3 if even number
And sort the numbers based on the weight and print it as follows
4.
Given a 99 sudoku we have to evaluate it for its correctness. We have to
check both the sub matrix correctness and the whole sudoku correctness.
5.
<luke, shaw>
<wayne, rooney>
<rooney, ronaldo>
<shaw, rooney>
Where the first string is child, second string is Father. And given ronaldo we
have to find his no of grandchildren Here ronaldo has 2 grandchildren. So our
output should be 2.
6.To create a Railway reservation system and The modules were:
1.
Booking
7
Availability checking
3.
Cancellation
4.
Prepare chart
We were asked to create the modules for representing each data first and to
continue with the implementation phase.
7) Round : Advanced Coding
A matrix game was given with 5 rules. We were asked to implement each of the
rules separately.
R3 | - - - |
R2 | - - - |
R1 | - - - |
C1 C2 C3
Each of the 9 cells can either be empty or filled with an atom. R3, R2, R1 are the
rays that originate from the left. C1, C2, C3 are the rays that originate from the
bottom of the box.
Input : Position of the atoms and the rays that gets originated from the outside of
the box.
Eg.) 3
31
22
13
3
R3 C1 C3
Output : Print the box.
Rule 1:
A ray that has an atom in its path should print H (Hit) If it does not have any
atoms in its path, the ray should pass to the other side.
C1
C3
R3 | - - - | R3
8
C3
Rule 4:
A ray that has atoms in both of the diagonal adjacent positions should reflect
back.
Input ray: C2
|- - -|
|X - X|
|- - -|
R
Input ray: R2
|- X -|
R |- - -|
|- X -|
Rule 5:
The deflection of rays should happen in the order of the input rays.
9
C3
The final task was to implement these rules for dynamic matrix size.
Input : no of rows, no of columns
Eg.) 4 4 (row & column)
2 (No of atoms)
4 4 (Position of atom)
2 2 (Position of atom)
2 (No of rays)
R4 C2 (Ray number)
H |- - - X|
|- - - -|
|- X - -|
|- - - -|
H
The final task was very confusing and it had to handle all the cases. There are
chances for a ray to end at the starting position if the number of rows and
columns are more than 5.
10