Company Name Starts with ...
#  A  B  C  D  E   F  G  H  I  J   K  L  M  N  O   P  Q  R  S  T   U  V  W  X  Y  Z

Godrej General Aptitude Interview Questions
Questions Answers Views Company eMail

The three boxes 1,2,3 has values resp. AB,BC,AC Get 2A(B+C) +AC-2C(A-B)in Box 1 using only addition in 3 steps.

5 15078

Box 1 cotain odd value X or Y the box 2 =X i.e 7 or 12 box 3= Y has value 19 if X is 7 or 31 if x is 12 get even value X or Y . Use any operator, steps allowed are 3.

5367

Three boxes 1,2,3 contain values 3,17,34. Get 40 in box 1 in 3 steps.

10 17740

Two trains at speed 60 km/hr comes in the opposite direction. At a particular time the distance between the two trains is 18km. A shuttle flies between the trains at the speed of 80 km/hr. At the time the two trains crashes what is the distance traveled by shuttle?

8 26657

i want the question paer of godrej boyance company in chennai who are onducting technical test for mechanical engg graduates

1940

hi dis s krishna frm hyd.am dng rtech 3rd yr in IT branch. so am interested in group 1 exams,is this right time to start preparation.plz answer to Q!

2156

Find the missing number : 0, 6, 29, 63,124?

3 21983

. For 1 month, 500 elementary students kept a daily record of the no. of hours of watching television. The average no. of hours per week spent watching television was 28hours. Researchers conducting the study also obtained report cards for each of the students. It was found that the students, who did well in school spent less time watching television and those who spent more time, did poorly. Listed below several possible statements concerning the research. Place a check on the statement that is definitely not true.

2 9518

0, 7, 26, 63, 124, __

4 12770

box1-2 box2-12 box3-350 using multiplication and division only bring 74 in box 3 in 3steps

1 6006

box 1 cotain odd value X or Y the box 2 =X i.e 7 or 12 box 3= Y has value 19 if X is 7 or 31 if x is 12 get even value X or Y Use any operator steps allowed 3

4349

In a lock of 4 rings there r five characters how many unsuccessful attempts can be made ?

749

X2 – (A-3)X +(A+3) = 0 for what value of A the sum of square of roots will be least ?

780

a solution is prepared by mixing two solution with sprit 20% & 60%…In what ration they should be mixed to get the 50% sprit in resultant solution .

697

‘a‘ number of persons work daily ‘b’ hours to produce ‘c’ items. If ‘d’ persons walks away from the group what will be the number of hours to produce ‘c’ items. ?

745

Post New Godrej General Aptitude Interview Questions




Un-Answered Questions

How does mongodb replica set work?

1


Whats difference betweeen operational data stage (ods) and data warehouse?

667


