Zoho Sample Placement Paper & Questions
Preparing for the Zoho exam, a standardized assessment conducted by Zoho requires a thorough understanding of the test format, typical questions, and strategic preparation.
Scroll down to practice the latest Zoho Placement Paper & Questions.
Zoho Placement Questions - Sample Question Paper
1.
1. What is the output of this C code?
#include <stdio.h>
void main()
{
int a = 45;
int b = sizeof(a++);
printf("A is %d", a);
}
A is 45
A is 46
A is 47
Run time error
2.
2. Comment on the output of this C code?
#include <stdio.h>
int main()
{
int num = 10;
switch (num)
{
case num:
printf("Matched num ");
default:
printf("Default");
}
}
Output: Matched num
Output: Default
Output: Matched num Default
Compile time error
3.
3. What is the output of this C code?
#include <stdio.h>
int main()
{
printf("%d ", 5);
goto label1;
printf("%d ", 6);
}
void display()
{
label1: printf("7 ");
}
5 6 7
5 7
5 7 6
Compile time error
4.
4. What is the output of this C code?
#include <stdio.h>
int main()
{
float f = 5.5;
void *ptr = &f;
printf("%f\n", (float)*ptr);
return 0;
}
Compile time error
5.5
Undefined behavior
Runtime crash
5.
5. What is the output of this C code?
#include <stdio.h>
void bar(double *);
int main()
{
int x = 25, *ptr = &x;
bar(&x);
}
void bar(double *ptr)
{
printf("%lf\n", *ptr);
}
25.000000
0.000000
Compile time error
Undefined behaviour
6.
6. What is the output of this C code?
#include <stdio.h>
void execute(int (*ptr)(int));
int funcA(int x);
int (*funcPtr)(int) = funcA;
int main()
{
execute(funcPtr(5));
}
void execute(int (*x)(int))
{
x(6);
}
int funcA(int x)
{
printf("%d\n", x);
return x;
}
Compile time error
Undefined behaviour
5 6
5 Segmentation fault
7.
7. What is the output of this C code?
#include <stdio.h>
int ((y()))[3];
typedef int ((ptr)())[3] ptrType;
int main()
{
ptrType ptr2;
ptr2 = y;
ptr2();
return 0;
}
int ((y()))[3]
{
int (*array)[3] = malloc(sizeof *array);
return &array;
}
Compile time error
Nothing
Undefined behaviour
Depends on the standard
8.
8. Which of the following share a similarity in memory allocation?
Static variables, 2. Global variables, 3. Dynamic variables, 4. Local variables
2 and 4
1 and 2
3 and 4
1, 3, and 4
9.
9. Which type of files cannot be opened using fopen()?
.jpg
.dat
.cpp
None of the mentioned
10.
10. The scanf function checks for input overflow.
true
false
Depends on the standard
Depends on the compiler
11.
11. A card is drawn from a well-shuffled pack of cards. The probability of getting a queen of the club or king of the heart is ?
1/52
1/26
1/13
None of these
12.
12. An Arab buys two horses, paying Rs. 5000 less for one than for the other. He sells the dearer one at 20% gain and the cheaper one at 30% gain. If he gets Rs. 4000 less on the first than on the second, then the cost price of the second horse is
Rs. 10000
Rs. 15000
Rs. 20000
Rs. 25000
13.
13. A and B set out to meet each other from two places 165 km apart. A travels 15 km the first day, 14 km the second, 13 km the third and so on. B travels 10 km the first day, 12 km the second, 14 km the third and so on. When will they meet?
5th day
6th day
7th day
8th day
14.
14. A park receives an average of 600 visitors on Saturdays and 300 on other days. What is the average number of visitors per day in a month of 30 days starting on a Saturday?
320
330
340
350
15.
15. What will be the least number that, when tripled, will be exactly divisible by 8, 15, 20, and 25?
600
200
800
1200
Frequently Asked QuestionsFAQ
Are the provided sample questions from previous Zoho exams?
No, the provided sample questions are not from previous exams but closely resemble the Zoho exam pattern and are designed by expert teachers in the field.
How similar are the sample questions to the actual questions in the Zoho?
The sample questions are very similar to the actual questions in the Zoho as they are designed by experienced teachers in the industry.
How regularly are Zoho sample question papers updated to align with the current exam pattern?
The Zoho sample question papers are frequently updated to align with the current exam pattern.
What is the difficulty level of the Zoho exam?
The difficulty level of the Zoho can range from moderate to challenging.
Is switching allowed between questions in a particular section?
Yes, candidates can switch between questions within a particular section during the Zoho.
Is there a negative marking in the Zoho exam?
There is no negative marking in the Zoho exam.
What will be the mode of the Zoho exam?
The Zoho is conducted online, allowing candidates to take the test from designated centers.