Placement Papers: Google Paper 2009

Download PDF of This Page (Size: 137K)

Examrace Placement Series prepares you for the toughest placement exams to top companies.

Hello Everyone.

Google has conducted recruitment process in our collage. The criteria was first 30% topper in the class. So around 40 student has attended the test & only 4 could clear the test. Test consist of 15 question based on c, c + +, and data structure. And two c programs. So i am listing some of the question as i remembered.

What is the value of i after execution of the following program.

void main () { long l = 1024; int i = 1; while (l> = 1) { l = l/2; i = i + 1; } }

This question is based on the complexity …

s → AB

A → a

B → bbA

Which one is false for above grammer.

Some Tree were given & the question is to fine preorder traversal.

One c + + program, to find output of the program.

If the mean faliure hour is 10, 000 and 20 is the mean repair hour. If the printer is used by 100 customer, then find the availability.

One question on probability…

In a singly linked list if there is a pointer S on the first element and pointer L is on the last element. Then which operation will take more time based on the length of the list.

Practice Sets

  1. Adding element at the first.

  2. adding element at the end of the list.

  3. To exchange the fisrt 2 element.

  4. Deleting the element from the end of the list.

  5. Write a fucntion to multiply 2 N * N matrix Write test cases for ur code.

  6. S contains the set of positive integer. Find the largest number c such that c = a + b where a, b, c are distict number of the set.