Programming in C JayLQue@hotmail.com 1. Which of the types listed below can be the type of the result value returned by a user-defined function? A) int B) double C) char D) all of the above E) none of the above 2. What is the output from this program? #include void do_something(int *thisp, int that) { int the_other; the_other = 5; that = 2 + the_other; *thisp = the_other * that; } int main(void) { int first, second; first = 1; second = 2; do_something(&second, first); printf("%4d%4d\n", first, second); return 0; } A) 35 2 B) 1 35 C) 35 7 D) 1 2 E) 0 3. In function apart defined below, how many of the parameters are considered input parameters? void apart(double x, int *wholep, double *fracp) { *wholep = (int)x; *fracp = x - *wholep; } A) 0 B) 1 C) 2 D) 3 E) all 4. Variables that represent neither problem inputs nor problem outputs but are needed for internal computations are called _____. A) problem constants B) prototypes C) results D) formula variables E) program variables 5. This question concerns the following program fragment: char r, x, y, z, w; scanf("%c%c%c%c", &x, &y, &z, &w); if (x < y) r=x; else r=y; if (r>z) r=z; if (r>w) r=w; printf("%c\n", r); The program's effect can best be described as: A) It displays the letter 'r' after comparing it to x, y, and z. B) Of the four input characters, it displays the one that comes first in the alphabet. C) Of the four input characters, it displays the one that comes last in the alphabet. D) Of the four input characters, it displays the one that comes second in the alphabet. E) It displays nothing since characters cannot be compared. 6. In a function that receives a value from the main function via a parameter and then displays the parameter value on the screen, that parameter is considered __________. A) an input parameter B) an output parameter C) an input/output parameter D) a local variable E) a stub 7. What is the complement of the following expression? n||a <= b && c != 100 A) !n || a > b || c == 100 B) !(n && (a > b || c == 100)) C) !n && (a > b || c == 100) D) !(n || (a > b || c == 100)) E) none of the above 8. The if statement: if (13 < 12) printf("never\n"); else printf("always\n"); A) displays never. B) displays always. C) will not compile since 13 is not less than 12. D) causes a run-time error since 13 is not less than 12. E) displays nothing since 13 is not less that 12. 9. How many lines of output will be displayed by the following program fragment? i=0; do { for (j = 0; j < 4; j = j + 1) printf("%d\n", i + j); i=i + 1; } while (i < 5); A) 0 B) 7 C) 9 D) 16 E) 20 10. For what exact range of values of variable x does the following code segment display the letter 'C'? if (x <= 200) if (x < 100) if (x <= 0) printf("A\n"); else printf("B\n"); else printf("C\n"); else printf("D\n"); A) 0 < x < 100 B) x <= 0 C) 100 <= x <= 200 D) x > 200 E) 100 < x <= 200 11. The effect of the following program segment can best be described as __________. if (x > y) z = x; if (x == y) z=0; if (x < y) z = y; A) the smaller of x and y is stored in z. B) the larger of x and y is stored in z. C) the larger of x and y is stored in z unless x and y are equal, in which case z is assigned zero. D) the larger of x and y is stored in z unless x and y are not equal, in which case z is assigned zero. E) none of the above. 12. The expression: x *= i + j / y; is equivalent to ______. A) x = x * i + j / y; B) x = (x * i) + j / y; C) x = (x * i + j) / y; D) x = x * (i + j / y); E) none of the above 13. The facts that a function assumes to be true of the arguments that it receives are called __________. A) function input validations B) local variables C) postconditions D) preconditions E) none of the above 14. How many times is the loop body of the while statement executed? Refer to the following program segment. Assume that all variables are of type int. z=0; g=0; s=0; i=0; while (i < 50) { scanf("%d", &t); s=s + t; if (t >= 0) g=g + 1; else z=z + 1; i=i + 1; } A) once B) never C) 49 times D) 50 times E) until a number 50 or larger is entered 15. A special value that marks the end of a list of input data is called a __________. A) terminal value B) sentinel value C) loop control value D) input value E) loop termination value 16. Here is the prototype of a function: void five (double x, double* yp, int* zp); Given these variable declarations, which calls to five are valid? int m, n double p, q A) five(m, &p, &n); B) q = five(6.2, &p, &m); C) five(p, &q, &m); D) five(7.1, &p, &q); E) a and c only F) a, b, c, and d 17. The ______ of a function take(s) information into the function from the calling statement. A) local variables B) input arguments C) output arguments D) prototype E) purpose 18. If the input to the program segment below is 85, what is its output? scanf("%d", &s); if (s >= 90) printf ("A\n"); else if (s >= 70) printf ("C\n"); else if (s >= 80) printf ("B\n"); else printf ("D\n"); A) A B) B C) C D) D E) None of the above 19. The value stored in variable s at the end of the execution of the loop could best be described as __________. Refer to the following program segment. Assume that all variables are of type int. z=0; g=0; s=0; i=0; while (i < 50) { scanf("%d", &t); s=s + t; if (t >= 0) g=g + 1; else z=z + 1; i=i + 1; } A) the average of the numbers scanned B) the sum of the numbers scanned C) the largest of the numbers scanned D) how many numbers were scanned E) the sentinel value 20. What is displayed by the C statements that follow if the value input is 2? scanf ("%d", &ctl); switch (ctl) { case 0: case 1: printf("red "); case 2: printf("blue "); case 3: printf("green "); case 4: printf("yellow"); } printf("\n"); A) red B) blue C) green D) yellow E) blue green yellow 21. What is displayed by the C statements below if the value input is 3? scanf ("%d", &n); if (n = 5) printf("Equal\n"); else if (n < 5) printf("Less\n"); else printf("Greater\n"); A) Equal B) Less C) Greater D) No output 22. What will be the value of i after the C statements below have been executed? i=3; j=10; if ((3 * i) < j) i=i + 2; i=i+3; A) 5 B) 6 C) 8 D) 10 E) 15 23. Which of the types listed below can be the type of a function output parameter? A) int* B) double* C) char* D) all of the above E) none of the above 24. Which one of the following lines names a constant needed in a program that computes the price per square inch of a round pizza? A) scanf("%lf", &radius); B) pi = 3.14159; C) #define PI 3.14159 D) #include E) none of the above 25. Which one of these is not the name of a C library function? A) printf B) sqrt C) void D) scanf E) log

3147


Does program files x86 mean?

534


What is difference between for and foreach loop in c#?

528






What is the difference between pure virtual function and virtual function?

644


Explain the different layers of Cloud Computing?

412


What is an ordered list?

568


WHAT IS THE DIFFERENCE BETWEEN PLC AND embedded systems

1701


What are the key features/concepts of Angular.js?

462


Can you explain what is indexed view? How to create it?

522


What is public key encryption?

1457


What is drupal and how do you use it?

83


What are the problems that are associated with the expansion joints?

642


What is the volatile keyword used for?

495