0% found this document useful (0 votes)
81 views2 pages

Zoho

Uploaded by

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

Zoho

Uploaded by

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

ZOHO

Round 1:

1. Total number of handshakes is 120. How many persons were there?

2. A train overtakes 2 persons who are walking in the same direction in which the train is going at
the rate of 2kmph and 4kmph and passes them completely in 9 and 10 secs. What is the length of
the train?

3. Given upstream of boat = x kmph, downstream of boat = y kmph, speed of boat in still water = ?

4. There are 3 sacks, each sack contains 30 coconut. There are 3 tolls for each toll the merchant has
to give a coconut from each sack. If the merchant acts clever, then how many coconuts does he have
at the end of 30 tolls?

5. It takes 11 parts to make a soap, out of which 1 part is waste. If there 251 parts how many soaps
can be made if the wastes can be reused.

6. A lady dropped a basket with full of eggs. She is not sure of the total count but she has some clue
to identify the broken eggs. Whenever a group of 1, 2, 3, 5 or 6 is taken 1 egg is left and whenever a
group of 7 eggs are taken there are no eggs left. Find the number of eggs.

7. If a man works for 1 year, he will get a salary of Rs. 2400 and one shirt. If he is working for 9
months, and he gets Rs. 1200, what is the cost of the shirt?

Followed by C questions mostly from “Test your C skills” by Yashwant Kanetkar.

Round 2:

1. Given an integer n, form a number triangle.


Example : if n = 5,
output:
0
505
45054
3450543
234505432
12345054321

2. Given a string with braces, check whether it is balanced or not.


Example:
[](){} - balanced
[]){(}) - not balanced

3. Given a 3 or 2 digit number, add it with its reverse and check if the result is palindrome. If not,
add the result with its result and continue this process for 5 times.

4. Given a line of sentence, reverse the sentence. (White spaces and special characters retain their
same place)
Example : John : oh God ! I cannot believe !
Evei : le bto ! N nacIdo Ghonho !
5. Generate a 10 digit random number such that
a) 1st digit is divisible by 1
b) 1st two digits are divisible by 2
c) 1st three digits are divisible by 3
.
.
.
.
j) 1st ten digits are divisible by 10
without repetation of digits.

You might also like