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

ZOHO Interview Questions (Jan)

ZOHO Interview Questions (Jan)

Uploaded by

Raghu B G Raghu
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
0% found this document useful (0 votes)
268 views

ZOHO Interview Questions (Jan)

ZOHO Interview Questions (Jan)

Uploaded by

Raghu B G Raghu
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 9
Code : CHE230901P zone Duration : 75 Minutes Section B - Aptitude 10 questions | 35 minutes 1. A shopkeeper sold an item (A) at a 20% loss, which originally cost %4500. He then used the money from this sale to buy another item (B), whieh he sold for a 30% profit. What is the total profit or loss from both these transactions? 2. In a school, the ratio of the number of boys to the number of girls is 5:3. If there are 40 more boys than girls, how many students are there in the school? 3. How many years younger is C compared to A, given that the combined age of A and B is 12 years more than the combined age of B and C? 4. There are three pipes, named A, B, and C, that can fill a tank together in 6 hours. They start filling the tank together, but after 2 hours, pipe C is tumed off. The remaining two pipes, A and B, then take 7 more hours to fill the tank. How long would it take for pipe C to fill the tank by itself? 5. In a chess tournament, there are 6 rounds, and each player plays exactly once against every other player. How many players are there in the tournament? 6. A rectangular garden has a length that is 4 meters more than its width. If the area of the garden is 140 square meters, what are the dimensions of the garden? 7. What day of the week will it be 132 days from today, if today is Thursday? 8. The price of a shirt is reduced by 20% during a sale. If the original price was 8500, what is the sale price of the shirt? 9. Check out this sequence: 14, 28, 20, 40, 32, 64,... What number should come next in the sequence? A 4 10. A car travels from City A to City B at a speed of 60 km/h and returns at a speed of 75 km/h, If the total travel time is 9 hours, what is the one-way distance between the two cities? Page No =o CHE230901P 75 Minutes Code Duration 40. What is the ‘zoho’ method's output with 's = "Zoho Corp’ lic String zoho(String s) { charf] arr = s.toCharArray(); int |= slength() for (int i=0;1<=1; i+) { ifG =I \anfi] =") 4 intj=sp +15 intk =i } while @(num, true); } else if (1b.getValue() || b.getKey() <= num) { c=b; b= new Pair(num, true); } else if (c.getValue() || c.getKey() <= num) c =new Pair(num, true); if (1e.getValue()) retum a.getKey(); retum c.getKey(); } 9. What is the 'zoho' method's output with 's = "D4V1D"? public static String zoho(String s) { char{] ¢ = s.toCharArray(); for(int i= 1; i(-1, false); Pair b = new Pair(-1, false); Pair = new PairInteger, Boolean>(-1, false); for (int num : nums) { if (a.getValue() && a.getKey() == num) | (b.getValue() && b.getKey() == num) || (c.getValue() && c.getKey() = num)) continue;

You might also like