Sie sind auf Seite 1von 2

Zoho Interview Experience:

First round is very easy.


1. programming section:
mostly pointer(twisted questions), c questions only, strings
total: 20 questions 1-15 -- 1 marks, 15-20 -- 2 marks
2. quantitative:
Logical,pipes,speed,average,no. of squares, 8 face dice with differen
t animal.. which is correct die?, pick the number not in the series - 167,242,37
4,132,275,345
puzzles like -1. 10 black socks, 11 whites, 10 brown socks what is minimum numbe
r of socks to be taken to have at least one pair correct
2. 1 car and 3 boxes. each box have a sentence on it. only one is
correct. box1: car is in this box, box2: car is not in box1,.. (forget the quest
ion.. please refer)
10 questions each carries 1 mark
"but this question is specially for psg tech"
i heard a different pattern for others.
Second Round:
Important:
1. Use c or c++ for coding.
2. No online compiler. They will provide laptops and ask us to select our progra
mming environment.
3. Not much testcases. Few, manual testcases only.
4. Initially time limit is informed as 3 hours, but they will extend it based on
performance.
5. Don't limit with 3 or 4 program, try to complete all.
6. Complete the programs which are easier, because it will make them to give ext
ra time.
1. Find the position of the robot. It will move in directions up, down,right,lef
t.
input:
position: (1,2)
movement: R10U5D2L3
Output: (8,5)
input:
position: (-1,-3)
movement: R2L10U4D4
output: (-9,-3)
2. Print all posible subsets
input: {1,2,3}
output: {} {1} {2} {3} {1,2} {1,3} {2,3} {1,2,3}
input: {1,2,3,4}
output: {} {1} {2} {3} {4} {1,2} {1,3} {1,4} {2,3} {2,4} {3,4} {1,2,3} {1,2,4} {
1,3,4} {2,3,4} {1,2,3,4}
3. Reverse all the vowels in the string
input: welcometozoho
output: wolcomotezohe

4. Sort the rows based on the column key. Read the input from the file "input.tx
t" and write the output to the file "output.txt". the numbers are separated by t
ab.
input from file "input.txt":
12
23
34
45
66
67
69
34
-56
67
45
23
90
67
-2
4
6
77
33
22
76
7
56
89
33
2
12
41
-7
83
57
08
3
56
12
column
-2
12
-7
34
7

key: 3
4
23
83
-56
56

6
34
57
67
89

77
45
08
45
33

33
66
3
23
2

22
67
56
90
12

76
69
12
67
41

column
-7
-2
7
12
34

key: 1
83
4
56
23
-56

57
6
89
34
67

08
77
33
45
45

3
33
2
66
23

56
22
12
67
90

12
76
41
69
67

5. Perform Hexaddition. (Dont convert to decimal)


input: F
F
output:
1E
input: AB13
79A1
output:
127B4
6. find whether the given number is a armstrong number or not
armstrong number: An Armstrong number is a number such that the sum
of its digits raised to the power is equal to the number itself
input: 153 (1^3+5^3+3^3 = 1+125+27=153)
output: yes
input: 371
output: yes
input: 154
output: no

Das könnte Ihnen auch gefallen