BBB Previous Years Solved Sample Placement Papers
- If the radius of a circle is increased by 20% then the area is increased by:
(A) 44%
(B) 120%
(C) 144%
(D) 40%
(E) None of the above
(Ans: A) - If the area of two circles is in the ratio 169:196, then the ratio of their radii is:
(A) 10:11
(B) 11:12
(C) 12:13
(D) 13:14
(E) None of the above
(Ans: D) - A perfect cube is an integer whose cube root is an integer. For example, 27, 64, and 125 are perfect cubes. If p and q are perfect cubes, which of the following will not necessarily be a perfect cube?
(A) 8p
(B) pq
(C) pq + 27
(D) -p
(E) (p - q)6
(Ans: C) - Helpers are needed to prepare for the fete. Each helper can make either 2 large cakes or 35 small cakes per hour. The kitchen is available for 3 hours, and 20 large cakes and 700 small cakes are needed. How many helpers are required?
(A) 10
(B) 15
(C) 20
(D) 25
(E) 30
(Ans: A) - If f(x) = (x + 2) / (x - 2) for all integers except x=2, which of the following has the greatest value?
(A) f(-1)
(B) f(0)
(C) f(1)
(D) f(3)
(E) f(4)
(Ans: D) - What is the output of the following program?
```c void main() { char *mess[] = {"Have", "a", "nice", "day", "Bye"}; printf("%d \t %d", sizeof(mess), sizeof(mess[1])); } ```(a) 16 4
(b) 5 4
(c) 20 4
(d) Error
(Ans: C) - What is the output of the following program?
```c void main() { int i, count = 0; char *p1 = "abcdefghij"; char *p2 = "alcmenfoip"; for (i = 0; i <= strlen(p1); i++) { if (*p1++ == *p2++) count += 5; else count -= 3; } printf("count=%d\n", count); } ```(a) 15
(b) 6
(c) 12
(d) Compiler error
(Ans: B) - What does `main` return on successful execution?
(a) 1
(b) 0
(c) -1
(d) Nonzero
(Ans: B) - How do you declare a pointer to an array of pointers to int?
(a) int *a[5];
(b) int **a[5];
(c) int *(*a)[5];
(d) You cannot declare
(Ans: C)