Upload
abhi-mediratta
View
217
Download
0
Embed Size (px)
Citation preview
8/4/2019 Google Sample Paper
http://slidepdf.com/reader/full/google-sample-paper 1/11
GOOGLE India Placement Exam test paper on 25th November at Hyderabad –
THESE PAPERS HAS BEEN PICKED UP FROM FRESHERSWORLD.COM only
for referall.
Total time given is 40 minutes.Module 1:English (duration 5 minutes)
It consists of a single passage followed by 5 questions.
Module 2:General aptitude (duration 10 minutes)
There are 6 questions on simple logic.
For example: Z was invited by his brother A to attend his daughter B’s birthday partywho was busy dancing with her brother C.
What is Z to C?
a)Uncle
b)Nephewc)Cousin
d)No relation at all
Answer: a, Uncle.Similar questions were asked like relations, cost, etc.
Module 3: Technical questions (duration 15 minutes)
It consists of 15 technical questions where some are web based, html, protocols etc.
Computer networks subject questions are asked in google placement test. Its a subject in b.tech electronics branch ece, computer science cse, it, etc.
Module 4: Test on Analysis (duration 10 minutes)
Its a section where we are given some sites and we have to rate the sites. We also haveto provide an explanation. Its totally online. These are manual site rating type questions.
Such manual reviews are done by google for its manual site review and rating teams or
so called armies. You should have good knowledge of the internet sites, good assessmentskills and fast typing skills for clearing this section and having a good score to clear this
section.
Google Placement Paper and Sample Paper
1. Solve this cryptic equation, realizing of course that values for M and E could beinterchanged. No leading zeros are allowed.
WWWDOT - GOOGLE = DOTCOM
This can be solved through systematic application of logic. For example, cannot be equal to 0,since . That would make , but , which is not possible.
Here is a slow brute-force method of solution that takes a few minutes on a relatively fastmachine:
This gives the two solutions
777589 - 188106 == 589483777589 - 188103 == 589486
8/4/2019 Google Sample Paper
http://slidepdf.com/reader/full/google-sample-paper 2/11
Here is another solution using Mathematica's Reduce command:
A faster (but slightly more obscure) piece of code is the following:
Faster still using the same approach (and requiring ~300 MB of memory):
Even faster using the same approach (that does not exclude leading zeros in the solution, butthat can easily be weeded out at the end):
Here is an independent solution method that uses branch-and-prune techniques:
And the winner for overall fastest:
2. Write a haiku describing possible methods for predicting search traffic seasonality.
MathWorld's search engineseemed slowed this May. Undergradsprepping for finals.
3. 11 12 11 2 1 11 1 1 2 2 1What's the next line?
312211. This is the "look and say" sequence in which each term after the first describes theprevious term: one 1 (11); two 1s (21); one 2 and one 1 (1211); one 1, one 2, and two 1's(111221); and so on. See the look and say sequence entry on MathWorld for a completewrite-up and the algebraic form of a fascinating related quantity known as Conway's constant.
4. You are in a maze of twisty little passages, all alike. There is a dusty laptop here with aweak wireless connection. There are dull, lifeless gnomes strolling around. What dost thou do?
A) Wander aimlessly, bumping into obstacles until you are eaten by a grue.B) Use the laptop as a digging device to tunnel to the next level.C) Play MPoRPG until the battery dies along with your hopes.D) Use the computer to map the nodes of the maze and discover an exit path.E) Email your resume to Google, tell the lead gnome you quit and find yourself in wholedifferent world [sic].
In general, make a state diagram . However, this method would not work in certainpathological cases such as, say, a fractal maze. For an example of this and commentary, seeEd Pegg's column about state diagrams and mazes .
5. What's broken with Unix?
Their reproductive capabilities.
How would you fix it?
[This exercise is left to the reader.]
6. On your first day at Google, you discover that your cubicle mate wrote the textbook youused as a primary resource in your first year of graduate school. Do you:
A) Fawn obsequiously and ask if you can have an autograph.B) Sit perfectly still and use only soft keystrokes to avoid disturbing her concentration
C) Leave her daily offerings of granola and English toffee from the food bins.D) Quote your favorite formula from the textbook and explain how it's now your mantra.E) Show her how example 17b could have been solved with 34 fewer lines of code.
[This exercise is left to the reader.]
7. Which of the following expresses Google's over-arching philosophy?
A) "I'm feeling lucky"B) "Don't be evil"C) "Oh, I already fixed that"D) "You should never be more than 50 feet from food"
8/4/2019 Google Sample Paper
http://slidepdf.com/reader/full/google-sample-paper 3/11
E) All of the above
[This exercise is left to the reader.]
8. How many different ways can you color an icosahedron with one of three colors on eachface?
For an asymmetric 20-sided solid, there are possible 3-colorings . For a symmetric 20-sided
object, the Polya enumeration theorem can be used to obtain the number of distinct colorings.Here is a concise Mathematica implementation:
What colors would you choose?
[This exercise is left to the reader.]
9. This space left intentionally blank. Please fill it with something that improves uponemptiness.
For nearly 10,000 images of mathematical functions, see The Wolfram Functions Sitevisualization gallery .
10. On an infinite, two-dimensional, rectangular lattice of 1-ohm resistors, what is theresistance between two nodes that are a knight's move away?
This problem is discussed in J. Cserti's 1999 arXiv preprint . It is also discussed in The
Mathematica GuideBook for Symbolics, the forthcoming fourth volume in Michael Trott'sGuideBook series, the first two of which were published just last week by Springer-Verlag. Thecontents for all four GuideBooks, including the two not yet published, are available on the DVDdistributed with the first two GuideBooks.
11. It's 2PM on a sunny Sunday afternoon in the Bay Area. You're minutes from the PacificOcean, redwood forest hiking trails and world class cultural attractions. What do you do?
[This exercise is left to the reader.]
12. In your opinion, what is the most beautiful math equation ever derived?
There are obviously many candidates. The following list gives ten of the authors' favorites:
1. Archimedes' recurrence formula : , , ,2. Euler formula :3. Euler-Mascheroni constant :
4. Riemann hypothesis: and implies5. Gaussian integral :6. Ramanujan's prime product formula:7. Zeta-regularized product :8. Mandelbrot set recursion:9. BBP formula :10. Cauchy integral formula:
An excellent paper discussing the most beautiful equations in physics is Daniel Z. Freedman's "Some beautiful equations of mathematical physics ." Note that the physics view on beauty inequations is less uniform than the mathematical one. To quote the not-necessarily-standardview of theoretical physicist P.A.M. Dirac, "It is more important to have beauty in one'sequations than to have them fit experiment."
13. Which of the following is NOT an actual interest group formed by Google employees?
A. Women's basketballB. Buffy fansC. CricketeersD. Nobel winnersE. Wine club
[This exercise is left to the reader.]
14. What will be the next great improvement in search technology?
Semantic searching of mathematical formulas. See http://functions.wolfram.com/About/
8/4/2019 Google Sample Paper
http://slidepdf.com/reader/full/google-sample-paper 4/11
ourvision.html for work currently underway at Wolfram Research that will be made available inthe near future.
15. What is the optimal size of a project team, above which additional members do notcontribute productivity equivalent to the percentage increase in the staff size?
A) 1B) 3C) 5D) 11E) 24
[This exercise is left to the reader.]
16. Given a triangle ABC, how would you use only a compass and straight edge to find apoint P such that triangles ABP, ACP and BCP have equal perimeters? (Assume that ABC isconstructed so that a solution does exist.)This is the isoperimetric point , which is at the center of the larger Soddy circle. It is relatedto Apollonius' problem . The three tangent circles are easy to construct: The circle aroundhas diameter , which gives the other two circles. A summary of compass and straightedgeconstructions for the outer Soddy circle can be found in " Apollonius' Problem: A Study of Solutions and Their Connections" by David Gisch and Jason M. Ribando.
17. Consider a function which, for a given whole number n, returns the number of onesrequired when writing out all numbers between 0 and n. For example, f(13)=6. Notice thatf(1)=1. What is the next largest n such that f(n)=n?
The following Mathematica code computes the difference between [the cumulative number of 1s in the positive integers up to n] and [the value of n itself] as n ranges from 1 to 500,000:
The solution to the problem is then the first position greater than the first at which data equals0:
which are the first few terms of sequence A014778 in the On-Line Encyclopedia of IntegerSequences.
Checking by hand confirms that the numbers from 1 to 199981 contain a total of 199981 1s:
18. What is the coolest hack you've ever written?
While there is no "correct" answer, a nice hack for solving the first problem in the SIAMhundred-dollar, hundred-digit challenge can be achieved by converting the limit into thestrongly divergent series:
and then using Mathematica's numerical function SequenceLimit to trivially get the correctanswer (to six digits),
You must tweak parameters a bit or write your own sequence limit to get all 10 digits.
[Other hacks are left to the reader.]
19. 'Tis known in refined company, that choosing K things out of N can be done in ways asmany as choosing N minus K from N: I pick K, you the remaining.
This simply states the binomial coefficient identity .
Find though a cooler bijection, where you show a knack uncanny, of making your choicescontain all K of mine. Oh, for pedantry: let K be no more than half N.
'Tis more problematic to disentangle semantic meaning precise from the this paragraph of verbiage peculiar.
20. What number comes next in the sequence: 10, 9, 60, 90, 70, 66, ?
A) 96B) 1000000000000000000000000000000000\ 0000000000000000000000000000000000\ 000000000000000000000000000000000C) Either of the above
8/4/2019 Google Sample Paper
http://slidepdf.com/reader/full/google-sample-paper 5/11
D) None of the above
This can be looked up and found to be sequence A052196 in the On-Line Encyclopedia of Integer Sequences, which gives the largest positive integer whose English name has n letters.For example, the first few terms are ten, nine, sixty, ninety, seventy, sixty-six, ninety-six,…. A more correct sequence might be ten, nine, sixty, googol, seventy, sixty-six, ninety-six,googolplex. And also note, incidentally, that the correct spelling of the mathematical term "
googol" differs from the name of the company that made up this aptitude test.
The first few can be computed using the NumberName function in Eric Weisstein's MathWorldpackages:
A mathematical solution could also be found by fitting a Lagrange interpolating polynomial tothe six known terms and extrapolating:
21. In 29 words or fewer, describe what you would strive to accomplish if you worked atGoogle Labs.
[This exercise is left to the reader.]
2011 google placement paper:
1. Write a haiku describing possible methods for predicting search traffic seasonality.
MathWorld's search engine
seemed slowed this May. Undergradsprepping for finals.
2.
1
1 1
2 11 2 1 1
1 1 1 2 2 1What's the next line?
312211. This is the "look and say" sequence in which each term after the first
describes the previous term: one 1 (11); two 1s (21); one 2 and one 1 (1211); one1, one 2, and two 1's (111221); and so on. See the look and say sequence entry on
MathWorld for a complete write-up and the algebraic form of a fascinating related
quantity known as Conway's constant.
3. You are in a maze of twisty little passages, all alike. There is a dusty laptop herewith a weak wireless connection. There are dull, lifeless gnomes strolling around.
What dost thou do?
A) Wander aimlessly, bumping into obstacles until you are eaten by a grue.
B) Use the laptop as a digging device to tunnel to the next level.C) Play MPoRPG until the battery dies along with your hopes.
D) Use the computer to map the nodes of the maze and discover an exit path.E) Email your resume to Google, tell the lead gnome you quit and find yourself in
whole different world [sic].
In general, make a state diagram . However, this method would not work in certainpathological cases such as, say, a fractal maze. For an example of this and
commentary, see Ed Pegg's column about state diagrams and mazes .
8/4/2019 Google Sample Paper
http://slidepdf.com/reader/full/google-sample-paper 6/11
4. What's broken with Unix?
Their reproductive capabilities.
How would you fix it?
5. On your first day at Google, you discover that your cubicle mate wrote thetextbook you used as a primary resource in your first year of graduate school. Do
you:
A) Fawn obsequiously and ask if you can have an autograph.B) Sit perfectly still and use only soft keystrokes to avoid disturbing her concentration
C) Leave her daily offerings of granola and English toffee from the food bins.
D) Quote your favorite formula from the textbook and explain how it's now yourmantra.
E) Show her how example 17b could have been solved with 34 fewer lines of code.
6. Which of the following expresses Google's over-arching philosophy?
A) "I'm feeling lucky"B) "Don't be evil"
C) "Oh, I already fixed that"
D) "You should never be more than 50 feet from food"E) All of the above
7. How many different ways can you color an icosahedron with one of three colors
on each face?
For an asymmetric 20-sided solid, there are possible 3-colorings . For a symmetric20-sided object, the Polya enumeration theorem can be used to obtain the number
of distinct colorings. Here is a concise Mathematica implementation:
What colors would you choose?
8. This space left intentionally blank. Please fill it with something that improves upon
emptiness.
For nearly 10,000 images of mathematical functions, see The Wolfram Functions Site
visualization gallery .
9. On an infinite, two-dimensional, rectangular lattice of 1-ohm resistors, what is theresistance between two nodes that are a knight's move away?
This problem is discussed in J. Cserti's 1999 arXiv preprint . It is also discussed in
The Mathematica GuideBook for Symbolics, the forthcoming fourth volume in Michael
Trott's GuideBook series, the first two of which were published just last week bySpringer-Verlag. The contents for all four GuideBooks, including the two not yet
published, are available on the DVD distributed with the first two GuideBooks.
10. It's 2PM on a sunny Sunday afternoon in the Bay Area. You're minutes from thePacific Ocean, redwood forest hiking trails and world class cultural attractions. What
8/4/2019 Google Sample Paper
http://slidepdf.com/reader/full/google-sample-paper 7/11
do you do?
11. In your opinion, what is the most beautiful math equation ever derived?
There are obviously many candidates. The following list gives ten of the authors'favorites:
1. Archimedes' recurrence formula : , , ,2. Euler formula :
3. Euler-Mascheroni constant :4. Riemann hypothesis: and implies
5. Gaussian integral :6. Ramanujan's prime product formula:
7. Zeta-regularized product :
8. Mandelbrot set recursion:9. BBP formula :
10. Cauchy integral formula:
12. Which of the following is NOT an actual interest group formed by Googleemployees?
A. Women's basketball B. Buffy fans C. Cricketeers D. Nobel winners E. Wine club
13. What will be the next great improvement in search technology?
14. What is the optimal size of a project team, above which additional members do
not contribute productivity equivalent to the percentage increase in the staff size?
A) 1 B) 3 C) 5 D) 11 E) 24
15. Given a triangle ABC, how would you use only a compass and straight edge to
find a point P such that triangles ABP, ACP and BCP have equal perimeters? (Assumethat ABC is constructed so that a solution does exist.)This is the isoperimetric point , which is at the center of the larger Soddy circle. It is
related to Apollonius' problem . The three tangent circles are easy to construct: Thecircle around has diameter , which gives the other two circles. A summary of
compass and straightedge constructions for the outer Soddy circle can be found in "Apollonius' Problem: A Study of Solutions and Their Connections" by David Gisch and
Jason M. Ribando.
16.
{
long l=1024;
int i=1;
while(l>=1)
{ l=l/2;
8/4/2019 Google Sample Paper
http://slidepdf.com/reader/full/google-sample-paper 8/11
i=i+1;
}
}
a)8 b)11 c)10 d)100 ans:b
17. This question is based on the complexity ...
Q3) s->AB
A->aB->bbA
Which one is false for above grammar.
18. Some Tree were given & the question is to fine preorder traversal.
19. One c++ program,to find output of the program..
20. If the mean failure hour is 10,000 and 20 is the mean repair hour. If the printeris used by 100 customer, then find the availability.
1)80% 2)90% 3)98% 4)99.8% 5)100%
21. 5,5,,13,13,21,21
Ans: 29
22. 0,7,26,63,124,
Ans: 215 i.e.n**3-1 rule following
23. 1,3,5,7,
Ans: 9 '1' is not a prime number
24. If a person walks at 4/5th of his usual spee he reaches 40min late. If he walks
athis usual speed how much time does he travels.
Ans:160min or 2hr 40min
25. Two trains A&B start at opposite points 120km at 60kmph. A fly starting along
with train A at 120kmph reaches B then returns back to touch and continue. By thetime two trains meet howmuch distance the fly would have travelled?
Ans : By 1hour both trains meet, so the distance travel by fly in 1hr is 120km.
8/4/2019 Google Sample Paper
http://slidepdf.com/reader/full/google-sample-paper 9/11
26. In a class 80% have passed english,70% passed Hindi 10% didnot passed
either. If 144 students passed both. What is the total strength of the class.
Ans: 240
27. Find the least number when divided by 7 gives the reminder 6, when divided by6 gives reminder 5, when divided by 5 gives reminder 4 and so on....
Ans: 419
28. If a man stands in front of sun what is the first letter of the direction which isleft to him:
Ans: North(N)
29. A square is to circle what is cube to
Ans: sphere
30. Synonymsi) Joy = gay
ii) Inert = Inactive
31. One wordswill begiven find oddman out: Ans:sickle like that
a) sow b) cut c) d) sickel
32. If I bought a cycle before 2days of my birthday and I broke it after 3 days of my
birthday the day I broke is Mar2, 1956? Answer following logical questions?i) When is his birthday?
Ans: April,28 (due to leap year i.e.1956) but do not keep answer blindly we justthink before choosing answer Iam just giving ideaof question
33. What is my father's sons son to my son?
Ans: cousin brother
34. On cutting which solid parabola would be generated
Ans: cone
35. Eulers formula:
Ans: F+V-E=2;
F= faces; V= vertices; E = number of edges
36. Newton Rapson method is to find
Ans:to find the root of f(x) = 0;
8/4/2019 Google Sample Paper
http://slidepdf.com/reader/full/google-sample-paper 10/11
37. How many tangents can be dran within three circles if they donot lie within eachother
Ans : 12 But this answer is not there I kept 8 as answer
38. In language the fortran which is true. A) fortran uses call by value
39. When a program is compiled what it produces
Ans:source code to object code
40. In the following venn diagram shaded region is represented by some questionlike that I can't draw figure here thats why Iam sendinganswer only
Ans: (B-A)' i.e. (B-A) whole dash
41. xy-x+2y = 6 equation is shifted to form equation xy=c what is c?
Ans : 4
42.When x is real what is the least value of (x**2-6*x+5)/(x**2+2*x+1)
Ans:-1/3
43. What is the mistake in the following program segment ?
f(){
int a;void c;
f2(&c,&a);}
44.a=0;b=(a=0)?2:3;
a) What will be the value of b and why ?b) If in first statement a=0 is replaced by a = -1, b= ?
c) If in second statement a=0 is replaced by a = -1, b=?
45.
char *a[2];int const *p;
int *const p;struct new { int a;int b; *var[5] (struct new)}
Describe the statements in the above given construct ?
46.
f(){
int a=2;f1(a++);
}f1(int c)