Zoho Round 1 Interview Preparation - Aptitude & Technical Questions
Aptitude Questions
1. What is the next number in the series: 2, 6, 12, 20, 30, __?
2. Find the missing number: 3, 6, 18, 72, __?
3. A and B can do a piece of work in 12 days. B alone can do it in 18 days. How many days will A
alone take?
4. How many 3-digit numbers can be formed using digits 1 to 5 without repetition?
5. A bag contains 3 red, 2 green, and 5 blue balls. What is the probability of picking two blue balls?
6. Direction Puzzle: A man walks 3 km north, then 2 km east. How far is he from the starting point?
7. If the average of 5 numbers is 20, what is their total sum?
8. A train 150 m long crosses a pole in 15 seconds. What is its speed in km/h?
9. In how many ways can the letters of the word 'ZOHO' be arranged?
10. If a number is divided by 5, the remainder is 3. What is the remainder when square of the
number is divided by 5?
Technical Questions
11. Write a program to reverse a number without using built-in functions.
12. Check if a given string is a palindrome.
13. Find the factorial of a number using recursion.
14. Find duplicate elements in an array.
15. Sort an array without using built-in sort functions.
16. Swap two numbers without using a third variable.
17. Check if a number is prime.
18. Print the following pattern:
***
*****
*******
19. Print the pattern:
12
123
1234
20. Implement stack operations using arrays (push, pop, display).
21. Traverse a matrix in spiral order.
22. Count vowels in a given string.
23. Write a program to input 5 numbers and find the second largest.
24. Count the occurrence of each character in a string.
25. Rotate array elements to the left by k steps.
26. Implement a calculator using switch-case (add, subtract, multiply, divide).
27. Write a program to find the GCD of two numbers.
28. Implement binary search.
29. Write a program to find the sum of digits of a number.
30. Find the largest and smallest number in an array.