Zoho Questions PDF
Zoho Questions PDF
com
I Round
1. Father told his son I was as old as you at present when you were born. If
fathers present age is 38, what is his sons age 5 years back?
2. In a jungle a man was at one end of the jungle. He has to give a 2 pieces of
cake to his friend who was at the other end of the jungle. There were 7
bridges on the way with 7 gatekeepers. Each gatekeeper will take half of the
cake he has and will give one piece back to him. How many cakes should the
man carry initially?
3. Gunal is a strange liar. He lies on 6 days of the week but he tells the truth
on the 7th day. Consider the following statements
4) I want to select the fastest three horses out of 25 horses. You can test only
5 horses at a time because there are only 5 tracks. You do not have a
stopwatch. How many minimum number of races will you conduct to pick
them?
Section II C aptitude
1)
int main()
{
printf(%s %s,(Zoho corp), (Campus corpp),(Zoho Corporation);
}
2)
int main()
{
int x=3,y=4,z=4;
printf(ans=%d\n,(z>=y>=x?100:200));
return 0;
}
www.Vidyarthiplus.com
www.Vidyarthiplus.com
3)
int main()
{
struct num
{
int n1:2;
int n2:3;
int n3:4;
} num{3,4,5};
printf(%d%d%d\n,num.n1,num.n2,num.n3);
}
4)
unsigned int i=650000;
while(i++!=0)
{
printf(%d,i);
}
5) int main
{
sum=0;
int I,j;
for(i=0;i<=1000;i*=2)
{
for(j=1;j<I;j++)
{
sum++;
}
printf(%d,sum);
}
6.
for(int i=0;i++;prinf(%d,i));
printf(%d,i);
7.
int a=0,b=0;
if(a++&&b++)
printf(%d%d,a,b);
else
printf(great);
8. enum SWITCH{off,on};
main()
{
enum SWITCH s= on;
printf(size of enumeration %d \n, sizeof(enum SWITCH));
printf(size of object s is %d \n, sizeof(s));
}
www.Vidyarthiplus.com
www.Vidyarthiplus.com
II ROUND
III ROUND
The input will be a paragraph from which the program has to find misspelled
words and provide a near match to the word present in the dictionary.
Sample dictionary:
An
Apple
Away
Ball
Cat
Day
Doctor
www.Vidyarthiplus.com
www.Vidyarthiplus.com
Keeps
The
Sample Paragraph:
Output:
www.Vidyarthiplus.com