Baan Previous Years Solved Sample Placement Papers
-
Find the approximate value of \(39.987 / 0.8102 + 1.987 \times 18.02\):
(a) 72
(b) 56
(c) 86 (Ans)
(d) 44
-
Ashish was given Rs. 158 in denominations of Rs. 1 each. He distributes these in different bags, such that any sum of money of denomination between 1 and 158 can be given. What is the minimum number of such bags required?
(a) 10
(b) 17
(c) 15
(d) None (Solution is 8)
-
If a certain sum of money at simple interest doubles itself in 5 years, then what is the rate?
(a) 5%
(b) 10%
(c) 25%
(d) 20% (Ans)
-
A man engaged a servant on a condition that he?l pay Rs. 90 and also give him a bag at the end of the year. He served for 9 months and was given a turban and Rs. 65. What is the price of the turban?
(a) Rs. 10 (Ans)
(b) Rs. 19
(c) Rs. 0
(d) Rs. 55
-
In a race from point X to point Y and back, Jack averages 30 miles/hour to point Y and 10 miles/hour back to point X. Sandy averages 20 miles/hour in both directions. If Jack and Sandy start the race at the same time, who?l finish first?
(a) Jack
(b) Sandy
(c) They tie (Ans)
(d) Impossible to tell
-
Identify which of the following are declarations
(a) extern int x;
(b) float square (float x) {...}
(c) double pow(double, double);
(d) 1 and 3 (Ans)
-
Which of the following statement obtains the remainder on dividing 5.5 by 1.3?
(a) rem = (5.5 % 1.3)
(b) rem = modf(5.5, 1.3)
(c) rem = fmod(5.5, 1.3) (Ans)
(d) Error: we can't divide
-
What will be the output of the program?
```c
#include
int main() { char c=48; int i, mask=01; for(i=1; i<=5; i++) { printf("%c", c|mask); mask = mask<<1; } return 0; } ``` (a) 12400
(b) 12480 (Ans)
(c) 12500
(d) 12556
-
Point out the error in the following program.
```c
#include
#include int main() { int *a[3]; a = (int*) malloc(sizeof(int)*3); free(a); return 0; } ``` (a) Error: unable to allocate memory
(b) Error: We cannot store address of allocated memory in a (Ans)
(c) Error: unable to free memory
(d) No error